summaryrefslogtreecommitdiff
path: root/src/shared/sigbus.h
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2015-02-20 13:25:42 +0100
committerLennart Poettering <lennart@poettering.net>2015-03-10 17:46:20 +0100
commit27cc6f166bdebc0e698fb692993b801db2618866 (patch)
treecff65e348f319d89b581414f433c3f605ac6ffc2 /src/shared/sigbus.h
parent918315e457ca36cab94ff3b6060e143968c99ace (diff)
path-util: fix path_is_mount_point() for symlinks
path_is_mount_point() compares the mount_id of a directory and the mount_id of the parent directory. When following symlinks, the function to get the parent directory does not take the symlink into account. /bin -> /usr/bin with /usr being a mountpoint: mount_id of /bin with AT_SYMLINK_FOLLOW != mount_id of /
Diffstat (limited to 'src/shared/sigbus.h')
0 files changed, 0 insertions, 0 deletions