aboutsummaryrefslogtreecommitdiffstats
path: root/security/bpf/hooks.c
diff options
context:
space:
mode:
authorKP Singh <[email protected]>2020-03-29 00:43:51 +0000
committerDaniel Borkmann <[email protected]>2020-03-29 23:34:00 +0000
commit9d3fdea789c8fab51381c2d609932fabe94c0517 (patch)
tree49b02df49c0af7a9952eec5bc3b504ed9441375b /security/bpf/hooks.c
parentsecurity: Refactor declaration of LSM hooks (diff)
downloadkernel-9d3fdea789c8fab51381c2d609932fabe94c0517.tar.gz
kernel-9d3fdea789c8fab51381c2d609932fabe94c0517.zip
bpf: lsm: Provide attachment points for BPF LSM programs
When CONFIG_BPF_LSM is enabled, nop functions, bpf_lsm_<hook_name>, are generated for each LSM hook. These functions are initialized as LSM hooks in a subsequent patch. Signed-off-by: KP Singh <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: Brendan Jackman <[email protected]> Reviewed-by: Florent Revest <[email protected]> Reviewed-by: Kees Cook <[email protected]> Acked-by: Yonghong Song <[email protected]> Acked-by: James Morris <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'security/bpf/hooks.c')
0 files changed, 0 insertions, 0 deletions