]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/systemd.exec.xml
core: restrict ImportCredential= globbing
authorLennart Poettering <lennart@poettering.net>
Wed, 21 Jun 2023 08:53:24 +0000 (10:53 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 22 Jun 2023 14:07:09 +0000 (16:07 +0200)
commit947c4d3952e30604b97f657dca08f93a0a8f4bae
treeb4d731dc32cafc84fd611dafc7132de616a393e4
parent54c0ba3409ebcf06e3d0ef7352cc613547d22a72
core: restrict ImportCredential= globbing

Let's restrict how we apply credential globbing in ImportCredential=, so
that we have some flexibility in automatically extending the glob
expression with per-instance data eventually without getting into
conflict with the globbing parts.

In our current uses we only allow globbing at the end of the expression,
and this is a new, unreleased feature hence let's be restrictive on this
initially. We can still relax this later if we feel the need to after
all.

Fixes: #28022
man/systemd.exec.xml
src/core/dbus-execute.c
src/core/load-fragment.c
src/shared/creds-util.c
src/shared/creds-util.h
src/test/test-creds.c