summaryrefslogtreecommitdiff
path: root/kernel/bpf/cgroup.c
AgeCommit message (Expand)AuthorFilesLines
2023-05-17Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-0/+15
2023-05-14bpf: Don't EFAULT for {g,s}setsockopt with wrong optlenStanislav Fomichev1-0/+15
2023-04-29Merge tag 'cgroup-for-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-19/+19
2023-04-21bpf: Don't EFAULT for getsockopt with optval=NULLStanislav Fomichev1-3/+6
2023-03-18cgroup: bpf: use cgroup_lock()/cgroup_unlock() wrappersKamalesh Babulal1-19/+19
2023-03-04bpf: allow ctx writes using BPF_ST_MEM instructionEduard Zingerman1-19/+30
2023-03-03bpf: Make bpf_get_current_[ancestor_]cgroup_id() available for all program typesTejun Heo1-4/+0
2022-10-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-10/+18
2022-09-21bpf, cgroup: Reject prog_attach_flags array when effective queryPu Lehui1-10/+18
2022-09-07Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextPaolo Abeni1-23/+134
2022-08-24bpf: expose bpf_strtol and bpf_strtoul to all program typesStanislav Fomichev1-4/+0
2022-08-24bpf: Use cgroup_{common,current}_func_proto in more hooksStanislav Fomichev1-2/+38
2022-08-24bpf: Introduce cgroup_{common,current}_func_protoStanislav Fomichev1-19/+98
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