Skip to content. | Skip to navigation

Personal tools
Log in
Sections
You are here: Home Blog procfs behaviour changed

procfs behaviour changed

by Bastian Blank — last modified Oct 18, 2006 04:31 PM
Filed Under:

Yes Junichi, you are correct, the behaviour of /proc/1/{cwd,root} changed in 2.6.18. The relevant commit is 778c1144771f0064b6f51bee865cceb0d996f2f9.

The behaviour is now really weird. readlink returns /, but in reality it points to somewhere else. Also it breaks the chroot detection.

Filed under:
Add comment

You can add a comment by filling out the form below. Plain text formatting. Web and email addresses are transformed into clickable links. Comments are moderated.