Re: [PATCH] nvmet: Replace sock_create with sock_create_kern

From: Chaitanya Kulkarni
Date: Mon Mar 24 2025 - 19:25:04 EST


On 3/23/25 20:17, shaopeijie@xxxxxxxx wrote:
> From: Peijie Shao<shaopeijie@xxxxxxxx>
>
> Replacing sock_create() with sock_create_kern()
> changes the socket object's label to kernel_t,
> thereby bypassing unnecessary SELinux permission
> checks. It also helps to avoid copy and paste bugs.
>
> Signed-off-by: Peijie Shao<shaopeijie@xxxxxxxx>

can you please add the version history from next time
when posting new version ?

-ck