-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/jmorris/linux-security Pull SElinux fix from James Morris: "From Paul: 'A small SELinux patch to fix some clang/llvm compiler warnings and ensure the tools under scripts work well in the face of kernel changes'" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: selinux: use the kernel headers when building scripts/selinux
- Loading branch information
Showing
5 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
hostprogs-y := genheaders | ||
HOST_EXTRACFLAGS += -Isecurity/selinux/include | ||
HOST_EXTRACFLAGS += \ | ||
-I$(srctree)/include/uapi -I$(srctree)/include \ | ||
-I$(srctree)/security/selinux/include | ||
|
||
always := $(hostprogs-y) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
hostprogs-y := mdp | ||
HOST_EXTRACFLAGS += -Isecurity/selinux/include | ||
HOST_EXTRACFLAGS += \ | ||
-I$(srctree)/include/uapi -I$(srctree)/include \ | ||
-I$(srctree)/security/selinux/include | ||
|
||
always := $(hostprogs-y) | ||
clean-files := policy.* file_contexts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,10 @@ | |
* Authors: Serge E. Hallyn <[email protected]> | ||
*/ | ||
|
||
|
||
/* NOTE: we really do want to use the kernel headers here */ | ||
#define __EXPORTED_HEADERS__ | ||
|
||
#include <stdio.h> | ||
#include <stdlib.h> | ||
#include <unistd.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters