diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-01-02 12:05:56 -0500 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-02-20 09:20:11 -0500 |
commit | 6181b0c6432bf0807512e85e0c5863f7aca8e515 (patch) | |
tree | 379ea03d1b92d988b0bb4dd774d1b91c488ecab6 /net/netrom/nr_dev.c | |
parent | bee13639c0940abdea4dcaaf7f9bc0b88a68322b (diff) | |
download | lwn-6181b0c6432bf0807512e85e0c5863f7aca8e515.tar.gz lwn-6181b0c6432bf0807512e85e0c5863f7aca8e515.zip |
SUNRPC: Convert svcauth_unix_accept() to use xdr_stream
Done as part of hardening the server-side RPC header decoding path.
Since the server-side of the Linux kernel SunRPC implementation
ignores the contents of the Call's machinename field, there's no
need for its RPC_AUTH_UNIX authenticator to reject names that are
larger than UNX_MAXNODENAME.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/netrom/nr_dev.c')
0 files changed, 0 insertions, 0 deletions