aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJames Morse <[email protected]>2025-04-29 15:03:38 +0000
committerJames Morse <[email protected]>2025-05-08 14:29:03 +0000
commitf300769ead032513a68e4a02e806393402e626f8 (patch)
treeab218adf54026c926d3549008b8bf3404bb6d708 /net/unix/af_unix.c
parentarm64: bpf: Add BHB mitigation to the epilogue for cBPF programs (diff)
downloadkernel-f300769ead032513a68e4a02e806393402e626f8.tar.gz
kernel-f300769ead032513a68e4a02e806393402e626f8.zip
arm64: bpf: Only mitigate cBPF programs loaded by unprivileged users
Support for eBPF programs loaded by unprivileged users is typically disabled. This means only cBPF programs need to be mitigated for BHB. In addition, only mitigate cBPF programs that were loaded by an unprivileged user. Privileged users can also load the same program via eBPF, making the mitigation pointless. Signed-off-by: James Morse <[email protected]> Reviewed-by: Catalin Marinas <[email protected]> Acked-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions