diff options
author | Kent Overstreet | 2023-12-11 13:58:25 -0500 |
---|---|---|
committer | Kent Overstreet | 2023-12-20 19:26:31 -0500 |
commit | bc46ef3cea3d6f63952d7e29a324e889c34970a8 (patch) | |
tree | c3147c0dea21815c8b924e9f4a2ae6a29ea251f3 /security | |
parent | b2fa8443db320c4873feca2588b957439e350890 (diff) |
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')
-rw-r--r-- | security/selinux/hooks.c | 1 | ||||
-rw-r--r-- | security/smack/smack_lsm.c | 1 |
2 files changed, 2 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() */ diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index 65130a791f57..7a5600834f16 100644 --- a/security/smack/smack_lsm.c +++ b/security/smack/smack_lsm.c @@ -37,6 +37,7 @@ #include <linux/personality.h> #include <linux/msg.h> #include <linux/shm.h> +#include <uapi/linux/shm.h> #include <linux/binfmts.h> #include <linux/parser.h> #include <linux/fs_context.h> |