HomeFreeBSD

- Protect randompid and nprocs with the allproc_lock.
rS95938Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

  • Protect randompid and nprocs with the allproc_lock.
  • Reorder fork1() to do malloc() and other blocking operations prior to acquiring the needed process locks.
  • The new process inherit's the credentials of curthread, not the credentials of the old process.
  • Document a really weird race that will come up with KSE allows multiple kernel threads per process.

Details

Provenance
jhbAuthored on
Parents
rS95937: - Reorder a few things so that when we lock the process at the end of
Branches
Unknown
Tags
Unknown

Event Timeline