summaryrefslogtreecommitdiffstats
path: root/usr.sbin/chroot
Commit message (Collapse)AuthorAgeFilesLines
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-2/+0
|
* ANSIfy some more tools in usr.sbin/.ed2010-01-021-4/+2
| | | | | Most of these tools build with WARNS=6, except for their use of K&R function declarations.
* In preparation for raising NGROUPS and NGROUPS_MAX, change basebrooks2009-06-191-3/+7
| | | | | | | | | | | | | | | | | | | | | | system callers of getgroups(), getgrouplist(), and setgroups() to allocate buffers dynamically. Specifically, allocate a buffer of size sysconf(_SC_NGROUPS_MAX)+1 (+2 in a few cases to allow for overflow). This (or similar gymnastics) is required for the code to actually follow the POSIX.1-2008 specification where {NGROUPS_MAX} may differ at runtime and where getgroups may return {NGROUPS_MAX}+1 results on systems like FreeBSD which include the primary group. In id(1), don't pointlessly add the primary group to the list of all groups, it is always the first result from getgroups(). In principle the old code was more portable, but this was only done in one of the two places where getgroups() was called to the overall effect was pointless. Document the actual POSIX requirements in the getgroups(2) and setgroups(2) manpages. We do not yet support a dynamic NGROUPS, but we may in the future. MFC after: 2 weeks
* Per letter dated July 22, 1999, delete clause 3 from code directlyimp2004-08-072-8/+0
| | | | from Berkeley.
* Allow the optional setting of a user, primary group, or grouplistmtm2003-06-072-6/+114
| | | | | | | when chrooting. Obtained from: NetBSD MFC after: 4 weeks
* Explicitly compare the values returned by chdir(2) and chroot(2) to -1.mtm2003-06-021-1/+1
|
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-031-4/+4
|
* style.Makefile(5)obrien2003-04-041-1/+2
|
* The .Nm utilitycharnier2002-07-141-1/+1
|
* de-__P()alfred2002-07-111-1/+1
|
* Pedantry to satisfy the bin/34159 author.ru2002-03-151-5/+5
|
* Finish cleanup in chroot.c CSRG revision 5.6 by Keith Bosticru2002-01-221-4/+0
| | | | | | (never installed setuid, so don't need to reset the uid). PR: bin/34159
* Add xref to jail(8)mpp2001-12-281-1/+2
| | | | | PR: docs/33178 Submitted by: Tom Rhodes <darklogik@pittgoth.com>
* Reorder WARNS line for style.mikeh2001-12-101-2/+1
| | | | Pointed out by: bde
* WARNS=2 cleanup.mikeh2001-12-092-1/+3
| | | | | Submitted by: Maxime Henrion <mux@qualys.com> MFC after: 2 weeks
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Fix the type of the NULL arg to execl()brian2001-07-091-1/+1
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Remove unused #include. Statisize usage().charnier1997-09-152-6/+9
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-1/+1
| | | | posix standard on the topic.
* Use the .Bx macro where appropriate.mpp1996-08-231-1/+2
|
* Get rid of update. Make man page installation work with our schemewollman1994-08-051-1/+1
| | | | (and rename a few in the process).
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-263-0/+181
OpenPOWER on IntegriCloud