[PATCH v4] erofs-utils: support selinux file contexts

Li GuiFu bluce.lee at aliyun.com
Tue Jun 9 01:51:00 AEST 2020


On 2020/6/8 21:08, hsiangkao at aol.com wrote:
> From: Gao Xiang <hsiangkao at redhat.com>
> 
> Add --file-contexts flag that allows passing a selinux
> file_context file to setup file selabels.
> 
> Reviewed-and-tested-by: Li Guifu <bluce.lee at aliyun.com>
> Signed-off-by: Gao Xiang <hsiangkao at redhat.com>
> ---
> v4: freecon() should be used instead of free(). (although
>     they're equivalent, but that is what manpage prefers...)
> 
It looks good
Reviewed-by: Li Guifu <bluce.lee at aliyun.com>
Tested-by: Li Guifu <bluce.lee at aliyun.com>


More information about the Linux-erofs mailing list