freebsd-nq/sys/ufs
Conrad Meyer c9bf814804 restore(8): Handle extended attribute names correctly
UFS2 extended attribute names are not NUL-terminated.  Handle
appropriately.

Correct the EXTATTR_BASE_LENGTH() macro, which handled ea_namelength ==
one (mod eight) extended attributes incorrectly.

PR:		216127
Reported by:	dewayne at heuristicsystems.com.au
Reviewed by:	kib@
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D9208
2017-01-18 18:16:57 +00:00
..
ffs Use type-independent formats for printing nlink_t and ino_t. 2017-01-06 16:59:33 +00:00
ufs restore(8): Handle extended attribute names correctly 2017-01-18 18:16:57 +00:00