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. |
||
---|---|---|
.. | ||
exec_aout.c | ||
exec_conf.c | ||
exec_ecoff.c | ||
exec_elf32.c | ||
exec_elf64.c | ||
exec_elf_common.c | ||
exec_script.c | ||
exec_subr.c | ||
genassym.awk | ||
genassym.sh | ||
init_main.c | ||
init_sysent.c | ||
kern_acct.c | ||
kern_allocsys.c | ||
kern_clock.c | ||
kern_descrip.c | ||
kern_exec.c | ||
kern_exit.c | ||
kern_fork.c | ||
kern_kthread.c | ||
kern_ktrace.c | ||
kern_lkm.c | ||
kern_lock.c | ||
kern_malloc.c | ||
kern_ntptime.c | ||
kern_physio.c | ||
kern_proc.c | ||
kern_prot.c | ||
kern_resource.c | ||
kern_sig.c | ||
kern_subr.c | ||
kern_synch.c | ||
kern_sysctl.c | ||
kern_time.c | ||
kern_xxx.c | ||
kgdb_stub.c | ||
Make.tags.inc | ||
Makefile | ||
makesyscalls.sh | ||
subr_autoconf.c | ||
subr_disk.c | ||
subr_extent.c | ||
subr_log.c | ||
subr_pool.c | ||
subr_prf.c | ||
subr_prof.c | ||
subr_rmap.c | ||
subr_xxx.c | ||
sys_generic.c | ||
sys_process.c | ||
sys_socket.c | ||
syscalls.c | ||
syscalls.conf | ||
syscalls.master | ||
sysv_ipc.c | ||
sysv_msg.c | ||
sysv_sem.c | ||
sysv_shm.c | ||
tty_conf.c | ||
tty_pty.c | ||
tty_subr.c | ||
tty_tb.c | ||
tty_tty.c | ||
tty.c | ||
uipc_domain.c | ||
uipc_mbuf.c | ||
uipc_proto.c | ||
uipc_socket2.c | ||
uipc_socket.c | ||
uipc_syscalls.c | ||
uipc_usrreq.c | ||
vfs_bio.c | ||
vfs_cache.c | ||
vfs_cluster.c | ||
vfs_getcwd.c | ||
vfs_init.c | ||
vfs_lockf.c | ||
vfs_lookup.c | ||
vfs_subr.c | ||
vfs_syscalls.c | ||
vfs_vnops.c | ||
vnode_if.c | ||
vnode_if.sh | ||
vnode_if.src |