1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-06 13:09:50 +00:00
freebsd/sys
Pedro F. Giffuni 78d912bbc3 ext2fs: Don't assume that on-disk format of a directory is the same
as in <sys/dirent.h>

ext2_readdir() has always been very fs specific and different
with respect to its ufs_ counterpart. Recent changes from UFS
have made it possible to share more closely the implementation.

MFUFS r252438:
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.

Skip entries with zero inode number.

Reviewed by:	gleb, Zheng Liu
MFC after:	1 month
2013-07-25 15:34:20 +00:00
..
amd64 Add support for emulation of the "or r/m, imm8" instruction. 2013-07-23 23:43:00 +00:00
arm Revert ROOTDEVNAME change from previous commit. 2013-07-25 03:44:12 +00:00
boot Add 2 builtin words for working with directories: 2013-07-10 21:37:50 +00:00
bsm
cam CAM and mps(4) driver scanning changes. 2013-07-22 18:37:07 +00:00
cddl Following r222950, revert unintentional change cls -> class in argument name 2013-07-25 08:41:22 +00:00
compat Regenerate. 2013-07-21 19:44:53 +00:00
conf newvers.sh: add another git-svn fallback 2013-07-24 09:06:50 +00:00
contrib Fix build for gcc users by declaring variables for unions in structs which 2013-07-10 10:40:52 +00:00
crypto Fix const propagation issues to make GCC happy. 2013-07-11 16:27:11 +00:00
ddb
dev Decode some bits defined in AHCI 1.3.1 Device Sleep Technical Proposal. 2013-07-25 10:29:40 +00:00
fs ext2fs: Don't assume that on-disk format of a directory is the same 2013-07-25 15:34:20 +00:00
gdb rename scheduler->swapper and SI_SUB_RUN_SCHEDULER->SI_SUB_LAST 2013-07-24 09:45:31 +00:00
geom When panicing due to the gjournal overflow, print the geom metadata 2013-07-10 10:11:43 +00:00
gnu/fs/reiserfs
i386 Include sys/systm.h after sys/param.h. 2013-07-15 15:40:57 +00:00
ia64 In pci_cfgregread() and pci_cfgregwrite(), multiplex the domain and 2013-07-23 03:03:17 +00:00
isa
kern Use VMFS_OPTIMAL_SPACE instead of VMFS_ALIGNED_SPACE in shm_map(). 2013-07-24 20:34:25 +00:00
kgssapi Add support for host-based (Kerberos 5 service principal) initiator 2013-07-09 01:05:28 +00:00
libkern
mips This file isn't derived from anything delivered by Berkeley, so remove 2013-07-22 03:55:15 +00:00
modules Add some USB gadget example drivers for USB audio, USB keyboard, 2013-07-22 13:39:33 +00:00
net Decouple the UUID generator from network interfaces by having MAC 2013-07-24 04:24:21 +00:00
net80211 Add ieee80211_add_{qos,wpa,rsn}() functions since they are needed by an 2013-07-25 06:23:26 +00:00
netatalk
netgraph Add constant for PPP-Max-PayLoad tag. 2013-07-23 10:25:34 +00:00
netinet Remove the large part of struct ipsecstat. Only few fields of this 2013-07-23 14:14:24 +00:00
netinet6 Remove the large part of struct ipsecstat. Only few fields of this 2013-07-23 14:14:24 +00:00
netipsec Remove the large part of struct ipsecstat. Only few fields of this 2013-07-23 14:14:24 +00:00
netipx
netnatm
netpfil Improve locking strategy between keys hash and ID hash. 2013-06-13 06:07:19 +00:00
netsmb Remove a reference to LK_DRAIN now that lockmgr(9) is gone from this 2013-06-28 20:21:13 +00:00
nfs
nfsclient A problem with the old NFS client where large writes to large files 2013-07-04 00:54:23 +00:00
nfsserver - Convert the bufobj lock to rwlock. 2013-05-31 00:43:41 +00:00
nlm
ofed rename scheduler->swapper and SI_SUB_RUN_SCHEDULER->SI_SUB_LAST 2013-07-24 09:45:31 +00:00
opencrypto
pc98 MFi386: revision 251039 2013-06-01 12:21:59 +00:00
pci
powerpc Increase the size of the OFW bounce buffer to 4 pages. With this I can now run 2013-07-24 02:01:01 +00:00
rpc Add support for host-based (Kerberos 5 service principal) initiator 2013-07-09 01:05:28 +00:00
security audit_proc_coredump: check return value of audit_new 2013-07-09 09:03:01 +00:00
sparc64 Include sys/systm.h after sys/param.h. 2013-07-15 15:40:57 +00:00
sys Bump __FreeBSD_version for the addition of libusb's pkgconf files. 2013-07-25 03:55:50 +00:00
teken
tools
ufs Update to comments describing block allocation policy. 2013-07-14 18:44:33 +00:00
vm Clear entire map structure including locks so that the 2013-07-25 03:48:37 +00:00
x86 Fix a KTR_BUSDMA format string. 2013-06-18 06:55:58 +00:00
xdr
xen Adjust i386 Xen PV support for updated Xen interface files. 2013-06-17 01:43:07 +00:00
Makefile