summaryrefslogtreecommitdiff
path: root/fs/ceph/addr.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2020-07-28 10:34:20 -0400
committerIlya Dryomov <idryomov@gmail.com>2020-08-04 19:41:11 +0200
commitb748fc7a8763a5b3f8149f12c45711cd73ef8176 (patch)
tree2923d5afdd94cb337e8daa9b16df4f09afb702d0 /fs/ceph/addr.c
parent2c81ef286c42c5bfc0d0a60219b781791d4bd55c (diff)
ceph: set sec_context xattr on symlink creation
Symlink inodes should have the security context set in their xattrs on creation. We already set the context on creation, but we don't attach the pagelist. The effect is that symlink inodes don't get an SELinux context set on them at creation, so they end up unlabeled instead of inheriting the proper context. Make it do so. Cc: stable@vger.kernel.org Signed-off-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/addr.c')
0 files changed, 0 insertions, 0 deletions