Page MenuHomeFreeBSD

Chroot actually appeared in 7th Edition Unix.
ClosedPublic

Authored by imp on Jun 26 2020, 8:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 4:10 AM
Unknown Object (File)
Nov 30 2023, 6:03 AM
Unknown Object (File)
Nov 29 2023, 9:42 PM
Unknown Object (File)
Nov 29 2023, 9:18 PM
Unknown Object (File)
Nov 28 2023, 11:57 PM
Unknown Object (File)
Nov 24 2023, 12:20 AM
Unknown Object (File)
Jun 29 2023, 10:48 PM
Unknown Object (File)
Jun 29 2023, 10:48 PM
Subscribers

Details

Summary

Chroot appeared during the development of 7th edition Unix. The FreeBSD jail
documents, incorrectly, that Bill Joy added this to 4.2BSD on 18 March

  1. That was when Bill Joy converted from a statically coded system call glue

to dynamically generated assembler. Chroot was present in 32V, 3BSD, 4.0BSD, 4.1BSD
and 4.1cBSD well in advance of this.

See also:
V7: https://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/libc/sys/chroot.s
32V: https://minnie.tuhs.org/cgi-bin/utree.pl?file=32V/usr/src/libc/sys/chroot.s
3BSD: https://minnie.tuhs.org/cgi-bin/utree.pl?file=3BSD/usr/src/libc/sys/chroot.s
4BSD: https://minnie.tuhs.org/cgi-bin/utree.pl?file=4BSD/usr/src/libc/sys/chroot.s
4.1cBSD: https://minnie.tuhs.org/cgi-bin/utree.pl?file=4.1cBSD/usr/src/libc/sys/chroot.s

The 6th edition does not have this system call, nor does it have anything named
chroot in the tree available from TUHS.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 31989
Build 29535: arc lint + arc unit

Event Timeline

imp requested review of this revision.Jun 26 2020, 8:15 PM
allanjude added a reviewer: manpages.
allanjude added a subscriber: allanjude.

Reviewed by: allanjude

This revision is now accepted and ready to land.Jun 26 2020, 8:18 PM

Sent a similar thing to Kirk and he agrees.

This revision was automatically updated to reflect the committed changes.