summaryrefslogtreecommitdiffstats
path: root/kernel/bpf/cgroup.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* bpf: Add MEM_RDONLY for helper args that are pointers to rdonly mem.Hao Luo2021-12-181-1/+1
* bpf: Forbid bpf_ktime_get_coarse_ns and bpf_timer_* in tracing progsDmitrii Banshchikov2021-11-161-0/+2
* cgroup: bpf: Move wrapper for __cgroup_bpf_*() to kernel/bpf/cgroup.cHe Fengqing2021-11-011-9/+45
* bpf: Migrate cgroup_bpf to internal cgroup_bpf_attach_type enumDave Marchevsky2021-08-241-63/+93
* bpf: Add support for {set|get} socket options from setsockopt BPFPrankur Gupta2021-08-201-0/+8
* bpf: Remove redundant initialization of variable allowColin Ian King2021-08-171-1/+1
* bpf: Refactor BPF_PROG_RUN_ARRAY family of macros into functionsAndrii Nakryiko2021-08-171-16/+16
* bpf: Refactor BPF_PROG_RUN into a functionAndrii Nakryiko2021-08-171-8/+8
* bpf: Allow bpf_get_netns_cookie in BPF_PROG_TYPE_CGROUP_SOCKOPTStanislav Fomichev2021-08-141-0/+18
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller2021-02-161-17/+103
|\
| * bpf: Allow rewriting to ports under ip_unprivileged_port_startStanislav Fomichev2021-01-281-2/+6
| * bpf: Split cgroup_bpf_enabled per attach typeStanislav Fomichev2021-01-201-8/+6
| * bpf: Try to avoid kzalloc in cgroup/{s,g}etsockoptStanislav Fomichev2021-01-201-7/+45
| * bpf: Remove extra lock_sock for TCP_ZEROCOPY_RECEIVEStanislav Fomichev2021-01-201-0/+46
* | bpf, cgroup: Fix problematic bounds checkLoris Reiff2021-01-221-1/+1
* | bpf, cgroup: Fix optlen WARN_ON_ONCE toctouLoris Reiff2021-01-221-0/+5
|/
* bpf: Don't leak memory in bpf getsockopt when optlen == 0Stanislav Fomichev2021-01-121-2/+3
* Merge branch 'work.set_fs' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds2020-10-221-1/+1
|\
| * sysctl: Convert to iter interfacesMatthew Wilcox (Oracle)2020-09-091-1/+1
* | treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva2020-08-241-1/+1
|/
* bpf: Add support for forced LINK_DETACH commandAndrii Nakryiko2020-08-021-1/+14
* bpf: Make cgroup storages shared between programs on the same cgroupYiFei Zhu2020-07-261-28/+39
* bpf: Don't return EINVAL from {get,set}sockopt when optlen > PAGE_SIZEStanislav Fomichev2020-06-171-20/+33
* bpf: cgroup: Allow multi-attach program to replace itselfLorenz Bauer2020-06-091-1/+1
* bpf, cgroup: Return ENOLINK for auto-detached links on updateJakub Sitnicki2020-06-021-1/+1
* bpf: Add support for BPF_OBJ_GET_INFO_BY_FD for bpf_linkAndrii Nakryiko2020-04-291-2/+41
* bpf: Allocate ID for bpf_linkAndrii Nakryiko2020-04-291-8/+6
* bpf: Refactor bpf_link update handlingAndrii Nakryiko2020-04-291-2/+28
* Merge branch 'work.sysctl' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/...Daniel Borkmann2020-04-281-23/+12
|\
| * sysctl: pass kernel pointers to ->proc_handlerChristoph Hellwig2020-04-271-23/+12
* | bpf, cgroup: Remove unused exportsChristoph Hellwig2020-04-271-4/+0
* | bpf: Enable more helpers for BPF_PROG_TYPE_CGROUP_{DEVICE,SYSCTL,SOCKOPT}Stanislav Fomichev2020-04-261-17/+3
|/
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller2020-03-311-118/+387
|\
| * bpf: Implement bpf_prog replacement for an active bpf_cgroup_linkAndrii Nakryiko2020-03-311-0/+80
| * bpf: Implement bpf_link-based cgroup BPF program attachmentAndrii Nakryiko2020-03-311-76/+239
| * bpf: Factor out cgroup storages operationsAndrii Nakryiko2020-03-271-46/+72
* | bpf: Fix cgroup ref leak in cgroup_bpf_inherit on out-of-memoryAndrii Nakryiko2020-03-101-0/+3
* | bpf: Initialize storage pointers to NULL to prevent freeing garbage pointerAndrii Nakryiko2020-03-101-2/+2
|/
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller2020-01-091-2/+9
|\
| * bpf: cgroup: prevent out-of-order release of cgroup bpfRoman Gushchin2020-01-061-2/+9
* | Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller2019-12-271-46/+51
|\ \ | |/ |/|
| * bpf: Support replacing cgroup-bpf program in MULTI modeAndrey Ignatov2019-12-201-4/+26
| * bpf: Remove unused new_flags in hierarchy_allows_attach()Andrey Ignatov2019-12-201-3/+2
| * bpf: Simplify __cgroup_bpf_attachAndrey Ignatov2019-12-201-39/+23
* | treewide: Use sizeof_field() macroPankaj Bharadiya2019-12-091-1/+1
|/
* Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds2019-11-271-2/+2
|\
| * bpf/cgroup: Replace rcu_swap_protected() with rcu_replace_pointer()Paul E. McKenney2019-10-301-2/+2
* | bpf: Allow narrow loads of bpf_sysctl fields with offset > 0Ilya Leoshkevich2019-10-301-2/+2
|/
* bpf: fix accessing bpf_sysctl.file_pos on s390Ilya Leoshkevich2019-09-161-2/+8
* bpf: always allocate at least 16 bytes for setsockopt hookStanislav Fomichev2019-08-011-4/+13