freebsd-dev/share/man
Conrad Meyer 6e02fac9d9 ufs/extattr.h: Fix documentation of ea_name termination
The ea_name string is not nul-terminated.  Correct the documentation.

Because the subsequent field is padded to 8 bytes, and the padding is
zeroed, the ea_name string will appear to be nul-terminated whenever the
length isn't exactly one (mod eight).

This was introduced in r167010 (2007).

Additionally, mark the length fields as unsigned.  This particularly
matters for the single byte ea_namelength field, which can represent
extended attribute names up to 255 bytes long.

No functional change.

PR:		216127
Reported by:	dewayne at heuristicsystems.com.au
Reviewed by:	kib@
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D9206
2017-01-18 17:55:49 +00:00
..
man1 Separate manual pages into their own package. 2016-01-21 16:36:33 +00:00
man3 thr_set_name(): silently truncate the given name as needed 2016-12-03 01:14:21 +00:00
man4 Add USB audio support for S/PDIF output with C-Media CM6206 devices. 2017-01-17 08:15:10 +00:00
man5 ufs/extattr.h: Fix documentation of ea_name termination 2017-01-18 17:55:49 +00:00
man6 Separate manual pages into their own package. 2016-01-21 16:36:33 +00:00
man7 o Add support for long double. 2016-11-03 13:06:17 +00:00
man8 Remove backup_uses_rcs from rc.subr 2016-09-18 12:49:23 +00:00
man9 "Buses" is the preferred plural of "bus" 2017-01-15 17:54:01 +00:00
Makefile Add more SUBDIR_PARALLEL. 2015-10-15 22:55:08 +00:00