Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-03-18 | util: 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-11-05 | login: port test-inhibit to libsystemd-bus | Kay Sievers | |
2012-05-08 | logind: use "sleep" as generic term for "suspend", "hibernate", and later on ↵ | Lennart Poettering | |
"hybrid suspend" | |||
2012-05-08 | logind: fix test-inhibit | Lennart Poettering | |
2012-04-16 | logind: add shutdown/suspend/idle inhibition framework | Lennart Poettering | |