summaryrefslogtreecommitdiff
path: root/src/shared/sleep-config.c
Commit message (Expand)AuthorAgeFilesLines
* sleep: don't check for EADVLennart Poettering2021-05-221-1/+1
* sleep: can_sleep_state() + can_sleep_disk() don#t return plain booleansLennart Poettering2021-05-221-2/+2
* sleep: use SleepOperation enum everywhere and drop sleep_settings()Lennart Poettering2021-05-221-89/+58
* sleep: introduce high-level SleepOperation enumLennart Poettering2021-05-221-0/+10
* alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size()Lennart Poettering2021-05-191-4/+2
* tree-wide: avoid uninitialized warning on _cleanup_ variablesLuca Boccassi2021-04-141-1/+1
* various: silence gcc warningsZbigniew Jędrzejewski-Szmek2021-04-011-1/+1
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* Merge pull request #16635 from keszybz/do-not-for-each-wordLennart Poettering2020-09-091-32/+33
|\
| * shared/sleep-config: more logging and port to extract_first_word()Zbigniew Jędrzejewski-Szmek2020-09-041-32/+33
* | tree-wide: if get_block_device() returns zero devno, check for it in all casesLennart Poettering2020-09-081-0/+2
|/
* test-sleep: add more logging, show secure boot modeZbigniew Jędrzejewski-Szmek2020-07-291-1/+7
* sleep-config: modernize destructorsLennart Poettering2020-06-111-3/+3
* sleep-config: downgrade log level in can_s2h()Lennart Poettering2020-06-111-2/+1
* sleep: clean up debug/error loggingLennart Poettering2020-06-111-16/+14
* sleep-config: return correct error codeLennart Poettering2020-06-111-4/+5
* sleep-config: add more debug loggingLennart Poettering2020-06-111-2/+6
* conf-parser: return mtime in config_parse() and friendsLennart Poettering2020-06-021-4/+8
* tree-wide: spellcheck using codespellZbigniew Jędrzejewski-Szmek2020-04-161-1/+1
* sleep: improve log msg slightlyLennart Poettering2020-04-091-1/+1
* shared/sleep-config: do not ignore resume_offset when resume not setZbigniew Jędrzejewski-Szmek2020-01-081-4/+2
* shared/sleep-config: make swap detection stricter againZbigniew Jędrzejewski-Szmek2020-01-081-44/+56
* shared/sleep: use stat() instead of open()+fstat() in one placeZbigniew Jędrzejewski-Szmek2020-01-071-17/+6
* systemd-sleep: always attempt hibernation if configuredZach Smith2020-01-051-33/+84
* shared/sleep-config: fix potential SEGVZbigniew Jędrzejewski-Szmek2019-11-091-5/+6
* tree-wide: drop stdio.h when stdio-util.h is includedYu Watanabe2019-11-041-1/+0
* tree-wide: drop string.h when string-util.h or friends are includedYu Watanabe2019-11-041-1/+0
* shared/sleep-config: two more error handling fixes, use structured initializa...Zbigniew Jędrzejewski-Szmek2019-10-251-13/+14
* shared/sleep-config: fix error handling for openZbigniew Jędrzejewski-Szmek2019-10-251-3/+2
* systemd-sleep: improve /proc/swaps open fail messageZach Smith2019-10-241-1/+1
* systemd-sleep: always prefer resume device or fileZach Smith2019-10-241-37/+180
* Merge pull request #13212 from poettering/sleep-conf-defaultZbigniew Jędrzejewski-Szmek2019-07-291-1/+1
|\
| * man: document default HibernateDelaySec= settingLennart Poettering2019-07-291-1/+1
* | systemd-sleep: use swaps in priority orderZach Smith2019-07-291-30/+66
|/
* systemd-sleep: (bug) use resume_offset value if setZach Smith2019-06-261-0/+1
* systemd-sleep: (bug) honor s2h and hybrid_sleep disable settingsZach Smith2019-05-301-4/+4
* systemd-sleep: refactor sleep config parsingZach Smith2019-05-301-79/+99
* systemd-sleep: replace rtc wakealarm with CLOCK_BOOTTIME_ALARM s2hZach Smith2019-05-281-3/+3
* fix typo in wakealarm messageZach Smith2019-05-131-1/+1
* headers: remove unneeded includes from util.hZbigniew Jędrzejewski-Szmek2019-03-271-0/+3
* sleep: use negative_errno() where appropriateLennart Poettering2019-03-261-2/+2
* Revert "sleep: offer hibernation only if the kernel image still exists"Zbigniew Jędrzejewski-Szmek2018-12-211-75/+1
* util: drop missing.h from util.hYu Watanabe2018-12-041-0/+1
* coccinelle: make use of SYNTHETIC_ERRNOZbigniew Jędrzejewski-Szmek2018-11-221-2/+2
* Revert 5fdf2d51c244288ac41443d1bd81365fab7b7b81Zbigniew Jędrzejewski-Szmek2018-11-211-89/+0
* strv: wrap strv_new() in a macro so that NULL sentinel is implicitLennart Poettering2018-10-311-5/+5
* shared/sleep-config: add switches to kill specific sleep modesZbigniew Jędrzejewski-Szmek2018-10-081-23/+55
* shared/sleep-config: forbid hibernation if resume= is not configuredZbigniew Jędrzejewski-Szmek2018-10-081-3/+92
* sleep-config: library code should not log beyond LOG_DEBUGLennart Poettering2018-07-261-3/+2
* sleep: offer hibernation only if the kernel image still existsLennart Poettering2018-07-261-1/+75