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: NEtienne Basset <etienne.basset@numericable.fr> Acked-by: NCasey Schaufler <casey@schaufler-ca.com> cked-by: NEric Paris <eparis@redhat.com> Signed-off-by: NJames Morris <jmorris@namei.org>
Showing
include/linux/lsm_audit.h
0 → 100644
security/lsm_audit.c
0 → 100644
想要评论请 注册 或 登录