Re: [PATCH] net: Added security socket

From: Jakub Kicinski
Date: Wed Apr 05 2023 - 12:47:22 EST


On Wed, 5 Apr 2023 15:53:08 +0300 Denis Arefev wrote:
> Added security_socket_connect
> kernel_connect is in kernel space,
> but kernel_connect is used in RPC
> requests (/net/sunrpc/xprtsock.c),
> and the RPC protocol is used by the NFS server.
> This is how we protect the TCP connection
> initiated by the client.

Can you please format this to look like every other commit in the
kernel and use imperative mood?

Then please add to the description _exactly_ how you're going to use
it, i.e. an example of a real rule. And CC
linux-security-module@xxxxxxxxxxxxxxx