HomeFreeBSD

- The prison mutex cannot possibly protect pointers to the prison it

Description

  • The prison mutex cannot possibly protect pointers to the prison it protects, so don't bother locking it while we assign it to a ucred's cr_prison.
  • Fully construct the new credential for a process before assigning it to p_ucred.

Details

Provenance
jhbAuthored on Apr 17 2003, 10:26 PM
Parents
rGe674d8079044: Add some locking in for a few proc and thread fields.
Branches
Unknown
Tags
Unknown

Event Timeline