]> git.ipfire.org Git - thirdparty/systemd.git/commit
argv-util: do proper permission check while when changing process name
authorMichal Sekletar <msekleta@redhat.com>
Mon, 19 Dec 2022 16:29:40 +0000 (17:29 +0100)
committerMichal Sekletar <msekleta@redhat.com>
Mon, 19 Dec 2022 16:29:40 +0000 (17:29 +0100)
commit03ee26168f0f32e6e0b9a172b75a5189b0ca2c05
tree51879018b5691bafbbcd0956fe27c12f224a4ee4
parent5ac1e0eff3d1a9f49d4a43ee8a14b6f90573fde9
argv-util: do proper permission check while when changing process name

Process renaming happens very seldomly so we are able to afford proper
permission check, i.e. actually check for CAP_SYS_RESOURCE capability
instead of euid.
src/basic/argv-util.c