2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/include/linux/lockd
Chuck Lever 48df020aa1 NLM: Fix sign of length of NLM variable length strings
According to The Open Group's NLM specification, NLM callers are variable
length strings.  XDR variable length strings use an unsigned 32 bit length.
And internally, negative string lengths are not meaningful for the Linux
NLM implementation.

Clean up: Make nlm_lock.len and nlm_reboot.len unsigned integers.  This
makes the sign of NLM string lengths consistent with the sign of xdr_netobj
lengths.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Acked-By: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2008-02-01 16:42:02 -05:00
..
bind.h NLM: Introduce an arguments structure for nlmclnt_init() 2008-01-30 02:06:07 -05:00
debug.h
lockd.h NLM: Fix sign of length of NLM variable length strings 2008-02-01 16:42:02 -05:00
nlm.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
share.h [PATCH] lockd endianness annotations 2006-10-20 10:26:40 -07:00
sm_inter.h [PATCH] lockd endianness annotations 2006-12-13 09:05:52 -08:00
xdr4.h NLM: Fix sparse warnings 2007-05-14 19:33:46 -04:00
xdr.h NLM: Fix sign of length of NLM variable length strings 2008-02-01 16:42:02 -05:00