freebsd-skq/sys/ufs
Gleb Kurtsou e5a5b5b64e Don't assume that UFS on-disk format of a directory is the same as
defined by <sys/dirent.h>

Always start parsing at DIRBLKSIZ aligned offset, skip first entries if
uio_offset is not DIRBLKSIZ aligned. Return EINVAL if buffer is too
small for single entry.

Preallocate buffer for cookies. Cookies will be replaced with d_off
field in struct dirent at later point.

Skip entries with zero inode number.

Stop mangling dirent in ufs_extattr_iterate_directory().

Reviewed by:	kib
Sponsored by:	Google Summer Of Code 2011
2013-07-01 04:06:40 +00:00
..
ffs Change i_gen in UFS to an unsigned type. 2013-07-01 03:00:15 +00:00
ufs Don't assume that UFS on-disk format of a directory is the same as 2013-07-01 04:06:40 +00:00