syzkaller/sys/linux/socket_ipx_ppc64le.const
Dmitry Vyukov 42467f5b7b sys/linux: add syz_init_net_socket syscall
The new pseudo syscall allows opening sockets that can only
be created in init net namespace (BLUETOOTH, NFC, LLC).
Use it to open these sockets.

Unfortunately this only works with sandbox none at the moment.
The problem is that setns of a network namespace requires CAP_SYS_ADMIN
in the target namespace, and we've lost all privs in the init namespace
during creation of a user namespace.
2018-03-05 12:10:27 +01:00

25 lines
462 B
Plaintext

# AUTOGENERATED FILE
AF_IPX = 4
IPX_TYPE = 1
SIOCAIPXITFCRT = 35296
SIOCAIPXPRISLT = 35297
SIOCGIFADDR = 35093
SIOCIPXCFGDATA = 35298
SIOCIPXNCPCONN = 35299
SIOCSIFADDR = 35094
SOCK_DGRAM = 2
SOL_IPX = 256
__NR_accept = 330
__NR_accept4 = 344
__NR_bind = 327
__NR_connect = 328
__NR_getpeername = 332
__NR_getsockname = 331
__NR_getsockopt = 340
__NR_ioctl = 54
__NR_recvfrom = 337
__NR_sendto = 335
__NR_setsockopt = 339
__NR_socket = 326
__NR_socketpair = 333