linux/security
Eric Paris 21193dcd1f SELinux: more careful use of avd in avc_has_perm_noaudit
we are often needlessly jumping through hoops when it comes to avd
entries in avc_has_perm_noaudit and we have extra initialization and memcpy
which are just wasting performance.  Try to clean the function up a bit.

This patch resulted in a 13% drop in time spent in avc_has_perm_noaudit in my
oprofile sampling of a tbench benchmark.

Signed-off-by: Eric Paris <eparis@redhat.com>
Reviewed-by: Paul Moore <paul.moore@hp.com>
Acked-by:  Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
2009-02-14 09:23:04 +11:00
..
2009-02-13 09:27:56 +11:00
2009-01-17 14:24:46 -08:00
2009-01-27 20:13:32 -08:00
2009-02-12 20:21:10 +11:00
2009-01-07 09:58:22 +11:00
2009-01-08 08:31:03 -08:00
2009-02-06 11:01:45 +11:00
2009-02-12 15:19:00 +11:00
2009-01-07 09:58:22 +11:00