diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-01-18 19:37:34 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-01-18 19:37:34 +0100 |
commit | 21fce57b26f50381d21a22be4d62a8f6067dc5c9 (patch) | |
tree | 61d8907bd8d06ed9113c5c4412f7222a844e38f6 /src/test/test-copy.c | |
parent | eea0b59193f37fcc9ee227de26d0009e6bdc6d92 (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/test-copy.c')
0 files changed, 0 insertions, 0 deletions