Commit Graph

11 Commits

Author SHA1 Message Date
Warner Losh
23717fc46a Per letter dated July 22, 1999, delete clause 3 from code directly
from Berkeley.
2004-08-07 04:19:37 +00:00
Mike Makonnen
4fb3a3060c Allow the optional setting of a user, primary group, or grouplist
when chrooting.

Obtained from:	NetBSD
MFC after:	4 weeks
2003-06-07 10:56:12 +00:00
Mike Makonnen
fe6983de4b Explicitly compare the values returned by chdir(2) and chroot(2) to -1. 2003-06-02 05:52:24 +00:00
David E. O'Brien
b728350ee6 Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
Alfred Perlstein
d89167b4ea de-__P() 2002-07-11 18:31:16 +00:00
Mike Heffner
408d219e0a WARNS=2 cleanup.
Submitted by:	Maxime Henrion <mux@qualys.com>
MFC after:	2 weeks
2001-12-09 21:56:31 +00:00
Brian Somers
7bc6d0158f Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
Peter Wemm
97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Philippe Charnier
14b374a5c4 Remove unused #include. Statisize usage(). 1997-09-15 06:32:01 +00:00
Warner Losh
6c3f552a31 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-31 05:11:47 +00:00
Rodney W. Grimes
dea673e932 BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00