summaryrefslogtreecommitdiff
path: root/src/shared/spawn-polkit-agent.c
AgeCommit message (Collapse)Author
2014-11-10shared: explicitly ignore the return value of wait_for_terminateRonny Chevalier
CID#1237532 CID#1237523 CID#1237522
2014-07-29time-util: add and use USEC/NSEC_INFINIYKay Sievers
2014-03-18util: replace close_nointr_nofail() by a more useful safe_close()Lennart Poettering
safe_close() automatically becomes a NOP when a negative fd is passed, and returns -1 unconditionally. This makes it easy to write lines like this: fd = safe_close(fd); Which will close an fd if it is open, and reset the fd variable correctly. By making use of this new scheme we can drop a > 200 lines of code that was required to test for non-negative fds or to reset the closed fd variable afterwards.
2013-02-13build-sys: make PolicyKit support compile-time optional (was ↵Lennart Poettering
runtime-optional already)
2012-04-13polkit: spawn agent in --fallback modeLennart Poettering
2012-04-12move more common files to shared/ and add them to shared.laKay Sievers