mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 22:46:41 +07:00
bfc5e3a6af
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>
8 lines
195 B
Makefile
8 lines
195 B
Makefile
hostprogs-y := mdp
|
|
HOST_EXTRACFLAGS += \
|
|
-I$(srctree)/include/uapi -I$(srctree)/include \
|
|
-I$(srctree)/security/selinux/include
|
|
|
|
always := $(hostprogs-y)
|
|
clean-files := policy.* file_contexts
|