mirror of https://github.com/mkerrisk/man-pages
cmsg.3, unix.7: Refer to seccomp_unotify(2) for an example of SCM_RIGHTS usage
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
730a8d48d1
commit
7a27538327
|
@ -246,6 +246,10 @@ cmsg\->cmsg_len = CMSG_LEN(sizeof(myfds));
|
|||
memcpy(CMSG_DATA(cmsg), myfds, sizeof(myfds));
|
||||
.EE
|
||||
.in
|
||||
.PP
|
||||
For a complete code example that shows passing of file descriptors
|
||||
over a UNIX domain socket, see
|
||||
.BR seccomp_unotify (2).
|
||||
.SH SEE ALSO
|
||||
.BR recvmsg (2),
|
||||
.BR sendmsg (2)
|
||||
|
|
|
@ -1180,10 +1180,12 @@ main(int argc, char *argv[])
|
|||
}
|
||||
.EE
|
||||
.PP
|
||||
For an example of the use of
|
||||
.BR SCM_RIGHTS
|
||||
For examples of the use of
|
||||
.BR SCM_RIGHTS ,
|
||||
see
|
||||
.BR cmsg (3).
|
||||
.BR cmsg (3)
|
||||
and
|
||||
.BR seccomp_unotify (2).
|
||||
.SH SEE ALSO
|
||||
.BR recvmsg (2),
|
||||
.BR sendmsg (2),
|
||||
|
|
Loading…
Reference in New Issue