systemctl: implement a new "whoami" verb, that just returns unit of caller/PID
authorLennart Poettering <lennart@poettering.net>
Mon, 3 Jul 2023 12:36:14 +0000 (14:36 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 4 Jul 2023 00:05:02 +0000 (01:05 +0100)
commitc86a95082b032fc6a0ff83b732f70ff53e45e4b6
tree02209224e447ccd68e5a94762b768c9b2f3ce6b5
parentf2492d39baa71748a20e774e7c95aec04571698a
systemctl: implement a new "whoami" verb, that just returns unit of caller/PID
man/systemctl.xml
src/systemctl/meson.build
src/systemctl/systemctl-whoami.c [new file with mode: 0644]
src/systemctl/systemctl-whoami.h [new file with mode: 0644]
src/systemctl/systemctl.c
test/units/testsuite-23.whoami.sh [new file with mode: 0755]