aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_nfc_386.const
Commit message (Collapse)AuthorAgeFilesLines
* sys/linux: add syz_init_net_socket syscallDmitry Vyukov2018-03-051-1/+1
| | | | | | | | | | | 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.
* sys/syz-extract: save unsupported consts to the const filesDmitry Vyukov2018-02-011-0/+1
| | | | | | | | | | | We currently print unsupported consts to console during make extract. But this is not very useful as there are too many output now. This also does not allow to understand what's unsupported in newly checked-in descriptions, or what's unsupported in all current decriptions. Save unsupported consts to the const files instead. This solves all of the above problems.
* sys/linux: duplicate open/accept specializations with openat/accept4Dmitry Vyukov2018-01-091-0/+1
| | | | | | | | open is not present on arm64, only openat. accept is not present on 386, only accept4. Duplicate all open/accept specializations with corresponding openat/accept4 specializations to enable testing on 386/arm64.
* sys: move linux descriptions to sys/linuxDmitry Vyukov2017-09-151-0/+27