summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJames Morris <james.l.morris@oracle.com>2017-04-19 00:30:08 +0200
committerJames Morris <james.l.morris@oracle.com>2017-04-19 00:30:08 +0200
commitfa5b5b26e25cbab819e0955f948e8a6d5363f06f (patch)
tree1dfb743d934832546a5b3e7cfd02d83c1736c051 /scripts
parentMerge tag 'keys-next-20170412' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
parentselinux: Fix an uninitialized variable bug (diff)
downloadlinux-fa5b5b26e25cbab819e0955f948e8a6d5363f06f.tar.xz
linux-fa5b5b26e25cbab819e0955f948e8a6d5363f06f.zip
Merge branch 'stable-4.12' of git://git.infradead.org/users/pcmoore/selinux into next
Diffstat (limited to 'scripts')
-rw-r--r--scripts/selinux/genheaders/genheaders.c1
-rw-r--r--scripts/selinux/mdp/mdp.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/selinux/genheaders/genheaders.c b/scripts/selinux/genheaders/genheaders.c
index f4dd41f900d5..6a24569c3578 100644
--- a/scripts/selinux/genheaders/genheaders.c
+++ b/scripts/selinux/genheaders/genheaders.c
@@ -8,6 +8,7 @@
#include <string.h>
#include <errno.h>
#include <ctype.h>
+#include <sys/socket.h>
struct security_class_mapping {
const char *name;
diff --git a/scripts/selinux/mdp/mdp.c b/scripts/selinux/mdp/mdp.c
index c29fa4a6228d..ffe8179f5d41 100644
--- a/scripts/selinux/mdp/mdp.c
+++ b/scripts/selinux/mdp/mdp.c
@@ -32,6 +32,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
+#include <sys/socket.h>
static void usage(char *name)
{