summaryrefslogtreecommitdiff
path: root/usr.sbin/chroot/chroot.c
AgeCommit message (Expand)Author
2025-08-14kern: fix setgroups(2) and getgroups(2) to match other platformsKyle Evans
2025-08-12chroot: don't setgroups() without -G having been specifiedKyle Evans
2025-08-07chroot: Remove always-true checksJohn Baldwin
2025-08-02chroot: slightly cleanupKyle Evans
2025-08-01chroot: Improve error message for unprivileged useEd Maste
2025-07-26chroot: don't clobber the egid with the first supplemental groupKyle Evans
2023-11-26Remove copyright strings ifdef'd outWarner Losh
2023-11-26usr.sbin: Remove ancient SCCS tags.Warner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2023-07-07Mark usage function as __dead2 in programs where it does not returnAlfonso Gregory
2021-07-21chroot: fix typo in usageEdward Tomasz Napierala
2021-07-20Implement unprivileged chrootEdward Tomasz Napierala
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-02-28Renumber copyright clause 4Warner Losh
2011-11-06Eliminate global variables.Ed Schouten
2010-01-02ANSIfy some more tools in usr.sbin/.Ed Schouten
2009-06-19In preparation for raising NGROUPS and NGROUPS_MAX, change baseBrooks Davis
2004-08-07Per letter dated July 22, 1999, delete clause 3 from code directlyWarner Losh
2003-06-07Allow the optional setting of a user, primary group, or grouplistMike Makonnen
2003-06-02Explicitly compare the values returned by chdir(2) and chroot(2) to -1.Mike Makonnen
2003-05-03Use __FBSDID over rcsid[]. Protect copyright[] where needed.David E. O'Brien
2002-07-11de-__P()Alfred Perlstein
2001-12-09WARNS=2 cleanup.Mike Heffner
2001-07-09Fix the type of the NULL arg to execl()Brian Somers
1999-08-28$Id$ -> $FreeBSD$Peter Wemm
1997-09-15Remove unused #include. Statisize usage().Philippe Charnier
1997-03-31compare return value from getopt against -1 rather than EOF, per the finalWarner Losh
1994-05-26BSD 4.4 Lite usr.sbin SourcesRodney W. Grimes