summaryrefslogtreecommitdiff
path: root/kernel/bpf/cgroup.c
AgeCommit message (Expand)AuthorFilesLines
2022-08-19bpf, cgroup: Fix kernel BUG in purge_effective_progsPu Lehui1-1/+3
2022-06-29bpf: implement BPF_PROG_QUERY for BPF_LSM_CGROUPStanislav Fomichev1-31/+64
2022-06-29bpf: minimize number of allocated lsm slots per programStanislav Fomichev1-1/+46
2022-06-29bpf: per-cgroup lsm flavorStanislav Fomichev1-11/+125
2022-06-29bpf: convert cgroup_bpf.progs to hlistStanislav Fomichev1-32/+44
2022-06-03bpf: Fix KASAN use-after-free Read in compute_effective_progsTadeusz Struk1-10/+60
2022-04-26bpf: Use bpf_prog_run_array_cg_flags everywhereStanislav Fomichev1-48/+24
2022-04-19bpf: Move rcu lock management out of BPF_PROG_RUN routinesStanislav Fomichev1-17/+107
2022-02-24bpf: Cleanup commentsTom Rix1-4/+4
2022-01-27cgroup/bpf: fast path skb BPF filteringPavel Begunkov1-30/+0
2022-01-19bpf: Add cgroup helpers bpf_{get,set}_retval to get/set syscall return valueYiFei Zhu1-1/+37
2022-01-19bpf: Move getsockopt retval to struct bpf_cg_run_ctxYiFei Zhu1-34/+48
2022-01-19bpf: Make BPF_PROG_RUN_ARRAY return -err instead of allow booleanYiFei Zhu1-26/+15
2021-12-19bpf: Add MEM_RDONLY for helper args that are pointers to rdonly mem.Hao Luo1-1/+1
2021-11-16bpf: Forbid bpf_ktime_get_coarse_ns and bpf_timer_* in tracing progsDmitrii Banshchikov1-0/+2
2021-11-01cgroup: bpf: Move wrapper for __cgroup_bpf_*() to kernel/bpf/cgroup.cHe Fengqing1-9/+45
2021-08-24bpf: Migrate cgroup_bpf to internal cgroup_bpf_attach_type enumDave Marchevsky1-63/+93
2021-08-20bpf: Add support for {set|get} socket options from setsockopt BPFPrankur Gupta1-0/+8
2021-08-18bpf: Remove redundant initialization of variable allowColin Ian King1-1/+1
2021-08-17bpf: Refactor BPF_PROG_RUN_ARRAY family of macros into functionsAndrii Nakryiko1-16/+16
2021-08-17bpf: Refactor BPF_PROG_RUN into a functionAndrii Nakryiko1-8/+8
2021-08-14bpf: Allow bpf_get_netns_cookie in BPF_PROG_TYPE_CGROUP_SOCKOPTStanislav Fomichev1-0/+18
2021-02-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-17/+103
2021-01-28bpf: Allow rewriting to ports under ip_unprivileged_port_startStanislav Fomichev1-2/+6
2021-01-23bpf, cgroup: Fix problematic bounds checkLoris Reiff1-1/+1
2021-01-23bpf, cgroup: Fix optlen WARN_ON_ONCE toctouLoris Reiff1-0/+5
2021-01-21bpf: Split cgroup_bpf_enabled per attach typeStanislav Fomichev1-8/+6
2021-01-21bpf: Try to avoid kzalloc in cgroup/{s,g}etsockoptStanislav Fomichev1-7/+45
2021-01-21bpf: Remove extra lock_sock for TCP_ZEROCOPY_RECEIVEStanislav Fomichev1-0/+46
2021-01-12bpf: Don't leak memory in bpf getsockopt when optlen == 0Stanislav Fomichev1-2/+3
2020-10-22Merge branch 'work.set_fs' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-1/+1
2020-09-09sysctl: Convert to iter interfacesMatthew Wilcox (Oracle)1-1/+1
2020-08-24treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-08-02bpf: Add support for forced LINK_DETACH commandAndrii Nakryiko1-1/+14
2020-07-26bpf: Make cgroup storages shared between programs on the same cgroupYiFei Zhu1-28/+39
2020-06-17bpf: Don't return EINVAL from {get,set}sockopt when optlen > PAGE_SIZEStanislav Fomichev1-20/+33
2020-06-09bpf: cgroup: Allow multi-attach program to replace itselfLorenz Bauer1-1/+1
2020-06-02bpf, cgroup: Return ENOLINK for auto-detached links on updateJakub Sitnicki1-1/+1
2020-04-29bpf: Add support for BPF_OBJ_GET_INFO_BY_FD for bpf_linkAndrii Nakryiko1-2/+41
2020-04-29bpf: Allocate ID for bpf_linkAndrii Nakryiko1-8/+6
2020-04-29bpf: Refactor bpf_link update handlingAndrii Nakryiko1-2/+28
2020-04-28Merge branch 'work.sysctl' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/...Daniel Borkmann1-23/+12
2020-04-27bpf, cgroup: Remove unused exportsChristoph Hellwig1-4/+0
2020-04-27sysctl: pass kernel pointers to ->proc_handlerChristoph Hellwig1-23/+12
2020-04-26bpf: Enable more helpers for BPF_PROG_TYPE_CGROUP_{DEVICE,SYSCTL,SOCKOPT}Stanislav Fomichev1-17/+3
2020-03-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-118/+387
2020-03-31bpf: Implement bpf_prog replacement for an active bpf_cgroup_linkAndrii Nakryiko1-0/+80
2020-03-31bpf: Implement bpf_link-based cgroup BPF program attachmentAndrii Nakryiko1-76/+239
2020-03-27bpf: Factor out cgroup storages operationsAndrii Nakryiko1-46/+72
2020-03-10bpf: Fix cgroup ref leak in cgroup_bpf_inherit on out-of-memoryAndrii Nakryiko1-0/+3