Files
coreutils/src
Pádraig Brady d520929586 chroot: call chroot() unconditionally to handle bind mounted "/"
* src/chroot.c (is_root): Adjust to compare canonicalized paths
rather than inodes, to handle (return false in) the case where
we have a tree that is constructed by first bind mounting "/"
(thus having the same inode).
(main): Unconditionally call chroot() because it's safer
and of minimal performance benefit to avoid in this case.
This will cause inconsistency with some platforms
not allowing `chroot / true` for non root users.
* tests/misc/chroot-fail.sh: Adjust appropriately.
* NEWS: Mention the bug fixes.
Fixes http://bugs.gnu.org/18736
2014-10-16 00:45:32 +01:00
..
2008-11-20 10:21:52 +01:00
2005-07-18 07:52:37 +00:00
…
…
…
2014-09-24 11:48:22 +01:00
2007-07-10 19:00:00 +02:00
2007-07-10 19:00:00 +02:00