summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-01-18 19:37:34 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2015-01-18 19:37:34 +0100
commit21fce57b26f50381d21a22be4d62a8f6067dc5c9 (patch)
tree61d8907bd8d06ed9113c5c4412f7222a844e38f6 /src/test
parenteea0b59193f37fcc9ee227de26d0009e6bdc6d92 (diff)
bus: fix SD_BUS_CREDS_AUGMENT on kdbus queries
If we set SD_BUS_CREDS_AUGMENT, we *need* the PID from the kernel so we can lookup further information from /proc. However, we *must* set SD_BUS_CREDS_PIDS in "mask", otherwise, our creds-collector will never actually copy the pid into "sd_bus_creds". Fix this, so SD_BUS_CREDS_AUGMENT works even if SD_BUS_CREDS_PID is not specified by the caller.
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions