OSDN Git Service

selinux: Remove audit dependency
authorSultan Alsawaf <sultan@kerneltoast.com>
Thu, 18 Apr 2019 01:02:18 +0000 (18:02 -0700)
committer0ranko0P <ranko0p@outlook.com>
Wed, 4 Dec 2019 17:17:35 +0000 (01:17 +0800)
commitd41c3c0b5b8a402cb2709cceb4495f7214b1eb84
tree6166f8d0251f022d3ac36e75d56ecf9a48fb912e
parent307824a95a57814a87e000997f85ed05efdfe5d8
selinux: Remove audit dependency

Auditing comes with a lot of overhead due to string assembly via
vsnprintf. It isn't actually needed to make SELinux work, so remove
SELinux's artificial dependency on it to make it possible to use SELinux
without the unneeded overhead.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
include/linux/audit.h
include/linux/lsm_audit.h
security/selinux/Kconfig