mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-30 23:00:29 +00:00
42467f5b7b
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.
25 lines
469 B
Plaintext
25 lines
469 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 is not set
|
|
__NR_accept4 = 364
|
|
__NR_bind = 361
|
|
__NR_connect = 362
|
|
__NR_getpeername = 368
|
|
__NR_getsockname = 367
|
|
__NR_getsockopt = 365
|
|
__NR_ioctl = 54
|
|
__NR_recvfrom = 371
|
|
__NR_sendto = 369
|
|
__NR_setsockopt = 366
|
|
__NR_socket = 359
|
|
__NR_socketpair = 360
|