2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 04:34:11 +08:00
linux-next/scripts/selinux
Paul Moore bfc5e3a6af selinux: use the kernel headers when building scripts/selinux
Commit 3322d0d64f ("selinux: keep SELinux in sync with new capability
definitions") added a check on the defined capabilities without
explicitly including the capability header file which caused problems
when building genheaders for users of clang/llvm.  Resolve this by
using the kernel headers when building genheaders, which is arguably
the right thing to do regardless, and explicitly including the
kernel's capability.h header file in classmap.h.  We also update the
mdp build, even though it wasn't causing an error we really should
be using the headers from the kernel we are building.

Reported-by: Nicolas Iooss <nicolas.iooss@m4x.org>
Signed-off-by: Paul Moore <paul@paul-moore.com>
2016-12-21 10:39:25 -05:00
..
genheaders selinux: use the kernel headers when building scripts/selinux 2016-12-21 10:39:25 -05:00
mdp selinux: use the kernel headers when building scripts/selinux 2016-12-21 10:39:25 -05:00
install_policy.sh kbuild: Make scripts executable 2014-08-20 16:03:45 +02:00
Makefile selinux: generate flask headers during kernel build 2009-10-07 21:56:44 +11:00
README Create Documentation/security/, 2011-05-19 15:59:38 -07:00

Please see Documentation/security/SELinux.txt for information on
installing a dummy SELinux policy.