include/linux/lsm_audit.h
0 → 100644
+111
−0
security/lsm_audit.c
0 → 100644
+386
−0
Loading
This patch creates auditing functions usable by LSM to audit security events. It provides standard dumping of FS, NET, task etc ... events (code borrowed from SELinux) and provides 2 callbacks to define LSM specific auditing, which should be flexible enough to convert SELinux too. Signed-off-by:Etienne Basset <etienne.basset@numericable.fr> Acked-by:
Casey Schaufler <casey@schaufler-ca.com> cked-by:
Eric Paris <eparis@redhat.com> Signed-off-by:
James Morris <jmorris@namei.org>