OpenGrok
Cross Reference: chroot.c
xref
: /
src
/
usr.sbin
/
chroot
/
chroot.c
Home
|
History
|
Annotate
|
Download
|
only in
chroot
History log of
/src/usr.sbin/chroot/chroot.c
Revision
Date
Author
Comments
1.19
20-Sep-2011
christos
- don't use an uninitialized grouplist (from Patrick Welche)
- While here:
* Allow all numeric users and groups
* Error check string to number conversion
* Factor out common code
1.18
28-Aug-2011
mbalmer
Initialize local variables that previously were global (user, group).
1.17
27-Aug-2011
joerg
Use __dead. Move global variables into function scope.
1.16
15-Aug-2011
wiz
Re-order and synchronize options listed in manpage (`SYNOPSIS' and
text) as well as `usage'-line; several punctuation improvements.
From Snader_LB.
1.15
21-Jul-2008
lukem
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
1.14
15-Dec-2007
perry
branches: 1.14.6;
convert __attribute__s to applicable cdefs.h macros
1.13
07-Aug-2003
agc
branches: 1.13.22;
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
1.12
14-Jul-2001
manu
strtol -> strtoul because we use an unsigned type (uid_t/gid_t)
isdigit with an unsigned char cast
1.11
06-Apr-2001
lukem
check that too many supplementary groups aren't given
1.10
06-Apr-2001
lukem
improve parsing of users, groups, and grouplists
1.9
06-Apr-2001
lukem
knf
1.8
17-Aug-2000
mrg
add NetBSD id tags.
1.7
06-Oct-1998
mrg
let chroot take "-u user", "-g group" and "-G group,list,group,..." arguments
1.6
18-Oct-1997
lukem
WARNSify
1.5
06-Mar-1997
mikel
merge lite-2 changes.
RCSid and getopt() return type police.
1.4
07-Jan-1994
jtc
Include <stdlib.h> for getenv() prototype.
Use standard error message routines.
1.3
01-Aug-1993
mycroft
Add RCS identifiers.
1.2
18-Apr-1993
mycroft
Cleanup for GCC 2.
1.1
21-Mar-1993
cgd
branches: 1.1.1;
Initial revision
1.1.1.2
06-Mar-1997
mikel
import 4.4BSD-Lite2 version
1.1.1.1
21-Mar-1993
cgd
initial import of 386bsd-0.1 sources
1.13.22.1
09-Jan-2008
matt
sync with HEAD
1.14.6.1
18-Sep-2008
wrstuden
Sync with wrstuden-revivesa-base-2.
Indexes created Tue Sep 30 20:09:53 GMT 2025