genode/repos/os/src/server/chroot
Ehmry - a7a0d3fe63 Refactor Tup, flatten output directories
Make no attempt to replicate the depot layout.
2019-10-28 11:32:29 +01:00
..
README Chroot: change root to explicit prefix and label sub-dirs 2018-11-29 11:46:02 +01:00
Tupfile Refactor Tup, flatten output directories 2019-10-28 11:32:29 +01:00
component.cc os: avoid using deprecated APIs 2019-01-30 13:49:54 +01:00
target.mk import chroot from world repository 2017-10-05 17:40:04 +02:00

README

This component intercepts File_system requests and changes
the root directory attached to requests as defined by
policy or by converting session label elements to a
hierarchy of directories.

Sessions matching policies with _path_ attributes will be "chrooted" to the
configured policy path, sessions not matching policies with _path_ attributes
will be chrooted into paths formed from each session label element. Sessions
matching polices with a _path_prefix_ attribute are both rooted at the
attribute path and in sub-directories formed by the session label.
Sessions requests are downgraded to read-only requests unless matched by
polices with an affirmative _writeable_ attribute. Sessions not matching any
policy are rejected.

Please note that this server is only effective for File_system servers that
honor the "root" or "writeable" argument to session requests.