Source-Changes archive

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

CVS commit: [netbsd-1-6] syssrc/sys/sys



Module Name:    syssrc
Committed By:   lukem
Date:           Mon Jul 29 15:37:59 UTC 2002

Modified Files:
        syssrc/sys/sys [netbsd-1-6]: proc.h

Log Message:
Pull up revision 1.142 (requested by jdolocek in ticket #557):
Make sure that the pointer to old parent process for ptraced children
gets reset properly when the old parent exits before the child. A flag
is set in old parent process when the child is reparented in ptrace(2).
If it's set when process is exiting, all running processes have their
'old parent process' pointer checked and reset if appropriate. Also
change to use 'struct proc *' pointer directly, rather than pid_t.
This fixes security/14444 by David Sainty.
Reviewed by Christos Zoulas.


To generate a diff of this commit:
cvs rdiff -r1.137 -r1.137.4.1 syssrc/sys/sys/proc.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