Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question
    
Is it ok to require root permissions? (Not that this related thread turned up anything that would help you.) –  Gilles Aug 29 '12 at 23:05
    
@Gilles: Sure, it might still be usable. –  l0b0 Aug 29 '12 at 23:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.