summaryrefslogtreecommitdiff
path: root/src/login/test-inhibit.c
Commit message (Collapse)AuthorAge
* remove unused includesThomas Hindoe Paaboel Andersen2015-02-23
| | | | | | This patch removes includes that are not used. The removals were found with include-what-you-use which checks if any of the symbols from a header is in use.
* Assorted format fixesZbigniew Jędrzejewski-Szmek2015-01-22
| | | | | Types used for pids and uids in various interfaces are unpredictable. Too bad.
* tests: use assert_se instead of assertRonny Chevalier2014-11-30
| | | | Otherwise they can be optimized away with -DNDEBUG
* Remove unnecessary casts in printfsZbigniew Jędrzejewski-Szmek2014-05-15
| | | | No functional change expected :)
* util: replace close_nointr_nofail() by a more useful safe_close()Lennart Poettering2014-03-18
| | | | | | | | | | | | | | | 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.
* login: port test-inhibit to libsystemd-busKay Sievers2013-11-05
|
* logind: use "sleep" as generic term for "suspend", "hibernate", and later on ↵Lennart Poettering2012-05-08
| | | | "hybrid suspend"
* logind: fix test-inhibitLennart Poettering2012-05-08
|
* logind: add shutdown/suspend/idle inhibition frameworkLennart Poettering2012-04-16