Audit: internally use the new LSM audit hooks
authorAhmed S. Darwish <darwish.07@gmail.com>
Sat, 1 Mar 2008 20:01:11 +0000 (22:01 +0200)
committerJames Morris <jmorris@namei.org>
Fri, 18 Apr 2008 23:52:37 +0000 (09:52 +1000)
commitd7a96f3a1ae279a2129653d6cb18d722f2f00f91
treefc38736f303133f80912f1640f2d4fac0027fe04
parent03d37d25e0f91b28c4b6d002be6221f1af4b19d8
Audit: internally use the new LSM audit hooks

Convert Audit to use the new LSM Audit hooks instead of
the exported SELinux interface.

Basically, use:
security_audit_rule_init
secuirty_audit_rule_free
security_audit_rule_known
security_audit_rule_match

instad of (respectively) :
selinux_audit_rule_init
selinux_audit_rule_free
audit_rule_has_selinux
selinux_audit_rule_match

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>
kernel/audit.c
kernel/auditfilter.c
kernel/auditsc.c