aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_llc_arm64.const
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-03-05 12:07:59 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-03-05 12:10:27 +0100
commit42467f5b7bf4eef20f78f796fc6eb10401784d86 (patch)
tree6dd3caddad413b777f407abdcd1969b15cb40a84 /sys/linux/socket_llc_arm64.const
parente91c118db99874bef7e2cd657505aa4bafbbb6fa (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_arm64.const')
-rw-r--r--sys/linux/socket_llc_arm64.const28
1 files changed, 0 insertions, 28 deletions
diff --git a/sys/linux/socket_llc_arm64.const b/sys/linux/socket_llc_arm64.const
index e87d89c02..32fa92f74 100644
--- a/sys/linux/socket_llc_arm64.const
+++ b/sys/linux/socket_llc_arm64.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 = 202
__NR_accept4 = 242
__NR_bind = 200
__NR_connect = 203
@@ -48,5 +22,3 @@ __NR_getsockopt = 209
__NR_recvfrom = 207
__NR_sendto = 206
__NR_setsockopt = 208
-__NR_socket = 198
-__NR_socketpair = 199