Messages in this thread | | | Subject | Re: [PATCH] erofs: avoid duplicated permission check for "trusted." xattrs | From | Chao Yu <> | Date | Wed, 12 Aug 2020 10:01:03 +0800 |
| |
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@unisoc.com> > [ 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@vger.kernel.org> # 5.4+ > Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Thanks,
| |