android_kernel_motorola_sm6375/kernel/bpf
Repository files (latest commit first)
Filename Latest commit message Latest commit date
KP Singh c8cf0edb80
UPSTREAM: bpf: Remove unnecessary CAP_MAC_ADMIN check
While well intentioned, checking CAP_MAC_ADMIN for attaching
BPF_MODIFY_RETURN tracing programs to "security_" functions is not
necessary as tracing BPF programs already require CAP_SYS_ADMIN.

Fixes: 6ba43b761c41 ("bpf: Attachment verification for BPF_MODIFY_RETURN")
Change-Id: Iacd3ce20bd92c0a3faf01ad910b152e32040807f
Signed-off-by: KP Singh <kpsingh@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200305204955.31123-1-kpsingh@chromium.org
2025-12-23 13:36:02 -08:00
..
arraymap.c UPSTREAM: bpf: Add lookup and update batch ops to arraymap 2025-12-23 13:35:53 -08:00
bpf_lru_list.c bpf: Address KCSAN report on bpf_lru_list 2023-07-27 08:37:42 +02:00
bpf_lru_list.h bpf: Address KCSAN report on bpf_lru_list 2023-07-27 08:37:42 +02:00
bpf_struct_ops.c UPSTREAM: bpf: Return better error value in delete_elem for struct_ops map 2025-12-23 13:36:02 -08:00
bpf_struct_ops_types.h UPSTREAM: bpf: tcp: Support tcp_congestion_ops in bpf 2025-12-23 13:35:51 -08:00
btf.c UPSTREAM: bpf: Attachment verification for BPF_MODIFY_RETURN 2025-12-23 13:36:01 -08:00
cgroup.c UPSTREAM: bpf: Support replacing cgroup-bpf program in MULTI mode 2025-12-23 13:35:50 -08:00
core.c BACKPORT: bpf: Add BPF_FUNC_jiffies64 2025-12-23 13:35:55 -08:00
cpumap.c UPSTREAM: xdp: Make cpumap flush_list common for all map instances 2025-12-23 13:35:49 -08:00
devmap.c UPSTREAM: bpf, xdp: Remove no longer required rcu_read_{un}lock() 2025-12-23 13:35:55 -08:00
disasm.c bpf: Introduce BPF nospec instruction for mitigating Spectre v4 2021-09-15 09:47:38 +02:00
disasm.h
dispatcher.c UPSTREAM: bpf: Allow to resolve bpf trampoline and dispatcher in unwind 2025-12-23 13:35:55 -08:00
hashtab.c UPSTREAM: bpf: Replace zero-length array with flexible-array member 2025-12-23 13:36:00 -08:00
helpers.c BACKPORT: bpf: Add BPF_FUNC_jiffies64 2025-12-23 13:35:55 -08:00
inode.c UPSTREAM: bpf: Introduce pinnable bpf_link abstraction 2025-12-23 13:36:00 -08:00
local_storage.c UPSTREAM: bpf: Fix cgroup local storage prog tracking 2025-12-23 13:35:47 -08:00
lpm_trie.c UPSTREAM: bpf: Replace zero-length array with flexible-array member 2025-12-23 13:36:00 -08:00
Makefile UPSTREAM: bpf: Introduce BPF_PROG_TYPE_STRUCT_OPS 2025-12-23 13:35:51 -08:00
map_in_map.c UPSTREAM: bpf: Introduce BPF_MAP_TYPE_STRUCT_OPS 2025-12-23 13:35:51 -08:00
map_in_map.h Revert "bpf: Add map and need_defer parameters to .map_fd_put_ptr()" 2024-03-05 10:21:38 +00:00
offload.c UPSTREAM: nsfs: clean-up ns_get_path() signature to return int 2025-12-23 13:35:44 -08:00
percpu_freelist.c UPSTREAM: bpf: Dont iterate over possible CPUs with interrupts disabled 2025-12-23 13:35:58 -08:00
percpu_freelist.h
queue_stack_maps.c bpf: Avoid deadlock when using queue and stack maps from NMI 2023-10-10 21:46:36 +02:00
reuseport_array.c UPSTREAM: net: Generate reuseport group ID on group creation 2025-12-23 13:35:57 -08:00
stackmap.c UPSTREAM: bpf/stackmap: Dont trylock mmap_sem with PREEMPT_RT and interrupts disabled 2025-12-23 13:36:00 -08:00
syscall.c UPSTREAM: bpf: Do not allow map_freeze in struct_ops map 2025-12-23 13:36:02 -08:00
sysfs_btf.c bpf: Fix sysfs export of empty BTF section 2020-10-14 10:32:58 +02:00
tnum.c bpf: Fix incorrect verifier simulation of ARSH under ALU32 2020-01-23 08:22:44 +01:00
trampoline.c BACKPORT: bpf: Introduce BPF_MODIFY_RETURN 2025-12-23 13:36:01 -08:00
verifier.c UPSTREAM: bpf: Remove unnecessary CAP_MAC_ADMIN check 2025-12-23 13:36:02 -08:00
xskmap.c UPSTREAM: xsk: Make xskmap flush_list common for all map instances 2025-12-23 13:35:49 -08:00