xbps/bin/xbps-uchroot
Juan RP b9fb5e1cc8 xbps-uchroot: support read-only bind mounts, misc improvements.
- Added -B src:dest (like -b) but this makes bind mounts in
  read-only mode.

- Get rid of setfsuid(), it's unnecessary.

- Make sure chrootdir is not '/', use realpath().

- Always set SECBIT_NOROOT, see capabilities(7).

- Do not mount recursively, right now this only mounts
  /dev (ro), /dev/shm (rw), /sys (ro) and /proc (ro).
  Previously any mount below any specific mount were recursively
  mounted in chrootdir.
2020-04-14 20:01:44 +02:00
..
main.c xbps-uchroot: support read-only bind mounts, misc improvements. 2020-04-14 20:01:44 +02:00
Makefile xbps-uchroot(8): now with a manual page. 2014-04-18 09:45:25 +02:00
xbps-uchroot.1 xbps-uchroot: support read-only bind mounts, misc improvements. 2020-04-14 20:01:44 +02:00