summaryrefslogtreecommitdiffstats
path: root/security/selinux
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-12-11 19:58:25 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2023-12-21 01:26:31 +0100
commitbc46ef3cea3d6f63952d7e29a324e889c34970a8 (patch)
treec3147c0dea21815c8b924e9f4a2ae6a29ea251f3 /security/selinux
parentworkqueue: Split out workqueue_types.h (diff)
downloadlinux-bc46ef3cea3d6f63952d7e29a324e889c34970a8.tar.xz
linux-bc46ef3cea3d6f63952d7e29a324e889c34970a8.zip
shm: Slim down dependencies
list_head is in types.h, not list.h., and the uapi header wasn't needed. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'security/selinux')
-rw-r--r--security/selinux/hooks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index feda711c6b7b..b9ccc98421e9 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -85,6 +85,7 @@
#include <linux/export.h>
#include <linux/msg.h>
#include <linux/shm.h>
+#include <uapi/linux/shm.h>
#include <linux/bpf.h>
#include <linux/kernfs.h>
#include <linux/stringhash.h> /* for hashlen_string() */