summaryrefslogtreecommitdiff
path: root/kernel/bpf/cgroup.c
AgeCommit message (Expand)AuthorFilesLines
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
2020-03-10bpf: Initialize storage pointers to NULL to prevent freeing garbage pointerAndrii Nakryiko1-2/+2
2020-01-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+9
2020-01-07bpf: cgroup: prevent out-of-order release of cgroup bpfRoman Gushchin1-2/+9
2019-12-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-46/+51
2019-12-20bpf: Support replacing cgroup-bpf program in MULTI modeAndrey Ignatov1-4/+26
2019-12-20bpf: Remove unused new_flags in hierarchy_allows_attach()Andrey Ignatov1-3/+2
2019-12-20bpf: Simplify __cgroup_bpf_attachAndrey Ignatov1-39/+23
2019-12-09treewide: Use sizeof_field() macroPankaj Bharadiya1-1/+1
2019-11-27Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2019-10-30bpf: Allow narrow loads of bpf_sysctl fields with offset > 0Ilya Leoshkevich1-2/+2
2019-10-30bpf/cgroup: Replace rcu_swap_protected() with rcu_replace_pointer()Paul E. McKenney1-2/+2
2019-09-16bpf: fix accessing bpf_sysctl.file_pos on s390Ilya Leoshkevich1-2/+8
2019-08-01bpf: always allocate at least 16 bytes for setsockopt hookStanislav Fomichev1-4/+13