user: CVE-2012-2737: verify caller through bus in more cases
authorRay Strode <rstrode@redhat.com>
Tue, 19 Jun 2012 18:02:42 +0000 (14:02 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 28 Jun 2012 15:28:15 +0000 (11:28 -0400)
commitbd51aa4cdac380f55d607f4ffdf2ab3c00d08721
tree2f809d6f1cdc6b76a4b0f6b02e141c7452ac1914
parent26213aa0e0d8dca5f36cc23f6942525224cbe9f5
user: CVE-2012-2737: verify caller through bus in more cases

The previous commit changed the SetIconFile call to identify
the uid of the calling process via cached peer credentials
stored by the bus daemon.

This commit fixes other similar cases where we try to figure
out process identity on our own instead of through the bus
daemon.
src/user.c