NetBSD/sys/compat/ibcs2
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
TODO
files.ibcs2
ibcs2_dirent.h
ibcs2_errno.c
ibcs2_errno.h
ibcs2_exec.c fix some size_t/int confusion. 2000-08-11 22:21:41 +00:00
ibcs2_exec.h Move COFF_LDPGSZ to ibcs2_machdep.h. Fix nmagic loader to deal with 2000-06-21 05:45:15 +00:00
ibcs2_fcntl.c Kill register declarations. 2000-03-30 11:24:16 +00:00
ibcs2_fcntl.h
ibcs2_grp.h
ibcs2_ioctl.c Add ibcs2_sys_gtty. 2000-08-11 22:20:10 +00:00
ibcs2_ipc.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 15:39:24 +00:00
ibcs2_misc.c Emulation stackgap sanity checks, based partly on fixes from 2000-08-29 14:33:25 +00:00
ibcs2_mman.h
ibcs2_mount.h
ibcs2_pwd.h
ibcs2_signal.c Kill register declarations. 2000-03-30 11:24:16 +00:00
ibcs2_signal.h
ibcs2_socksys.c Kill register declarations. 2000-03-30 11:24:16 +00:00
ibcs2_socksys.h
ibcs2_stat.c Emulation stackgap sanity checks, based partly on fixes from 2000-08-29 14:33:25 +00:00
ibcs2_stat.h Fix IBCS2_S_IFWGRP 2000-08-17 15:16:01 +00:00
ibcs2_statfs.h
ibcs2_stropts.h
ibcs2_syscall.h update for changed makesyscalls.master 2000-08-18 19:35:15 +00:00
ibcs2_syscallargs.h update for changed makesyscalls.master 2000-08-18 19:35:15 +00:00
ibcs2_syscalls.c update for changed makesyscalls.master 2000-08-18 19:35:15 +00:00
ibcs2_sysent.c update for changed makesyscalls.master 2000-08-18 19:35:15 +00:00
ibcs2_sysi86.h
ibcs2_termios.h Add ibcs2_sys_gtty. 2000-08-11 22:20:10 +00:00
ibcs2_time.h
ibcs2_timeb.h
ibcs2_types.h
ibcs2_unistd.h
ibcs2_ustat.h
ibcs2_util.h Allow dynamic twiddling of debug messages. 2000-06-16 01:56:36 +00:00
ibcs2_utime.h
ibcs2_utsname.h
ibcs2_wait.h
syscalls.conf
syscalls.master add ibcs2_sys_gtty 2000-08-11 22:14:07 +00:00