4 ms·
Why is it "on Linux?" Isn't it the same interface on other Unix systems (OS X, BSD, illumos)?
by dap 13y ago
Why is it "on Linux?" Isn't it the same interface on other Unix systems (OS X, BSD, illumos)?
- bodyfour 13y agoYeah, any modern UNIX supports the same sendmsg/SCM_RIGHTS pattern. You might need to tweak the includes and supply your own CMSG_*() macros on some though. Some older UNIX variants only supported the BSD4.3-style msg_accrights style fd passing, although those are probably nearly extinct at this point.