Andrei Vagin and gVisor bot
5262e552f8
vfs: Introduce the rootfs mount
...
The namespace root mount can't be changed, so let's mount a dummy
read-only tmpfs here. It simplifies creation of containers without
leaking the root file system.
PiperOrigin-RevId: 558301458
2023-08-18 18:56:09 -07:00
Andrei Vagin
3445db339d
Fix all c++ compile time warnings
2023-03-09 19:01:00 -08:00
Lucas Manning and gVisor bot
3e393d3427
Modify pivot_root to return errors in cases of shared mounts.
...
This is in line with linux as described here
https://man7.org/linux/man-pages/man2/pivot_root.2.html
PiperOrigin-RevId: 486388848
2022-11-05 14:09:42 -07:00
Ayush Ranjan and gVisor bot
f6263c38df
Remove VFS1 special handling in tests.
...
Also clean up usage of GVISOR_VFS environment variable.
Updates #1624
PiperOrigin-RevId: 429100450
2022-02-16 11:41:51 -08:00
Lucas Manning and gVisor bot
16b524758d
Implement the pivot_root syscall.
...
PiperOrigin-RevId: 417707787
2021-12-21 16:10:41 -08:00