mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-27 21:30:33 +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
462 B
Plaintext
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 = 202
|
|
__NR_accept4 = 242
|
|
__NR_bind = 200
|
|
__NR_connect = 203
|
|
__NR_getpeername = 205
|
|
__NR_getsockname = 204
|
|
__NR_getsockopt = 209
|
|
__NR_ioctl = 29
|
|
__NR_recvfrom = 207
|
|
__NR_sendto = 206
|
|
__NR_setsockopt = 208
|
|
__NR_socket = 198
|
|
__NR_socketpair = 199
|