summaryrefslogtreecommitdiffstats
path: root/kernel/bpf/cgroup.c
Commit message (Expand)AuthorAgeFilesLines
* bpf: Use bpf_prog_run_array_cg_flags everywhereStanislav Fomichev2022-04-251-48/+24
* bpf: Move rcu lock management out of BPF_PROG_RUN routinesStanislav Fomichev2022-04-191-17/+107
* bpf: Cleanup commentsTom Rix2022-02-231-4/+4
* cgroup/bpf: fast path skb BPF filteringPavel Begunkov2022-01-271-30/+0
* bpf: Add cgroup helpers bpf_{get,set}_retval to get/set syscall return valueYiFei Zhu2022-01-191-1/+37
* bpf: Move getsockopt retval to struct bpf_cg_run_ctxYiFei Zhu2022-01-191-34/+48
* bpf: Make BPF_PROG_RUN_ARRAY return -err instead of allow booleanYiFei Zhu2022-01-191-26/+15
* 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-151-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-231-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-131-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-271-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-081-1/+1
* | treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva2020-08-231-1/+1
|/
* bpf: Add support for forced LINK_DETACH commandAndrii Nakryiko2020-08-011-1/+14
* bpf: Make cgroup storages shared between programs on the same cgroupYiFei Zhu2020-07-251-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-011-1/+1
* bpf: Add support for BPF_OBJ_GET_INFO_BY_FD for bpf_linkAndrii Nakryiko2020-04-281-2/+41
* bpf: Allocate ID for bpf_linkAndrii Nakryiko2020-04-281-8/+6
* bpf: Refactor bpf_link update handlingAndrii Nakryiko2020-04-281-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-301-118/+387
|\
| * bpf: Implement bpf_prog replacement for an active bpf_cgroup_linkAndrii Nakryiko2020-03-301-0/+80
| * bpf: Implement bpf_link-based cgroup BPF program attachmentAndrii Nakryiko2020-03-301-76/+239
| * bpf: Factor out cgroup storages operationsAndrii Nakryiko2020-03-261-46/+72
* | bpf: Fix cgroup ref leak in cgroup_bpf_inherit on out-of-memoryAndrii Nakryiko2020-03-091-0/+3
* | bpf: Initialize storage pointers to NULL to prevent freeing garbage pointerAndrii Nakryiko2020-03-091-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-191-4/+26
| * bpf: Remove unused new_flags in hierarchy_allows_attach()Andrey Ignatov2019-12-191-3/+2