summaryrefslogtreecommitdiff
path: root/security/apparmor/include
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2017-06-09 16:06:21 -0700
committerJohn Johansen <john.johansen@canonical.com>2017-06-10 17:11:44 -0700
commit8014370f1257619226b79cb6de8e28563fbbc070 (patch)
tree59706d973abe5372649c38707d9aecad5d52500e /security/apparmor/include
parentaebd873e8d3e34757c9295eef074d1be229f5893 (diff)
downloadlwn-8014370f1257619226b79cb6de8e28563fbbc070.tar.gz
lwn-8014370f1257619226b79cb6de8e28563fbbc070.zip
apparmor: move path_link mediation to using labels
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include')
-rw-r--r--security/apparmor/include/file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/include/file.h b/security/apparmor/include/file.h
index 8daad14c47fd..001e40073ff9 100644
--- a/security/apparmor/include/file.h
+++ b/security/apparmor/include/file.h
@@ -197,7 +197,7 @@ int aa_path_perm(const char *op, struct aa_label *label,
const struct path *path, int flags, u32 request,
struct path_cond *cond);
-int aa_path_link(struct aa_profile *profile, struct dentry *old_dentry,
+int aa_path_link(struct aa_label *label, struct dentry *old_dentry,
const struct path *new_dir, struct dentry *new_dentry);
int aa_file_perm(const char *op, struct aa_label *label, struct file *file,