NetBSD/sys/compat/common
sommerfeld 6b88a0fc51 Emulation stackgap sanity checks, based partly on fixes from
FreeBSD-SA00:42.

Change stackgap_alloc to bounds-check the allocation vs. the stack
gap, returning NULL if there isn't room for the allocation.

Change emul_find() to check for a NULL return from stackgap_alloc()
and convert that into ENAMETOOLONG.

Reorder various emulation syscalls so that all *_CHECK_ALT_{EXIST,CREAT}
calls (which turn into emul_find() under the covers come *after* small,
fixed-size stackgap_alloc() calls.

Clean up ibcs2 {get,set}groups.
2000-08-29 14:33:25 +00:00
..
Makefile
Makefile.inc
compat_exec.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 15:39:24 +00:00
compat_util.c Emulation stackgap sanity checks, based partly on fixes from 2000-08-29 14:33:25 +00:00
compat_util.h
gen_errno_tables.awk
kern_exit_43.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 15:39:24 +00:00
kern_info_09.c Sprinkle in some const. 2000-07-14 07:12:47 +00:00
kern_info_43.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 15:39:24 +00:00
kern_ipc_10.c fix LP64 warnings. 2000-07-27 14:00:56 +00:00
kern_resource_43.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 15:39:24 +00:00
kern_sig_13.c Kill register declarations. 2000-03-30 11:24:16 +00:00
kern_sig_43.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 15:39:24 +00:00
kern_xxx_12.c
sysv_ipc_14.c
sysv_msg_14.c Add new sysctl node "KERN_SYSVIPC_INFO" with "KERN_SYSVIPC_MSG_INFO", 2000-06-02 15:53:03 +00:00
sysv_sem_14.c Add new sysctl node "KERN_SYSVIPC_INFO" with "KERN_SYSVIPC_MSG_INFO", 2000-06-02 15:53:03 +00:00
sysv_shm_14.c Add new sysctl node "KERN_SYSVIPC_INFO" with "KERN_SYSVIPC_MSG_INFO", 2000-06-02 15:53:03 +00:00
tty_43.c Kill register declarations. 2000-03-30 11:24:16 +00:00
uipc_syscalls_43.c Kill register declarations. 2000-03-30 11:24:16 +00:00
vfs_syscalls_12.c Kill register declarations. 2000-03-30 11:24:16 +00:00
vfs_syscalls_43.c lstat: since namei() returns an error (EISDIR) if there is no parent to lock, 2000-07-26 11:43:07 +00:00
vm_12.c
vm_43.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 15:39:24 +00:00