diff options
-rw-r--r-- | scripts/selinux/genheaders/genheaders.c | 1 | ||||
-rw-r--r-- | scripts/selinux/mdp/mdp.c | 1 | ||||
-rw-r--r-- | security/selinux/include/classmap.h | 1 |
3 files changed, 1 insertions, 2 deletions
diff --git a/scripts/selinux/genheaders/genheaders.c b/scripts/selinux/genheaders/genheaders.c index 1ceedea847dd..544ca126a8a8 100644 --- a/scripts/selinux/genheaders/genheaders.c +++ b/scripts/selinux/genheaders/genheaders.c | |||
@@ -9,7 +9,6 @@ | |||
9 | #include <string.h> | 9 | #include <string.h> |
10 | #include <errno.h> | 10 | #include <errno.h> |
11 | #include <ctype.h> | 11 | #include <ctype.h> |
12 | #include <sys/socket.h> | ||
13 | 12 | ||
14 | struct security_class_mapping { | 13 | struct security_class_mapping { |
15 | const char *name; | 14 | const char *name; |
diff --git a/scripts/selinux/mdp/mdp.c b/scripts/selinux/mdp/mdp.c index edaba8e51651..18fd6143888b 100644 --- a/scripts/selinux/mdp/mdp.c +++ b/scripts/selinux/mdp/mdp.c | |||
@@ -32,7 +32,6 @@ | |||
32 | #include <stdlib.h> | 32 | #include <stdlib.h> |
33 | #include <unistd.h> | 33 | #include <unistd.h> |
34 | #include <string.h> | 34 | #include <string.h> |
35 | #include <sys/socket.h> | ||
36 | #include <linux/kconfig.h> | 35 | #include <linux/kconfig.h> |
37 | 36 | ||
38 | static void usage(char *name) | 37 | static void usage(char *name) |
diff --git a/security/selinux/include/classmap.h b/security/selinux/include/classmap.h index bd5fe0d3204a..201f7e588a29 100644 --- a/security/selinux/include/classmap.h +++ b/security/selinux/include/classmap.h | |||
@@ -1,5 +1,6 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0 */ | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | #include <linux/capability.h> | 2 | #include <linux/capability.h> |
3 | #include <linux/socket.h> | ||
3 | 4 | ||
4 | #define COMMON_FILE_SOCK_PERMS "ioctl", "read", "write", "create", \ | 5 | #define COMMON_FILE_SOCK_PERMS "ioctl", "read", "write", "create", \ |
5 | "getattr", "setattr", "lock", "relabelfrom", "relabelto", "append", "map" | 6 | "getattr", "setattr", "lock", "relabelfrom", "relabelto", "append", "map" |