summaryrefslogtreecommitdiff
path: root/tests/id
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2014-05-18 17:20:06 +0100
committerPádraig Brady <P@draigBrady.com>2014-05-21 11:18:27 +0100
commit0c4729516baa2fbefb0af66c38f434b1f7519078 (patch)
tree53401704e3202224cac326298cff134180d65f1e /tests/id
parentaa1a72706bb9581fc08c63efc3bc03b908407124 (diff)
downloadcoreutils-0c4729516baa2fbefb0af66c38f434b1f7519078.tar.xz
chroot: make changing root check more robust
* src/chroot.c (is_root): A new helper function to determine if the passed argument is the root directory based on inode comparison. (main): Use the new helper rather than comparing strings. * tests/misc/chroot-fail.sh: Add cases for alternative root paths.
Diffstat (limited to 'tests/id')
0 files changed, 0 insertions, 0 deletions