OSDN Git Service

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>
Sun, 8 Apr 2018 10:51:09 +0000 (03:51 -0700)
commit6c6611223a79ead8030efbe3443f870c0f11540f
tree7375f0c77160be308705ebf966f9f885612d1cb5
parent076a6f32fe5d2d8c43f44e625c67d796eeb8f1ed
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