]> bbs.cooldavid.org Git - net-next-2.6.git/commit
Audit: only set group mask when something is being watched
authorEric Paris <eparis@redhat.com>
Fri, 18 Dec 2009 02:24:22 +0000 (21:24 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:58:51 +0000 (09:58 -0400)
commit220d14df0dc587c06b97762829a41157c9375b94
treecea58c9859b86ea112f4dfc0c6c2bbbb6504edcc
parentffab83402f01555a5fa32efb48a4dd0ce8d12ef5
Audit: only set group mask when something is being watched

Currently the audit watch group always sets a mask equal to all events it
might care about.  We instead should only set the group mask if we are
actually watching inodes.  This should be a perf win when audit watches are
compiled in.

Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/audit_watch.c