]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
f2fs: avoid selinux denial on CAP_SYS_RESOURCE
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 9 Mar 2018 04:47:33 +0000 (20:47 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 17 Mar 2018 04:55:43 +0000 (13:55 +0900)
commit162b27aec9abe9d555b46e3a8e7ab06e7f603cbb
tree5972037355919ec4623b9a4c8980790610701493
parentb6a06cbbb5f7fd03589cff9178314af04c568826
f2fs: avoid selinux denial on CAP_SYS_RESOURCE

This fixes CAP_SYS_RESOURCE denial of selinux when using resgid, since it
seems selinux reports it at the first place, but mostly we don't need to
check this condition first.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h