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 | ||
Makefile.inc | ||
compat_exec.c | ||
compat_util.c | ||
compat_util.h | ||
gen_errno_tables.awk | ||
kern_exit_43.c | ||
kern_info_09.c | ||
kern_info_43.c | ||
kern_ipc_10.c | ||
kern_resource_43.c | ||
kern_sig_13.c | ||
kern_sig_43.c | ||
kern_xxx_12.c | ||
sysv_ipc_14.c | ||
sysv_msg_14.c | ||
sysv_sem_14.c | ||
sysv_shm_14.c | ||
tty_43.c | ||
uipc_syscalls_43.c | ||
vfs_syscalls_12.c | ||
vfs_syscalls_43.c | ||
vm_12.c | ||
vm_43.c |