SELinux: use new audit hooks, remove redundant exports
authorAhmed S. Darwish <darwish.07@gmail.com>
Sat, 1 Mar 2008 20:03:14 +0000 (22:03 +0200)
committerJames Morris <jmorris@namei.org>
Fri, 18 Apr 2008 23:53:46 +0000 (09:53 +1000)
commit9d57a7f9e23dc30783d245280fc9907cf2c87837
tree508b81e213f5dca1097ccf0ece8ba092b168607b
parentd7a96f3a1ae279a2129653d6cb18d722f2f00f91
SELinux: use new audit hooks, remove redundant exports

Setup the new Audit LSM hooks for SELinux.
Remove the now redundant exported SELinux Audit interface.

Audit: Export 'audit_krule' and 'audit_field' to the public
since their internals are needed by the implementation of the
new LSM hook 'audit_rule_known'.

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
Acked-by: James Morris <jmorris@namei.org>
include/linux/audit.h
include/linux/selinux.h
kernel/audit.h
security/selinux/hooks.c
security/selinux/ss/services.c