syzkaller/sys/linux/socket_unix_386.const
Dmitry Vyukov f027f1a3f7 sys/linux: use size attributes on structs
1. Add size attribte on sockaddr.
2. Remove sockaddr's that are larger than 16 bytes from sockaddr.
3. Add size attribute on sockaddr_storage which wasn't actually 128 bytes.
4. Add size attribute to ifreq.
5. Fix ifmap field types as uncovered by the size attributes.
6. Fix sockaddr_storage_tcp from struct to union which is should be.
7. Make sockaddr_un_file fixed size as it should be.
8. Fix some explicit paddings that were only correct for 64 bits.
2018-03-05 12:10:27 +01:00

23 lines
409 B
Plaintext

# AUTOGENERATED FILE
AF_UNIX = 1
AF_UNSPEC = 0
SCM_CREDENTIALS = 2
SCM_RIGHTS = 1
SOCK_DGRAM = 2
SOCK_SEQPACKET = 5
SOCK_STREAM = 1
SOL_SOCKET = 1
UNIX_PATH_MAX = 108
# __NR_accept is not set
__NR_accept4 = 364
__NR_bind = 361
__NR_connect = 362
__NR_getpeername = 368
__NR_getsockname = 367
__NR_recvfrom = 371
__NR_sendmmsg = 345
__NR_sendmsg = 370
__NR_sendto = 369
__NR_socket = 359
__NR_socketpair = 360