Split wait4(), setrlimit(), getrlimit(), statfs(), fstatfs(), chdir(),
authorDavid P. Reese, Jr. <daver@dragonflybsd.org>
Mon, 3 Nov 2003 15:57:34 +0000 (15:57 +0000)
committerDavid P. Reese, Jr. <daver@dragonflybsd.org>
Mon, 3 Nov 2003 15:57:34 +0000 (15:57 +0000)
commit9697c509606b1a3621c7976ef072d8527795d5ec
treecf853a729c9efe85187a5c9910ca27b22c51fb53
parent75cdbe6ce6ae8a1d22d73020d119d8516a21da72
Split wait4(), setrlimit(), getrlimit(), statfs(), fstatfs(), chdir(),
open(), mknod(), link(), symlink(), unlink(), lseek(), access(), stat(),
lstat(), readlink(), chmod(), chown(), lchown(), utimes(), lutimes(),
futimes(), truncate(), rename(), mkdir(), rmdir(), getdirentries(),
getdents().

Trash the 4.3BSD numeric filesystem type support in mount().

Move ocreat(), olseek(), otruncate(), ostat(), olstat(), owait(),
ogetrlimit(), and osetrlimit() to the 43bsd subtree and reimplement
using split syscalls.  Move ogetdirentries() to the subtree without
change because it is such a mess.

Convince linux_waitpid(), linux_wait(), linux_setrlimit(),
linux_old_getrlimit(), and linux_getrlimit() to use split syscalls.

The file kern/vfs_syscalls.c is now completely free of COMPAT_43 code.
I believe that execve() is the only pending split before I can tackle
stackgap usage in the linux emulator's CHECKALT{EXIST,CREAT}() macros.
sys/conf/files
sys/emulation/43bsd/43bsd_exit.c [copied from sys/emulation/43bsd/43bsd_file.c with 80% similarity]
sys/emulation/43bsd/43bsd_file.c
sys/emulation/43bsd/43bsd_resource.c [copied from sys/emulation/43bsd/43bsd_stats.c with 70% similarity]
sys/emulation/43bsd/43bsd_stats.c
sys/emulation/linux/linux_misc.c
sys/kern/kern_exit.c
sys/kern/kern_resource.c
sys/kern/vfs_syscalls.c
sys/sys/kern_syscall.h