diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2014-04-01 19:08:43 +0400 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2014-04-01 19:08:43 +0400 |
commit | 0b3974eb04c4874e85fa1d4fc70450d12f28611d (patch) | |
tree | 146a9237225aca523fc09c954a8221fd3f080d9a /fs/cachefiles | |
parent | 0a7c3937a1f23f8cb5fc77ae01661e9968a51d0c (diff) | |
download | linux-0b3974eb04c4874e85fa1d4fc70450d12f28611d.tar.xz |
security: add flags to rename hooks
Add flags to security_path_rename() and security_inode_rename() hooks.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Reviewed-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/cachefiles')
-rw-r--r-- | fs/cachefiles/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cachefiles/namei.c b/fs/cachefiles/namei.c index 31088a969351..6494d9f673aa 100644 --- a/fs/cachefiles/namei.c +++ b/fs/cachefiles/namei.c @@ -391,7 +391,7 @@ try_again: path.dentry = dir; path_to_graveyard.mnt = cache->mnt; path_to_graveyard.dentry = cache->graveyard; - ret = security_path_rename(&path, rep, &path_to_graveyard, grave); + ret = security_path_rename(&path, rep, &path_to_graveyard, grave, 0); if (ret < 0) { cachefiles_io_error(cache, "Rename security error %d", ret); } else { |