Make PolkitUnixProcess also record the uid of the process
authorDavid Zeuthen <davidz@redhat.com>
Fri, 1 Apr 2011 16:09:45 +0000 (12:09 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Fri, 1 Apr 2011 16:09:45 +0000 (12:09 -0400)
commit129b6223a19e7fb2753f8cad7957ac5402394076
treee437a160de83736418e933a5e6dee62d48f72501
parentdd848a42a64a3b22a0cc60f6657b56ce9b6010ae
Make PolkitUnixProcess also record the uid of the process

This is needed to avoid possible TOCTTOU issues since a process can
change both its real uid and effective uid.

Signed-off-by: David Zeuthen <davidz@redhat.com>
docs/polkit/polkit-1-sections.txt
src/polkit/polkitsubject.c
src/polkit/polkitunixprocess.c
src/polkit/polkitunixprocess.h