Use polkit_unix_process_get_uid() to get the owner of a process
authorDavid Zeuthen <davidz@redhat.com>
Fri, 1 Apr 2011 16:12:27 +0000 (12:12 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Fri, 1 Apr 2011 16:12:27 +0000 (12:12 -0400)
commitc23d74447c7615dc74dae259f0fc3688ec988867
tree8d15c7623c26394f57d5670924f3e1d324e152d0
parent129b6223a19e7fb2753f8cad7957ac5402394076
Use polkit_unix_process_get_uid() to get the owner of a process

This avoids a TOCTTOU problem.

Signed-off-by: David Zeuthen <davidz@redhat.com>
src/polkitbackend/polkitbackendsessionmonitor.c