HomeFreeBSD

Eliminate ptrace/exec race.
rS89661Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Eliminate ptrace/exec race.

MFC 1.191 src/sys/sys/proc.h
MFC 1.44 src/sys/kern/kern_exec.c (execve)

Add P_INEXEC flag to indicate that a process is currently exec'ing.

sys/kern/sys_process.c (ptrace)
sys/miscfs/procfs/...

Do not allow debugging of a process during exec.

Submitted by: tegge
Approved by: re

Details

Provenance
nectarAuthored on
Parents
rS89660: Do not taint ::/124 for localhost reverse table.
Branches
Unknown
Tags
Unknown

Event Timeline