diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-11-21 04:08:57 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-11-21 04:08:57 +0100 |
commit | 36f340ae47a0f643be6d59a8190600cdd34eef0c (patch) | |
tree | c9e876b6c755dd53bc3a7aeedda1b88295c8fd3e /mach-defpager/priv.h | |
parent | f981d5bdba78ef72dbbf0d22c146890a305d487c (diff) |
Always canonicalize fstab entries with realpath
To avoid spurious ./, /, symlinks, etc.
* sutils/fstab.c (fs_set_mntent): Try to call realpath on mnt_fsname and mnt_dir
field of `mntent'.
(fstab_find_mount): Try to call realpath on `name' parameter.
(fstab_find): Do not try to call realpath.
(fstab_read): Reset errno to zero before calling getmntent.
* utils/umount.c (main): Do not warn about missing fstab entries for
active translators.
Diffstat (limited to 'mach-defpager/priv.h')
0 files changed, 0 insertions, 0 deletions