Changes between Initial Version and Version 1 of UnixPenthouseApartement


Ignore:
Timestamp:
Mar 13, 2006, 6:20:13 AM (19 years ago)
Author:
bird
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UnixPenthouseApartement

    v1 v1  
     1=== The Unix Penthouse Apartement ===
     2
     3LIBC provides OS/2 with a chroot environment. A chroot environment is usually called a 'jail' on *BSD and Linux because of it's capabilities to isolate programs running inside it. The LIBC chroot environment is not trying to isolate anything, it's trying to provide an special place where unix programs can feel more at home. In the LIBC chroot environment '/' is redefined to be the Unix root, while '[A-Za-z]:' keeps it's usual meanings. Anyone inside the chroot environment can pop out of it by calling {{{ chdir("[A-Za-z]:...") }}} and get back in with {{{ chdir("/...") }}}. Using the UNIXROOT environment variable it's also possible to figure out what the partent directory of '/' is and access it (since UNIXROOT will start with a drive letter).  So, since it isn't any kind of