core/namespace: make '-' prefix in Bind{,ReadOnly}Paths= work
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 21 Feb 2018 00:07:56 +0000 (09:07 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 21 Feb 2018 00:07:56 +0000 (09:07 +0900)
commit4ca763a9028865b155ee41ba5f169d3e5714f48d
tree72ddc811bfa39298373bb0de50c43797f737b50f
parent72d967df3e27186dd014bed2c6e7400cc32d84c5
core/namespace: make '-' prefix in Bind{,ReadOnly}Paths= work

Each path in `Bind{ReadOnly}Paths=` accept '-' prefix. However,
the prefix is completely ignored.
This makes it work as expected.
man/systemd.exec.xml
src/core/execute.c
src/core/namespace.c