syzkaller/sys/linux/socket_unix_arm64.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
402 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 = 202
__NR_accept4 = 242
__NR_bind = 200
__NR_connect = 203
__NR_getpeername = 205
__NR_getsockname = 204
__NR_recvfrom = 207
__NR_sendmmsg = 269
__NR_sendmsg = 211
__NR_sendto = 206
__NR_socket = 198
__NR_socketpair = 199