diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2021-08-09 21:45:32 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-08-09 21:50:41 +0200 |
commit | 71330842ff93ae67a066c1fa68d75672527312fa (patch) | |
tree | b2287766437fc0a498229504ba5611888935e473 /include/linux/security.h | |
parent | d09c548dbf3b31cb07bba562e0f452edfa01efe3 (diff) | |
download | linux-71330842ff93ae67a066c1fa68d75672527312fa.tar.gz linux-71330842ff93ae67a066c1fa68d75672527312fa.tar.bz2 linux-71330842ff93ae67a066c1fa68d75672527312fa.zip |
bpf: Add _kernel suffix to internal lockdown_bpf_read
Rename LOCKDOWN_BPF_READ into LOCKDOWN_BPF_READ_KERNEL so we have naming
more consistent with a LOCKDOWN_BPF_WRITE_USER option that we are adding.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'include/linux/security.h')
-rw-r--r-- | include/linux/security.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index 24eda04221e9..724d7a4a0c91 100644 --- a/include/linux/security.h +++ b/include/linux/security.h @@ -123,7 +123,7 @@ enum lockdown_reason { LOCKDOWN_INTEGRITY_MAX, LOCKDOWN_KCORE, LOCKDOWN_KPROBES, - LOCKDOWN_BPF_READ, + LOCKDOWN_BPF_READ_KERNEL, LOCKDOWN_PERF, LOCKDOWN_TRACEFS, LOCKDOWN_XMON_RW, |