cvs commit: src/sys/kern kern_fork.c

Pawel Jakub Dawidek pjd at
Mon Sep 4 10:26:18 UTC 2006

pjd         2006-09-04 10:26:17 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/kern             kern_fork.c 
  MFC:    sys/kern/kern_fork.c    1.259
  - Use suser_cred(9) instead of checking cr_ruid directly.
  - For privileged processes safe two mutex operations.
  We may want to consider if this is good idea to use SUSER_ALLOWJAIL here,
  but for now I didn't wanted to change the original behaviour.
  Reviewed by:    rwatson
  Revision   Changes    Path  +10 -7     src/sys/kern/kern_fork.c

More information about the cvs-src mailing list