diff options
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/security/security.c b/security/security.c index 613a5c00e602..30687e1366b7 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -871,6 +871,12 @@ int security_move_mount(const struct path *from_path, const struct path *to_path | |||
871 | return call_int_hook(move_mount, 0, from_path, to_path); | 871 | return call_int_hook(move_mount, 0, from_path, to_path); |
872 | } | 872 | } |
873 | 873 | ||
874 | int security_path_notify(const struct path *path, u64 mask, | ||
875 | unsigned int obj_type) | ||
876 | { | ||
877 | return call_int_hook(path_notify, 0, path, mask, obj_type); | ||
878 | } | ||
879 | |||
874 | int security_inode_alloc(struct inode *inode) | 880 | int security_inode_alloc(struct inode *inode) |
875 | { | 881 | { |
876 | int rc = lsm_inode_alloc(inode); | 882 | int rc = lsm_inode_alloc(inode); |