52497e180a
core filename format, which allow to change the name of the core dump, and to relocate it in a directory. Credits to Bill Sommerfeld for giving me the idea :) The default core filename format can be changed by options DEFCORENAME and/or kern.defcorename Create a new sysctl tree, proc, which holds per-process values (for now the corename format, and resources limits). Process is designed by its pid at the second level name. These values are inherited on fork, and the corename fomat is reset to defcorename on suid/sgid exec. Create a p_sugid() function, to take appropriate actions on suid/sgid exec (for now set the P_SUGID flag and reset the per-proc corename). Adjust dosetrlimit() to allow changing limits of one proc by another, with credential controls. |
||
---|---|---|
.. | ||
Makefile | ||
files.netbsd32 | ||
netbsd32.h | ||
netbsd32_compat_09.c | ||
netbsd32_compat_10.c | ||
netbsd32_compat_12.c | ||
netbsd32_compat_13.c | ||
netbsd32_compat_43.c | ||
netbsd32_exec.c | ||
netbsd32_exec.h | ||
netbsd32_ioctl.c | ||
netbsd32_ioctl.h | ||
netbsd32_netbsd.c | ||
netbsd32_syscall.h | ||
netbsd32_syscallargs.h | ||
netbsd32_syscalls.c | ||
netbsd32_sysent.c | ||
syscalls.conf | ||
syscalls.master |