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 250ee2d76406..25ee5c75551f 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -870,6 +870,12 @@ int security_move_mount(const struct path *from_path, const struct path *to_path | |||
870 | return call_int_hook(move_mount, 0, from_path, to_path); | 870 | return call_int_hook(move_mount, 0, from_path, to_path); |
871 | } | 871 | } |
872 | 872 | ||
873 | int security_path_notify(const struct path *path, u64 mask, | ||
874 | unsigned int obj_type) | ||
875 | { | ||
876 | return call_int_hook(path_notify, 0, path, mask, obj_type); | ||
877 | } | ||
878 | |||
873 | int security_inode_alloc(struct inode *inode) | 879 | int security_inode_alloc(struct inode *inode) |
874 | { | 880 | { |
875 | int rc = lsm_inode_alloc(inode); | 881 | int rc = lsm_inode_alloc(inode); |