mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
constify chown_common/security_path_chown
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
e6641eddf0
commit
7fd25dac9a
6 changed files with 7 additions and 7 deletions
|
@ -342,7 +342,7 @@ static int apparmor_path_chmod(struct path *path, umode_t mode)
|
|||
return common_perm_mnt_dentry(OP_CHMOD, path->mnt, path->dentry, AA_MAY_CHMOD);
|
||||
}
|
||||
|
||||
static int apparmor_path_chown(struct path *path, kuid_t uid, kgid_t gid)
|
||||
static int apparmor_path_chown(const struct path *path, kuid_t uid, kgid_t gid)
|
||||
{
|
||||
struct path_cond cond = { d_backing_inode(path->dentry)->i_uid,
|
||||
d_backing_inode(path->dentry)->i_mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue