cvs commit: src/usr.sbin/jail jail.8 jail.c

Maxim Konovalov maxim at FreeBSD.org
Sat May 29 11:39:51 PDT 2004


maxim       2004/05/29 11:39:27 PDT

  FreeBSD src repository

  Modified files:
    usr.sbin/jail        jail.8 jail.c 
  Log:
  o Implement -U flag: run command as user which exists only in jail.
  o getpwnam(3) returns NULL and does not set errno when the user does
    not exist.  Bail out with "no such user" instead of "Unknown error: 0".
  
  PR:             bin/67262
  Submitted by:   demon (-U flag)
  MFC after:      3 weeks
  
  Revision  Changes    Path
  1.53      +6 -2      src/usr.sbin/jail/jail.8
  1.15      +34 -17    src/usr.sbin/jail/jail.c


More information about the cvs-src mailing list