chiark / gitweb /
bus-proxy: augment credentials from /proc for cmdline update
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 8 Jan 2015 16:43:48 +0000 (17:43 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Thu, 8 Jan 2015 16:46:42 +0000 (17:46 +0100)
commit9dc41cc5974a4af291de0c67b53050cceee5f6a4
treedf7d84fdb5ab120e6c417d172a2a4049b3b5d1dc
parent080e78329a742dd95bdee321fee81c305e073491
bus-proxy: augment credentials from /proc for cmdline update

dbus1 does not provide cmdline, so we have to augment our credentials from
/proc to beautify the bus-proxyd cmdline. We dont use this for anything
but beautification, so there shouldn't be any problems due to /proc
pid-recycling races.

This fixes bus-proxyd to no longer display 'xxxxxxxxxxxxxxxxxxxxxxxxxxx'
in its cmdline.
src/bus-proxyd/bus-proxyd.c