]> git.ipfire.org Git - thirdparty/systemd.git/commit
Use correct config parser for MountAPIVFS (#18501)
authorAntonius Frie <antonius.frie@ruhr-uni-bochum.de>
Mon, 8 Feb 2021 08:15:15 +0000 (09:15 +0100)
committerGitHub <noreply@github.com>
Mon, 8 Feb 2021 08:15:15 +0000 (09:15 +0100)
commit4d0052d52f1359a054e83037c733bb3330ba4124
tree05d611514e830265536270cfa2f14a573ae4bf3d
parent8e45c72cf581a2224725469376d13ca4dcd77a74
Use correct config parser for MountAPIVFS (#18501)

As far as I can see, at some point the parser function for MountAPIVFS
was changed from the generic bool parser to a custom implementation, to
allow the context to keep track of whether MountAPIVFS had been set
explicitly. If not, exec_context_get_effective_mount_apivfs would fall
back to a default value. However, the corresponding entry in the big
parser table wasn't updated, meaning that the old bool parser was still
used, meaning that context->mount_apivfs_set remained at its default
value of false, meaning that the default value was always used and the
config option was effectively ignored.

Fix for 5e98086d1629f5c5b73645ba2568de4b09b7d958.
src/core/load-fragment-gperf.gperf.m4