]> git.ipfire.org Git - thirdparty/coreutils.git/commit
runcon: ensure --compute runs the file it inspects
authorPádraig Brady <P@draigBrady.com>
Sun, 24 Jul 2022 17:46:10 +0000 (18:46 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 24 Jul 2022 17:55:41 +0000 (18:55 +0100)
commit96c149941357186abcbd8da914544a7867cab01e
treebf910ba22468258258603b31bf00b0f62f9f4137
parentb8aafe514516c5796c8ae9e6806f1f3a803b6adb
runcon: ensure --compute runs the file it inspects

* src/runcon.c (main): With -c avoid searching the path
to ensure the file specified to --compute is executed.
* tests/misc/runcon-compute.sh: Add a new test.
* tests/local.mk: Reference the new test.
* NEWS: Mention the bug fix.
Reported in https://bugs.debian.org/1013924
NEWS
src/runcon.c
tests/local.mk
tests/misc/runcon-compute.sh [new file with mode: 0755]