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_nfc_arm64.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_nfc_arm64.const')
| -rw-r--r-- | sys/linux/socket_nfc_arm64.const | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/linux/socket_nfc_arm64.const b/sys/linux/socket_nfc_arm64.const index ddae3ba31..21fdd82f2 100644 --- a/sys/linux/socket_nfc_arm64.const +++ b/sys/linux/socket_nfc_arm64.const @@ -1,5 +1,6 @@ # AUTOGENERATED FILE AF_NFC = 39 +NFC_LLCP_MAX_SERVICE_NAME = 63 NFC_LLCP_MIUX = 1 NFC_LLCP_REMOTE_LTO = 3 NFC_LLCP_REMOTE_MIU = 2 @@ -26,4 +27,3 @@ __NR_getsockopt = 209 __NR_sendmmsg = 269 __NR_sendmsg = 211 __NR_setsockopt = 208 -__NR_socket = 198 |
