* mount point), otherwise fallback to the
* traditional stat() logic */
nosupp = true;
* mount point), otherwise fallback to the
* traditional stat() logic */
nosupp = true;
fallback:
r = fstatat(fd, "", &a, AT_EMPTY_PATH);
fallback:
r = fstatat(fd, "", &a, AT_EMPTY_PATH);
r = fstatat(fd, "..", &b, 0);
if (r < 0)
r = fstatat(fd, "..", &b, 0);
if (r < 0)
int path_is_mount_point(const char *t, bool allow_symlink) {
_cleanup_close_ int fd = -1;
int path_is_mount_point(const char *t, bool allow_symlink) {
_cleanup_close_ int fd = -1;