Create the kern_fstat() and kern_ftruncate() in-kernel syscalls.
authorDavid P. Reese, Jr. <daver@dragonflybsd.org>
Tue, 21 Oct 2003 01:05:09 +0000 (01:05 +0000)
committerDavid P. Reese, Jr. <daver@dragonflybsd.org>
Tue, 21 Oct 2003 01:05:09 +0000 (01:05 +0000)
commit8f6f8622b47c454226c928b6984521ba1d4f8c95
treed3dc0bc29b810316affd92059a21ebf8512c9068
parentebe4a7b367dbfbe1a020fcec61da3d60b888a607
Create the kern_fstat() and kern_ftruncate() in-kernel syscalls.

Implement fstat(), nfstat() and ftruncate() using the in-kernel syscalls.

Move ofstat() and oftruncate() to the 43bsd emulation tree and implement
with in-kernel syscalls.

Create the linux_ftruncate() syscall in the linux emulation layer.  This
replaces a direct use of oftruncate() in the linux syscall map.  Rewrite
linux_newfstat() and linux_fstat64() with the in-kernel syscalls.
13 files changed:
sys/conf/files
sys/emulation/43bsd/43bsd_file.c [new file with mode: 0644]
sys/emulation/43bsd/43bsd_stats.c [new file with mode: 0644]
sys/emulation/linux/i386/linux_proto.h
sys/emulation/linux/i386/linux_syscall.h
sys/emulation/linux/i386/linux_sysent.c
sys/emulation/linux/i386/linux_union.h
sys/emulation/linux/i386/syscalls.master
sys/emulation/linux/linux_file.c
sys/emulation/linux/linux_stats.c
sys/kern/kern_descrip.c
sys/kern/vfs_syscalls.c
sys/sys/kern_syscall.h