Stephen Smalley
b6cac5a30b
selinux: Only audit permissions specified in policy
Only audit the permissions specified by the policy rules.
Before:
type=AVC msg=audit(01/28/2010 14:30:46.690:3250) : avc: denied { read
append } for pid=14092 comm=foo name=test_file dev=dm-1 ino=132932
scontext=unconfined_u:unconfined_r:load_policy_t:s0-s0:c0.c1023
tcontext=unconfined_u:object_r:rpm_tmp_t:s0 tclass=file
After:
type=AVC msg=audit(01/28/2010 14:52:37.448:26) : avc: denied
{ append } for pid=1917 comm=foo name=test_file dev=dm-1 ino=132932
scontext=unconfined_u:unconfined_r:load_policy_t:s0-s0:c0.c1023
tcontext=unconfined_u:object_r:rpm_tmp_t:s0 tclass=file
Reference:
https://bugzilla.redhat.com/show_bug.cgi?id=558499
Reported-by: Tom London <selinux@gmail.com>
Signed-off-by: Stephen D. Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
2010-02-03 08:49:10 +11:00
..
2010-01-18 09:54:26 +11:00
2010-01-25 08:31:38 +11:00
2009-10-24 09:42:27 +08:00
2010-02-03 08:49:10 +11:00
2009-09-14 12:34:07 +10:00
2010-01-04 11:27:18 +01:00
2008-12-31 12:54:11 -05:00
2009-10-07 21:56:44 +11:00
2009-12-04 15:39:55 +01:00
2009-06-03 07:44:53 +10:00
2010-01-18 09:54:26 +11:00
2009-08-17 08:37:18 +10:00