summaryrefslogtreecommitdiff
path: root/src/shared/polkit.c
AgeCommit message (Collapse)Author
2013-09-18polkit: Avoid race condition in scraping /procColin Walters
If a calling process execve()s a setuid program, it can appear to be uid 0. Since we're receiving requests over DBus, avoid this by simply passing system-bus-name as a subject.
2013-02-13build-sys: make PolicyKit support compile-time optional (was ↵Lennart Poettering
runtime-optional already)
2012-11-15polkit: if PK is not around, consider this a permission denied errorLennart Poettering
Uninstalling PK should cleanly disable PK authorization but not result in further runtime errors.
2012-11-14polkit: fix type on comparisonLennart Poettering
2012-11-09dbus: when verifying PK privs, bypass PK if uid=0 of clientLennart Poettering
This reduces the number of roundtrips when the client is privileged and makes the PK dep optional for root clients.
2012-04-16logind: add shutdown/suspend/idle inhibition frameworkLennart Poettering
2012-04-12move remainig shared stuff to shared/Kay Sievers