summaryrefslogtreecommitdiffstats
path: root/security/apparmor/include/file.h
diff options
context:
space:
mode:
authorJohn Johansen2017-06-10 01:06:21 +0200
committerJohn Johansen2017-06-11 02:11:44 +0200
commit8014370f1257619226b79cb6de8e28563fbbc070 (patch)
tree59706d973abe5372649c38707d9aecad5d52500e /security/apparmor/include/file.h
parentapparmor: refactor path name lookup and permission checks around labels (diff)
downloadkernel-qcow2-linux-8014370f1257619226b79cb6de8e28563fbbc070.tar.gz
kernel-qcow2-linux-8014370f1257619226b79cb6de8e28563fbbc070.tar.xz
kernel-qcow2-linux-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/file.h')
-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,