[systemd-devel] [PATCH] fstab-generator: avoid mangling mount source and dest
Kay Sievers
kay at vrfy.org
Mon Jun 4 03:57:47 PDT 2012
On Sun, Jun 3, 2012 at 4:18 AM, Dave Reisner <dreisner at archlinux.org> wrote:
> This can invalidate otherwise valid source paths with trailing slashes,
> such as "host:/" in the case of a network mount. We don't really have
> any business touching these anyway, since we'll just pass this to
> /bin/mount, which sanitizes the paths for us.
Changed it to use:
path_is_absolute()
instead of:
is_path(),
so that we still sanitize the input we might match against.
Let me know, if you think that could still cause any problems?
Thanks,
Kay
More information about the systemd-devel
mailing list