retitle 390126 initscripts: chrooted() is not performing a valid check for 
chroot
reopen 390126 Junichi Uekawa <[EMAIL PROTECTED]>
thanks

Hi,

+chrooted() {
+  if [ -r /proc/1/root ]; then
+    return 1
+  fi
+  return 0
+}

This check, which tests if the real '/' of PID1 is readable, is not a
valid check for chroot, since a root user is able to access the real
'/' from even within a chroot.



regards,
        junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to