rxrpc: add rxrpc_sock_set_min_security_level
authorChristoph Hellwig <hch@lst.de>
Thu, 28 May 2020 05:12:35 +0000 (07:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 18:11:46 +0000 (11:11 -0700)
commit298cd88a66a02c899772ffafbf648786ceb5ab95
treeff5a1b2e6e6c89240cd6846873e1fa54fe3de943
parent7d7207c2d57080af93fc323dc6a85bd79207b4c6
rxrpc: add rxrpc_sock_set_min_security_level

Add a helper to directly set the RXRPC_MIN_SECURITY_LEVEL sockopt from
kernel space without going through a fake uaccess.

Thanks to David Howells for the documentation updates.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/rxrpc.rst
fs/afs/rxrpc.c
include/net/af_rxrpc.h
net/rxrpc/af_rxrpc.c