diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2019-03-28 16:54:09 -0400 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2019-08-09 19:41:52 +0200 |
commit | 74a664194602edf042b38869858e5a601e7f91dd (patch) | |
tree | ab69a974f5cf045d6b73ae2f7a2ce22ae1b30340 /checkpkg.in | |
parent | 69112171e5de910331e46cf3f848866550125024 (diff) | |
download | devtools32-74a664194602edf042b38869858e5a601e7f91dd.tar.xz |
Escape paths with ":" that are passed to systemd-nspawn --bind
When parsing paths to automatically make available to the container, the
":" is used internally by systemd-nspawn to signify destinations in the
container. Replace automatically with "\:" for the mounts that we set
up, in order to safely handle a working directory etc. that contains
this character.
For bind options exposed to the user, it is assumed the user takes care
of passing systemd-nspawn compatible paths themselves.
Fixes FS#60845
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'checkpkg.in')
0 files changed, 0 insertions, 0 deletions