cvs commit: src/sys/kern kern_descrip.c

Christian S.J. Peron csjp at FreeBSD.org
Wed Jul 14 12:04:32 PDT 2004


csjp        2004-07-14 19:04:31 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_descrip.c 
  Log:
  In addition to the real user ID check, do an explicit jail
  check to ensure that the caller is not prison root.
  
  The intention is to fix file descriptor creation so that
  prison root can not use the last remaining file descriptors.
  This privilege should be reserved for non-jailed root users.
  
  Approved by:    bmilekic (mentor)
  
  Revision  Changes    Path
  1.236     +3 -2      src/sys/kern/kern_descrip.c


More information about the cvs-all mailing list