diff options
| author | Kaipeng Zeng <kaipeng94@gmail.com> | 2019-05-10 19:00:44 +0800 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-05-10 13:00:44 +0200 |
| commit | c2aed7c7e3e293282067079aa68bd550b880a242 (patch) | |
| tree | 6c218df661aee739b1e988a09a65fdf79b1225f5 /sys/linux/socket_unix.txt | |
| parent | 8f24b7d63ed022019c9c221a7e9b54ec1c11f533 (diff) | |
sys/linux: update descriptions of sendmsg/sendmmsg
Fix the descriptions of cmsghdr.
Add sendmsg$sock and sendmmsg$sock for __sock_cmsg_send.
Diffstat (limited to 'sys/linux/socket_unix.txt')
| -rw-r--r-- | sys/linux/socket_unix.txt | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/sys/linux/socket_unix.txt b/sys/linux/socket_unix.txt index 70c43db06..639489421 100644 --- a/sys/linux/socket_unix.txt +++ b/sys/linux/socket_unix.txt @@ -58,22 +58,12 @@ msghdr_un { } cmsghdr_un [ - rights cmsghdr_un_rights - cred cmsghdr_un_cred + rights cmsghdr_t[SOL_SOCKET, SCM_RIGHTS, array[fd]] + cred cmsghdr_t[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred] ] [varlen] -cmsghdr_un_rights { - len len[parent, intptr] - level const[SOL_SOCKET, int32] - type const[SCM_RIGHTS, int32] - fds array[fd] -} [align_ptr] - -cmsghdr_un_cred { - len len[parent, intptr] - level const[SOL_SOCKET, int32] - type const[SCM_CREDENTIALS, int32] +cmsg_un_cred { pid pid uid uid gid gid -} [align_ptr] +} |
