]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: disallow using '-.service' as a service name
authorAnita Zhang <the.anitazha@gmail.com>
Fri, 4 Oct 2019 23:03:04 +0000 (16:03 -0700)
committerAnita Zhang <the.anitazha@gmail.com>
Mon, 7 Oct 2019 19:02:12 +0000 (12:02 -0700)
commite23d911664b4fd86eb2c24b64233cb9f23cffdd1
tree8ab06f0dd7a626ed1ca9603240c37a9ca2e9cf5f
parent0490b44031f0406ad053e150349666605b22ab15
core: disallow using '-.service' as a service name

-.service.d will become a special top level drop in so don't let it be a
usable service name (otherwise the interaction gets complicated).
src/basic/special.h
src/basic/unit-name.c
src/basic/unit-name.h
src/core/service.c
src/test/test-unit-name.c