cvs commit: src/include dirent.h src/sys/sys dirent.h vfsops.h src/sys/emulation/linux/i386/linprocfs linprocfs_vnops.c src/sys/kern vfs_vopops.c src/sys/vfs/fdesc fdesc_vnops.c src/sys/vfs/gnu/ext2fs ext2_lookup.c src/sys/vfs/hpfs hpfs_vnops.c ...
dillon at apollo.backplane.com
Tue Nov 20 16:33:32 PST 2007
:Matthew Dillon wrote:
:> Sizeof(DIR) has changed, but hopefully won't cause any major issues since
:> libc is responsible for allocating it. The APIs remain the same.
:Will old (static) code continue to work? I.e. is the old ABI still valid to use? Otherwise we should consider adding a new syscall and/or start syscall versioning.
The syscall hasn't changed. It's strictly a libc thing so static code
should be fine. Dynamic code that doesn't dig into the DIR structure
(or at least, not very deeply), or try to duplicate the DIR structure,
will also not be affected.
The other change was to kernel internals to make VOP_READDIR pass and
return 64 bit cookies. That changes is strictly internal to the kernel.
More information about the Commits