Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why is it "on Linux?" Isn't it the same interface on other Unix systems (OS X, BSD, illumos)?


Yeah, 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: