Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: syssrc

Module Name:    syssrc
Committed By:   bouyer
Date:           Tue Sep 28 14:47:04 UTC 1999

Modified Files:
        syssrc/sys/compat/common: kern_resource_43.c
        syssrc/sys/compat/netbsd32: netbsd32_netbsd.c
        syssrc/sys/compat/svr4: svr4_resource.c
        syssrc/sys/conf: files
        syssrc/sys/kern: init_main.c kern_exec.c kern_exit.c kern_proc.c
            kern_prot.c kern_resource.c kern_sig.c kern_sysctl.c
        syssrc/sys/sys: proc.h resource.h resourcevar.h sysctl.h

Log Message:
Remplace kern.shortcorename sysctl with a more flexible sheme,
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
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.

To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 syssrc/sys/compat/common/kern_resource_43.c
cvs rdiff -r1.17 -r1.18 syssrc/sys/compat/netbsd32/netbsd32_netbsd.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/compat/svr4/svr4_resource.c
cvs rdiff -r1.318 -r1.319 syssrc/sys/conf/files
cvs rdiff -r1.156 -r1.157 syssrc/sys/kern/init_main.c
cvs rdiff -r1.102 -r1.103 syssrc/sys/kern/kern_exec.c
cvs rdiff -r1.73 -r1.74 syssrc/sys/kern/kern_exit.c
cvs rdiff -r1.34 -r1.35 syssrc/sys/kern/kern_proc.c
cvs rdiff -r1.54 -r1.55 syssrc/sys/kern/kern_prot.c
cvs rdiff -r1.52 -r1.53 syssrc/sys/kern/kern_resource.c
cvs rdiff -r1.93 -r1.94 syssrc/sys/kern/kern_sig.c
cvs rdiff -r1.51 -r1.52 syssrc/sys/kern/kern_sysctl.c
cvs rdiff -r1.83 -r1.84 syssrc/sys/sys/proc.h
cvs rdiff -r1.19 -r1.20 syssrc/sys/sys/resource.h
cvs rdiff -r1.13 -r1.14 syssrc/sys/sys/resourcevar.h
cvs rdiff -r1.36 -r1.37 syssrc/sys/sys/sysctl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index