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 Added support for ibcs2_sigcode. 1998-03-05 04:36:07 +00:00
files.ibcs2 Move ibcs2_error.c back to ibcs2_errno.c. Old name was more descriptive. Make it more so and use "native_to_ibcs2_errno". 1998-10-23 03:22:59 +00:00
ibcs2_dirent.h
ibcs2_errno.c Move ibcs2_error.c back to ibcs2_errno.c. Old name was more descriptive. Make it more so and use "native_to_ibcs2_errno". 1998-10-23 03:22:59 +00:00
ibcs2_errno.h Move ibcs2_error.c back to ibcs2_errno.c. Old name was more descriptive. Make it more so and use "native_to_ibcs2_errno". 1998-10-23 03:22:59 +00:00
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 code cleanup 1998-02-09 02:30:42 +00:00
ibcs2_mount.h
ibcs2_pwd.h
ibcs2_signal.c Kill register declarations. 2000-03-30 11:24:16 +00:00
ibcs2_signal.h Substantial signal handling changes: 1998-09-11 12:50:05 +00:00
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 Added support for ibcs2_sigcode. 1998-03-05 04:36:07 +00:00
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 code cleanup 1998-02-09 02:30:42 +00:00
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 code cleanup 1998-02-09 02:30:42 +00:00
ibcs2_wait.h
syscalls.conf remove compat_xxx dependencies where they don't belong 1998-12-18 18:49:59 +00:00
syscalls.master add ibcs2_sys_gtty 2000-08-11 22:14:07 +00:00