diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-03-05 12:07:59 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-03-05 12:10:27 +0100 |
| commit | 42467f5b7bf4eef20f78f796fc6eb10401784d86 (patch) | |
| tree | 6dd3caddad413b777f407abdcd1969b15cb40a84 /sys/linux/socket_llc_ppc64le.const | |
| parent | e91c118db99874bef7e2cd657505aa4bafbbb6fa (diff) | |
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.
Diffstat (limited to 'sys/linux/socket_llc_ppc64le.const')
| -rw-r--r-- | sys/linux/socket_llc_ppc64le.const | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/sys/linux/socket_llc_ppc64le.const b/sys/linux/socket_llc_ppc64le.const index 1c96ab7f1..06c13c9dd 100644 --- a/sys/linux/socket_llc_ppc64le.const +++ b/sys/linux/socket_llc_ppc64le.const @@ -1,30 +1,5 @@ # AUTOGENERATED FILE AF_LLC = 26 -ETH_P_802_2 = 4 -ETH_P_802_3 = 1 -ETH_P_ALL = 3 -ETH_P_ARCNET = 26 -ETH_P_AX25 = 2 -ETH_P_CAIF = 247 -ETH_P_CAN = 12 -ETH_P_CANFD = 13 -ETH_P_CONTROL = 22 -ETH_P_DDCMP = 6 -ETH_P_DSA = 27 -ETH_P_ECONET = 24 -ETH_P_HDLC = 25 -ETH_P_IEEE802154 = 246 -ETH_P_IRDA = 23 -ETH_P_LOCALTALK = 9 -ETH_P_MOBITEX = 21 -ETH_P_PHONET = 245 -ETH_P_PPPTALK = 16 -ETH_P_PPP_MP = 8 -ETH_P_SNAP = 5 -ETH_P_TRAILER = 28 -ETH_P_TR_802_2 = 17 -ETH_P_WAN_PPP = 7 -ETH_P_XDSA = 248 LLC_OPT_ACK_TMR_EXP = 3 LLC_OPT_BUSY_TMR_EXP = 6 LLC_OPT_PKTINFO = 9 @@ -38,7 +13,6 @@ LLC_OPT_TX_WIN = 7 SOCK_DGRAM = 2 SOCK_STREAM = 1 SOL_LLC = 268 -__NR_accept = 330 __NR_accept4 = 344 __NR_bind = 327 __NR_connect = 328 @@ -48,5 +22,3 @@ __NR_getsockopt = 340 __NR_recvfrom = 337 __NR_sendto = 335 __NR_setsockopt = 339 -__NR_socket = 326 -__NR_socketpair = 333 |
