VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Daniel Borkmann <daniel@iogearbox.net> 2021-08-09 12:43:17 +0200 committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-08-15 14:01:56 +0200 commit: 95421b33f9a24421bfc58b0a916bd819585a2591 parent: ea56b15b909c65f8c65f93b02820eaf2682ef18c
Commit Summary:
bpf: Add lockdown check for probe_write_user helper
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/security/security.c b/security/security.c
index b38155b2de83..0d626c0dafcc 100644
--- a/security/security.c
+++ b/security/security.c
@@ -58,6 +58,7 @@ const char *const lockdown_reasons[LOCKDOWN_CONFIDENTIALITY_MAX+1] = {
 	[LOCKDOWN_MMIOTRACE] = "unsafe mmio",
 	[LOCKDOWN_DEBUGFS] = "debugfs access",
 	[LOCKDOWN_XMON_WR] = "xmon write access",
+	[LOCKDOWN_BPF_WRITE_USER] = "use of bpf to write user RAM",
 	[LOCKDOWN_INTEGRITY_MAX] = "integrity",
 	[LOCKDOWN_KCORE] = "/proc/kcore access",
 	[LOCKDOWN_KPROBES] = "use of kprobes",