summaryrefslogtreecommitdiffstats
path: root/fs/lockd
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2023-01-08 11:29:38 -0500
committerChuck Lever <chuck.lever@oracle.com>2023-02-20 09:20:27 -0500
commit7b402c8db66414abb4001d0c2676553baa619a2b (patch)
tree722ffc0c9e812b8c0a106f38cae1adba55619128 /fs/lockd
parent6d037b15e43945144d5041db9e62c5f389bd432b (diff)
downloadlinux-7b402c8db66414abb4001d0c2676553baa619a2b.tar.gz
linux-7b402c8db66414abb4001d0c2676553baa619a2b.tar.bz2
linux-7b402c8db66414abb4001d0c2676553baa619a2b.zip
SUNRPC: Add XDR encoding helper for opaque_auth
RFC 5531 defines an MSG_ACCEPTED Reply message like this: struct accepted_reply { opaque_auth verf; union switch (accept_stat stat) { case SUCCESS: ... In the current server code, struct opaque_auth encoding is open- coded. Introduce a helper that encodes an opaque_auth data item within the context of a xdr_stream. Done as part of hardening the server-side RPC header decoding and encoding paths. Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/lockd')
0 files changed, 0 insertions, 0 deletions