aboutsummaryrefslogtreecommitdiff
path: root/fs/attr.c
diff options
context:
space:
mode:
authorGravatar Seth Forshee <seth.forshee@canonical.com> 2016-04-26 14:36:24 -0500
committerGravatar Eric W. Biederman <ebiederm@xmission.com> 2016-06-30 18:05:09 -0500
commit5f65e5ca286126a60f62c8421b77c2018a482b8a (patch)
tree6587f9ff0d9454050803e76d7347ca26bd75d73a /fs/attr.c
parentfs: Check for invalid i_uid in may_follow_link() (diff)
downloadlinux-5f65e5ca286126a60f62c8421b77c2018a482b8a.tar.gz
linux-5f65e5ca286126a60f62c8421b77c2018a482b8a.tar.bz2
linux-5f65e5ca286126a60f62c8421b77c2018a482b8a.zip
cred: Reject inodes with invalid ids in set_create_file_as()
Using INVALID_[UG]ID for the LSM file creation context doesn't make sense, so return an error if the inode passed to set_create_file_as() has an invalid id. Signed-off-by: Seth Forshee <seth.forshee@canonical.com> Acked-by: Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions