From c2aed7c7e3e293282067079aa68bd550b880a242 Mon Sep 17 00:00:00 2001 From: Kaipeng Zeng Date: Fri, 10 May 2019 19:00:44 +0800 Subject: sys/linux: update descriptions of sendmsg/sendmmsg Fix the descriptions of cmsghdr. Add sendmsg$sock and sendmmsg$sock for __sock_cmsg_send. --- sys/linux/socket_unix.txt | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'sys/linux/socket_unix.txt') 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] +} -- cgit mrf-deployment