mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
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>
This commit is contained in:
parent
d14f172948
commit
c4ec54b40d
5 changed files with 68 additions and 30 deletions
|
@ -23,6 +23,7 @@
|
|||
#define __LINUX_SECURITY_H
|
||||
|
||||
#include <linux/fs.h>
|
||||
#include <linux/fsnotify.h>
|
||||
#include <linux/binfmts.h>
|
||||
#include <linux/signal.h>
|
||||
#include <linux/resource.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue