aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/netnode.c
diff options
context:
space:
mode:
authorStephen Smalley <[email protected]>2019-12-10 16:55:41 +0000
committerPaul Moore <[email protected]>2019-12-10 18:51:42 +0000
commitb2104ac0bd951a2887a03b09e2106fcff5fad94e (patch)
tree0d513b84ad992660d85501b216a4f1cd59e90195 /security/selinux/netnode.c
parentselinux: clean up selinux_inode_permission MAY_NOT_BLOCK tests (diff)
downloadkernel-b2104ac0bd951a2887a03b09e2106fcff5fad94e.tar.gz
kernel-b2104ac0bd951a2887a03b09e2106fcff5fad94e.zip
security: only build lsm_audit if CONFIG_SECURITY=y
The lsm_audit code is only required when CONFIG_SECURITY is enabled. It does not have a build dependency on CONFIG_AUDIT since audit.h provides trivial static inlines for audit_log*() when CONFIG_AUDIT is disabled. Hence, the Makefile should only add lsm_audit to the obj lists based on CONFIG_SECURITY, not CONFIG_AUDIT. Fixes: 59438b46471a ("security,lockdown,selinux: implement SELinux lockdown") Signed-off-by: Stephen Smalley <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/selinux/netnode.c')
0 files changed, 0 insertions, 0 deletions