aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/bpf_amd64.const
Commit message (Collapse)AuthorAgeFilesLines
* sys/linux: switch to the new .const formatDmitry Vyukov2020-08-131-237/+0
| | | | | | | This reduces number of const files/lines from 1288/96599 to 158/11603. Const files are generated on next-20200813. Update #1983
* sys/linux: add new flags into clone3Jiaheng Hu2020-07-071-1/+1
| | | | | Added the CLONE_INTO_CGROUP and CLONE_CLEAR_SIGHAND flag for the clone3 syscall.
* sys/linux: add riscv_flush_icache syscallDmitry Vyukov2020-07-011-1/+1
| | | | +extract constants on next-20200701
* sys/linux: BPF update for 5.8 merge window part 1Paul Chaignon2020-06-101-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | * sys/linux: update BPF constants Signed-off-by: Paul Chaignon <paul@cilium.io> * sys/linux: Add BPF_ENABLE_STATS bpf(2) command Signed-off-by: Paul Chaignon <paul@cilium.io> * sys/linux: Add BPF_ITER_CREATE bpf(2) command Signed-off-by: Paul Chaignon <paul@cilium.io> * sys/linux: Fix BPF_*_GET_NEXT_ID bpf(2) commands These commands are used to retrieve a new ID for various BPF objects. With the current command descriptions, however, the output 'next ID' is treated as an input field. Fix: c2dcd70 ("sys/linux: update BPF's anonymous structures") Signed-off-by: Paul Chaignon <paul@cilium.io> * sys/linux: Add LINK_GET_* bpf(2) commands Signed-off-by: Paul Chaignon <paul@cilium.io>
* sys/linux: add MREMAP_DONTUNMAP flagMatt Morehouse2020-06-061-1/+1
| | | | Update https://github.com/google/syzkaller/issues/533.
* sys/linux: generate consts on next-20200519Dmitry Vyukov2020-05-201-1/+1
|
* sys/linux: extract consts on next-20200511Dmitry Vyukov2020-05-111-1/+1
|
* sys/linux: mark some ioctls as disabledDmitry Vyukov2020-05-041-1/+1
| | | | | | | Mark ioctls we disable in init.go as disabled. Update #477 Update #502
* sys/linux: add link_create and link_update commandsPaul Chaignon2020-04-121-0/+2
| | | | Signed-off-by: Paul Chaignon <paul@cilium.io>
* bpf: update BPF constantsPaul Chaignon2020-04-121-1/+4
| | | | Signed-off-by: Paul Chaignon <paul@cilium.io>
* sys/linux: add map batch operationsPaul Chaignon2020-02-161-0/+4
| | | | Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
* sys/linux: update BPF constants and structuresPaul Chaignon2020-02-161-0/+4
| | | | Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
* sys/linux: extend DRM ioctl descriptionsDmitry Vyukov2020-01-251-1/+1
| | | | | | + disable binderfs (see comments) + add few more missing tty ioctls + improve few minor things in hci descriptions
* sys/linux: fix sigset_t/sigaction layout on armDmitry Vyukov2020-01-181-1/+1
| | | | Update #590
* sys/linux: add NFNL_SUBSYS_OSF descriptionsDmitry Vyukov2020-01-131-1/+1
|
* sys/linux: update BPF constantsPaul Chaignon2019-11-291-0/+6
| | | | Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
* sys/linux: update to current linux-nextDmitry Vyukov2019-11-251-1/+1
| | | | | | | | Regenerate consts on linux-next next-20191125. DEVLINK_ATTR_NETNS_* consts were chifted by 1. __BPF_FUNC_MAX_ID increased as usual. CRYPTO_ALG_TYPE_BLKCIPHER, CRYPTO_ALG_TYPE_ABLKCIPHER were removed, replace them with CRYPTO_ALG_TYPE_SKCIPHER.
* sys/linux/socket_netlink_route_sched: add chain actionsHangbin Liu2019-10-241-1/+1
| | | | | | | | Update #533 Chain actions also use filter policies, so we can add them easily. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux: update BPF constantsPaul Chaignon2019-09-191-0/+3
| | | | Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
* sys/linux: re-generate Linux descriptions from next-20190918Eric Biggers2019-09-191-1/+1
|
* sys/linux: basic support for bpf-to-bpf function callsPaul Chaignon2019-09-171-0/+1
| | | | | | | | | The BPF template currently only defines helper calls. BPF function calls (bpf-to-bpf calls) are however supported in Linux since v4.16. This patch defines bpf-to-bpf calls in the template. Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
* sys/linux: support for loopkup-free map value accessesPaul Chaignon2019-09-171-0/+1
| | | | | | | | | | | | A new BPF instruction that allows lookup-free map value accesses was added in Linux v5.2, with commit d8eca5b ("bpf: implement lookup-free direct value access for maps"). It enables direct access to map values without having to call a BPF helper. It is currently used to implement global variable support. This commit adds support for that new instruction. Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
* sys/linux: update BPF constantsPaul Chaignon2019-07-161-0/+4
| | | | Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
* sys/linux: update for v5.3 againEric Biggers2019-07-161-1/+1
| | | | | | | | | | | | | | | | | | Update descriptions to be compatible with latest linux-next (next-20190715), which in theory will match v5.3-rc1 when the merge window closes. - KEYCTL_GRANT_PERMISSION was reverted. So remove its description. - CRYPTO_ALG_TYPE_DIGEST was removed. So remove its description. - IB_QP_CREATE_SIGNATURE_EN was renamed to IB_QP_CREATE_INTEGRITY_EN. Also remove the sys/linux/rdma_*.const files which were incorrectly checked into git. The real copies of those files are in sys/linux/dev_infiniband_rdma_*.const. For now I did *not* check for other new APIs that need to be described.
* sys/linux: update BPF constantsPaul Chaignon2019-06-231-0/+2
| | | | Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
* sys/linux: add missing BPF constantsPaul Chaignon2019-05-291-0/+2
| | | | Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
* sys/linux: improve btf descriptionsDmitry Vyukov2019-05-141-0/+18
| | | | | | | | Now that we have the len path expressions we can fix the TODO in btf descriptions to properly specify offsets of btf sections. Also add proper descriptions for btf type section and few other minor things around.
* sys/linux: add few new bpf constsDmitry Vyukov2019-05-101-0/+12
|
* sys/linux: update descriptions of sendmsg/sendmmsgKaipeng Zeng2019-05-101-1/+1
| | | | Fix the descriptions of cmsghdr. Add sendmsg$sock and sendmmsg$sock for __sock_cmsg_send.
* sys/linux: add simple io_uring descriptionsDmitry Vyukov2019-04-121-1/+1
| | | | | We don't actually communicate with the uring yet, but this already finds a bunch of bugs.
* modifyhoujingyi2019-03-291-0/+2
|
* sys/linux: regenerate and fix const filesDmitry Vyukov2019-03-141-1/+1
| | | | | | | | 1. Move fsverity descriptions to a separate file which is not regenerated automatically. It was dropped from linux-next. 2. Fix tlk_device.txt name in syz-extract. 3. Update some socket consts e.g. s/SO_TIMESTAMPING/SO_TIMESTAMPING_OLD/. 4. Regenerate const files on current upstream head.
* sys/linux: misc assorted improvementsDmitry Vyukov2018-12-291-0/+12
| | | | | | Add new bpf consts/commands. Refine bluetooth descriptions. Remove removed crypto consts.
* sys/linux: add RTM_NEWNSID/RTM_GETNSIDDmitry Vyukov2018-12-221-1/+1
|
* removing trace2syz constantsShankara Pailoor2018-11-241-47/+0
|
* sys/linux: add additional constants for trace2syz to bpfShankara Pailoor2018-10-301-0/+49
| | | | Fixes #783
* sys/linux: fix up descriptionsDmitry Vyukov2018-10-301-1/+1
| | | | | | | 1. Extract consts on the latest linux tree. 2. Don't manually define O_TMPFILE/O_ACCMODE/_LINUX_CAPABILITY_VERSION_N, they are defined in kernel headers. 3. Don't use CLOCK_SGI_CYCLE as clock id, it's not implemented.
* sys/linux: add additional constants for trace2syzshankarapailoor2018-10-301-1/+1
|
* sys/syz-extract: support missing arch headersDmitry Vyukov2018-10-281-1/+1
| | | | | | | | The latest Linux kernel misses some arch-specific headers on some archs: asm/a.out.h asm/prctl.h asm/mce.h Support that.
* sys/linux: add btf descriptionsDmitry Vyukov2018-09-111-0/+5
| | | | | Add some new bpf descriptions, most notably btf. Not perfect, but something.
* sys/linux: treat cuse as fuseDmitry Vyukov2018-08-261-1/+1
| | | | | | It's mostly fuse. Also regenerate consts on latest kernel.
* sys/linux: regenerate consts on tipDmitry Vyukov2018-06-071-1/+1
|
* sys/linux: a bunch of assorted improvementsDmitry Vyukov2018-04-271-0/+12
|
* sys/linux: improve team descriptionsDmitry Vyukov2018-04-061-1/+1
| | | | | | | | | | | | | | | | | | | 1. Create ifindex_team, because TEAM_ATTR_TEAM_IFINDEX must always point to a team device. 2. Remove output only attributes like team_attr_item_port, TEAM_ATTR_LIST_PORT, TEAM_ATTR_OPTION_CHANGED. 3. Restructure team_nl_option_policy: we always want TEAM_ATTR_OPTION_NAME/TYPE/DATA + optionally TEAM_ATTR_OPTION_ARRAY_INDEX and TEAM_ATTR_OPTION_PORT_IFINDEX. 4. Provide specialized team_nl_option_policy_per_port and team_nl_option_policy_array. 5. Make team_attr_option varlen. 6. Remove unnecessary indirection via team_attr_list_option/team_attr_list_port. 7. Fix data type for bpf_hash_func and lb_tx_hash_to_port_mapping.
* sys/syz-extract: save unsupported consts to the const filesDmitry Vyukov2018-02-011-1/+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: more selinux descriptionsDmitry Vyukov2018-01-181-1/+1
|
* sys/linux: regenerate arm consts + small netlink fixedDmitry Vyukov2018-01-111-1/+1
| | | | | | | | Arm was broken on upstream kernel for some time due to some assembler error. Now it seems to be fixed, so regenerate consts. Also fix small issues in new netlink descriptions.
* sys/linux: add AF_NETLINK/NETLINK_CRYPTO descriptionsDmitry Vyukov2018-01-091-1/+1
|
* sys/linux: add ion and ashmem devices supportDmitry Vyukov2018-01-091-1/+1
| | | | | Note: ion supercedes the old android interface, which is moved to sys/android.
* sys/linux: netlink xfrm supportDmitry Vyukov2017-12-311-1/+1
|