cvs commit: src/sys/kern tty_pty.c

Christian S.J. Peron csjp at FreeBSD.org
Tue Jan 31 09:17:45 PST 2006


csjp        2006-01-31 17:17:45 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             tty_pty.c 
  Log:
  Allow root in the host environment to open ptys within jailed environments.
  This logic change was introduced in revision 1.74:
  
  Correct an oversight in jail() that allowed processes in jail to access
  ptys in ways that might be unethical, especially towards processes not in
  jail, or in other jails.
  
  It should be fine to allow root in the host environment to do this. This
  allows for more effective monitoring of prisons from the host environment.
  
  Discussed with: rwatson
  MFC after:      1 week
  
  Revision  Changes    Path
  1.144     +1 -1      src/sys/kern/tty_pty.c


More information about the cvs-src mailing list