6b88a0fc51
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. |
||
---|---|---|
.. | ||
Makefile | ||
files.hpux | ||
hpux.h | ||
hpux_compat.c | ||
hpux_errno.c | ||
hpux_exec.c | ||
hpux_exec.h | ||
hpux_file.c | ||
hpux_ipc.c | ||
hpux_ipc.h | ||
hpux_net.c | ||
hpux_sig.c | ||
hpux_sig.h | ||
hpux_syscall.h | ||
hpux_syscallargs.h | ||
hpux_syscalls.c | ||
hpux_sysent.c | ||
hpux_termio.h | ||
hpux_tty.c | ||
hpux_types.h | ||
hpux_util.h | ||
syscalls.conf | ||
syscalls.master |