Make nlink_t 32bit and ino_t 64bit. Implement the old syscall numbers
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 2 Aug 2005 13:03:55 +0000 (13:03 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 2 Aug 2005 13:03:55 +0000 (13:03 +0000)
commitf91a71dd15504ebdb04387d0822771ef145b25f9
tree8c02c42874b1a1aa0f9448d159344e6be8ade98c
parent6f1e2b382f6c2ba9b43a1fc106ba998b45499eea
Make nlink_t 32bit and ino_t 64bit. Implement the old syscall numbers
for *stat by wrapping the new syscalls and truncation of the values.
Add a hack for boot2 to keep ino_t 32bit, otherwise we would have to
link the 64bit math code in and that would most likely overflow boot2.
Bump libc major to annotate changed ABI and work around a problem with
strip during installworld. strip is dynamically linked and doesn't play
well with the new libc otherwise.

Support for 64bit inode numbers is still incomplete, because the dirent
limited to 32bit. The checks for nlink_t have to be redone too.
24 files changed:
lib/libc/Makefile
sys/boot/i386/boot2/Makefile
sys/boot/pc32/boot2/Makefile
sys/conf/files
sys/emulation/43bsd/stat.h
sys/emulation/dragonfly12/dfbsd12_stat.c [new file with mode: 0644]
sys/emulation/dragonfly12/stat.h [copied from sys/emulation/43bsd/stat.h with 76% similarity]
sys/emulation/svr4/svr4_socket.c
sys/kern/makesyscalls.sh
sys/kern/syscalls.master
sys/sys/stat.h
sys/sys/syscall-args
sys/sys/types.h
sys/sys/vfscache.h
sys/vfs/coda/coda.h
sys/vfs/gnu/ext2fs/ext2_alloc.c
sys/vfs/gnu/ext2fs/ext2_inode_cnv.c
sys/vfs/hpfs/hpfs_vfsops.c
sys/vfs/isofs/cd9660/cd9660_vnops.c
sys/vfs/ntfs/ntfs_subr.c
sys/vfs/ntfs/ntfs_vfsops.c
sys/vfs/udf/udf_vnops.c
sys/vfs/ufs/ffs_alloc.c
sys/vfs/ufs/ffs_softdep.c