diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-25 14:18:14 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-27 23:48:14 -0400 |
commit | 2c7661ff419580f5c06ea409e31407e0ff52cb95 (patch) | |
tree | 0f08c2656b1d14406612d10a3b98212264faeaec /security/apparmor/lsm.c | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) | |
download | lwn-2c7661ff419580f5c06ea409e31407e0ff52cb95.tar.gz lwn-2c7661ff419580f5c06ea409e31407e0ff52cb95.zip |
[apparmor] constify struct path * in a bunch of helpers
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/apparmor/lsm.c')
-rw-r--r-- | security/apparmor/lsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c index dec607c17b64..9713037e5257 100644 --- a/security/apparmor/lsm.c +++ b/security/apparmor/lsm.c @@ -149,7 +149,7 @@ static int apparmor_capable(const struct cred *cred, struct user_namespace *ns, * * Returns: %0 else error code if error or permission denied */ -static int common_perm(int op, struct path *path, u32 mask, +static int common_perm(int op, const struct path *path, u32 mask, struct path_cond *cond) { struct aa_profile *profile; |