Re: [PATCH] erofs: avoid duplicated permission check for "trusted." xattrs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020/8/11 15:00, Gao Xiang wrote:
Don't recheck it since xattr_permission() already
checks CAP_SYS_ADMIN capability.

Just follow 5d3ce4f70172 ("f2fs: avoid duplicated permission check for "trusted." xattrs")

Reported-by: Hongyu Jin <hongyu.jin@xxxxxxxxxx>
[ Gao Xiang: since it could cause some complex Android overlay
   permission issue as well on android-5.4+, so it'd be better to
   backport to 5.4+ rather than pure cleanup on mainline. ]
Cc: <stable@xxxxxxxxxxxxxxx> # 5.4+
Signed-off-by: Gao Xiang <hsiangkao@xxxxxxxxxx>

Reviewed-by: Chao Yu <yuchao0@xxxxxxxxxx>

Thanks,



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux