smack: implement logging V3
authorEtienne Basset <etienne.basset@numericable.fr>
Wed, 8 Apr 2009 18:39:40 +0000 (20:39 +0200)
committerJames Morris <jmorris@namei.org>
Mon, 13 Apr 2009 23:00:19 +0000 (09:00 +1000)
commit6e837fb152410e571a81aaadbd9884f0bc46a55e
tree7169c53fa17d729e1f3021102c12653dad3d3dcb
parent7ba5779533819fc061b4afafcb4a609d55f37057
smack: implement logging V3

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>
include/linux/lsm_audit.h [new file with mode: 0644]
security/lsm_audit.c [new file with mode: 0644]