Source-Changes archive

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

CVS commit: src/sys



Module Name:    src
Committed By:   kamil
Date:           Mon Apr  6 08:20:05 UTC 2020

Modified Files:
        src/sys/kern: kern_exec.c kern_fork.c kern_proc.c kern_sig.c
        src/sys/sys: proc.h

Log Message:
Reintroduce struct proc::p_oppid

Relying on p_opptr is not safe as there is a race between:
 - spawner giving a birth to a child process and being killed
 - spawnee accessng p_opptr and reporting TRAP_CHLD

PR kern/54786 by Andreas Gustafsson


To generate a diff of this commit:
cvs rdiff -u -r1.494 -r1.495 src/sys/kern/kern_exec.c
cvs rdiff -u -r1.220 -r1.221 src/sys/kern/kern_fork.c
cvs rdiff -u -r1.242 -r1.243 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.386 -r1.387 src/sys/kern/kern_sig.c
cvs rdiff -u -r1.361 -r1.362 src/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