While running kernel 2.6.26 or newer it's possible to get the path of the current chroot
jail by comparing the mountinfo
of the current process and the init
process. Is there a way to get the same information with kernel <2.6.26?
Asked
Active
Viewed 372 times
3

Gilles 'SO- stop being evil'
- 829,060

l0b0
- 51,350
-
Is it ok to require root permissions? (Not that this related thread turned up anything that would help you.) – Gilles 'SO- stop being evil' Aug 29 '12 at 23:05
-
@Gilles: Sure, it might still be usable. – l0b0 Aug 29 '12 at 23:10