History

Merge tag 'selinux-pr-20190429' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux

Pull selinux fix from Paul Moore: "One small patch for the stable folks to fix a problem when building against the latest glibc. I'll be honest and say that I'm not really thrilled with the idea of sending this up right now, but Greg is a little annoyed so here I figured I would at least send this" * tag 'selinux-pr-20190429' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux: selinux: use kernel linux/socket.h for genheaders and mdp

Linus Torvalds committed 7 years ago

Commit fea27bc2 parents 83a5084 dfbd1993 files · +1 −2Browse files

Unified · Split

3 files
  1. scripts/selinux/genheaders/genheaders.c +0 −1
  2. scripts/selinux/mdp/mdp.c +0 −1
  3. security/selinux/include/classmap.h +1 −0
scripts/selinux/genheaders/genheaders.c+0−1
@@ -9,7 +9,6 @@ · 8 unmodified lines
99 #include <string.h>
1010 #include <errno.h>
1111 #include <ctype.h>
12−#include <sys/socket.h>
1312
1413 struct security_class_mapping {
1514 const char *name;
scripts/selinux/mdp/mdp.c+0−1
@@ -32,7 +32,6 @@ · 31 unmodified lines
3232 #include <stdlib.h>
3333 #include <unistd.h>
3434 #include <string.h>
35−#include <sys/socket.h>
3635
3736 static void usage(char *name)
3837 {
security/selinux/include/classmap.h+1−0
@@ -1,5 +1,6 @@
11 /* SPDX-License-Identifier: GPL-2.0 */
22 #include <linux/capability.h>
3+#include <linux/socket.h>
34
45 #define COMMON_FILE_SOCK_PERMS "ioctl", "read", "write", "create", \
56 "getattr", "setattr", "lock", "relabelfrom", "relabelto", "append", "map"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t