diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-25 22:07:03 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-28 07:47:26 +0300 |
commit | 3539aaf670cdd68a37314cd5db400c0c77287c88 (patch) | |
tree | baaae67c89b2cda0bf7375ca7f0cba5fe68f4385 /security/apparmor/include | |
parent | 741aca71d61c3485d1e9db3bcea00d4509cf2301 (diff) | |
download | linux-3539aaf670cdd68a37314cd5db400c0c77287c88.tar.xz |
apparmor: constify aa_path_link()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/apparmor/include')
-rw-r--r-- | security/apparmor/include/file.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/include/file.h b/security/apparmor/include/file.h index afc5b294e0d5..4803c97d1992 100644 --- a/security/apparmor/include/file.h +++ b/security/apparmor/include/file.h @@ -175,7 +175,7 @@ int aa_path_perm(int op, struct aa_profile *profile, const struct path *path, int flags, u32 request, struct path_cond *cond); int aa_path_link(struct aa_profile *profile, struct dentry *old_dentry, - struct path *new_dir, struct dentry *new_dentry); + const struct path *new_dir, struct dentry *new_dentry); int aa_file_perm(int op, struct aa_profile *profile, struct file *file, u32 request); |