fsnotify: new fsnotify hooks and events types for access decisions
authorEric Paris <eparis@redhat.com>
Fri, 18 Dec 2009 02:24:34 +0000 (21:24 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:59:01 +0000 (09:59 -0400)
commitc4ec54b40d33f8016fea970a383cc584dd0e6019
tree8e8865170cf340d1e79dc379f56417588715b2c8
parentd14f1729483fad3a8817fbbcbd017678b7d1ad26
fsnotify: new fsnotify hooks and events types for access decisions

introduce a new fsnotify hook, fsnotify_perm(), which is called from the
security code.  This hook is used to allow fsnotify groups to make access
control decisions about events on the system.  We also must change the
generic fsnotify function to return an error code if we intend these hooks
to be in any way useful.

Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/fsnotify.c
include/linux/fsnotify.h
include/linux/fsnotify_backend.h
include/linux/security.h
security/security.c