diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2018-09-04 14:37:54 +0100 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2018-09-18 13:22:38 +0000 |
commit | d042560842ce504bb57605b1388ccc7daaa16c66 (patch) | |
tree | e82ce765da3061b768e9bcd135df19f5f1d012aa /tests/integration/shell.py | |
parent | 081dcafa03f1b2604ce52e9dc5be696444d8f71e (diff) | |
download | buildstream-d042560842ce504bb57605b1388ccc7daaa16c66.tar.gz |
FUSE: Mount with -odev in chroot sandbox
This is needed to permit access to the device nodes added to /dev
on Linux when FUSE is used as root.
The chroot sandbox only works with all privileges,
so there's no explicit check for being root
or having the appropriate capabilities.
A check for whether it's running as root isn't needed on Linux with bubblewrap
because /dev or its devices are mounted on top of the FUSE layer,
so device nodes are accessed directly rather than through the FUSE layer.
Diffstat (limited to 'tests/integration/shell.py')
0 files changed, 0 insertions, 0 deletions