HomeFreeBSD

o Recent addition of (p1==p2) exception in p_candebug() permitted

Description

o Recent addition of (p1==p2) exception in p_candebug() permitted

processes to attach debugging to themselves even though the
global kern_unprivileged_procdebug_permitted policy might disallow
this.

o Move the kern_unprivileged_procdebug_permitted check above the

(p1==p2) check.

Reviewed by: des

Details

Provenance
rwatsonAuthored on Oct 9 2001, 4:56 PM
Parents
rG5162c5cc1ec5: Use crhold() instead of crdup() since we aren't modifying the cred but
Branches
Unknown
Tags
Unknown