Systemd/src/shared
Zbigniew Jędrzejewski-Szmek e8f1d00d69 shared/sleep-config: add switches to kill specific sleep modes
/etc/systemd/sleep.conf gains four new switches:
AllowSuspend=, AllowHibernation=, AllowSuspendThenHibernate=, AllowHybridSleep=.

Disabling specific modes was already possible by masking suspend.target,
hibernate.target, suspend-then-hibernate.target, or hybrid-sleep.target.
But this is not convenient for distributions, which want to set some defaults
based on what they want to support. Having those available as configuration
makes it easy to put a config file in /usr/lib/systemd/sleep.conf.d/ that
overrides the defaults and gives instructions how to undo that override.
2018-10-08 18:21:00 +02:00
..
linux tree-wide: beautify remaining copyright statements 2018-06-14 10:20:21 +02:00
linux-3.13 Avoid strict DM interface version dependencies (#5519) 2017-03-02 19:11:37 +01:00
acl-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
acl-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
acpi-fpdt.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
acpi-fpdt.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
apparmor-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
apparmor-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
ask-password-api.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
ask-password-api.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
base-filesystem.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
base-filesystem.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
boot-timestamps.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
boot-timestamps.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bootspec.c shared/bootspec: remember the full path to boot entry and use it in logging 2018-10-08 17:05:17 +02:00
bootspec.h shared/bootspec: remember the full path to boot entry and use it in logging 2018-10-08 17:05:17 +02:00
bus-unit-util.c Make Watchdog Signal Configurable 2018-09-26 16:14:29 +02:00
bus-unit-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
bus-util.c bus-util: make --property= optionally take value 2018-09-12 12:11:25 +09:00
bus-util.h bus-util: use _printf_ attribute 2018-09-15 01:50:59 +09:00
cgroup-show.c tree-wide: use typesafe_qsort() 2018-09-19 08:02:52 +09:00
cgroup-show.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
clean-ipc.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
clean-ipc.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
condition.c user-util: rework get_user_creds() 2018-08-20 15:58:21 +02:00
condition.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
conf-parser.c conf-parser,login: logs description of error in parsing size 2018-07-03 15:18:04 +02:00
conf-parser.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dev-setup.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dev-setup.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dissect-image.c tree-wide: replace device_enumerator_scan_devices()+FOREACH_DEVICE_AND_SUBSYSTEM() by FOREACH_DEVICE() 2018-09-10 16:48:37 +09:00
dissect-image.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dns-domain.c dns-domain: use CMP() in dns_name_compare_func 2018-08-06 19:26:44 -07:00
dns-domain.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
dropin.c Drop my copyright headers 2018-06-14 13:03:20 +02:00
dropin.h Drop my copyright headers 2018-06-14 13:03:20 +02:00
efivars.c tree-wide: use typesafe_qsort() 2018-09-19 08:02:52 +09:00
efivars.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
fdset.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
fdset.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
firewall-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
firewall-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
fstab-util.c Drop my copyright headers 2018-06-14 13:03:20 +02:00
fstab-util.h Drop my copyright headers 2018-06-14 13:03:20 +02:00
generator.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
generator.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
gpt.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
ima-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
ima-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
import-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
import-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
initreq.h tree-wide: use '#pragma once' for header guard 2018-08-30 06:10:43 +03:00
install-printf.c Drop my copyright headers 2018-06-14 13:03:20 +02:00
install-printf.h Drop my copyright headers 2018-06-14 13:03:20 +02:00
install.c install: small refactor to combine two function calls into one function 2018-08-27 23:56:31 +00:00
install.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
journal-util.c Drop my copyright headers 2018-06-14 13:03:20 +02:00
journal-util.h tree-wide: add multiple inclusion guard 2018-06-25 13:04:59 +09:00
libshared.sym tree-wide: tabs suck (#8527) 2018-03-23 15:21:35 +01:00
logs-show.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
logs-show.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
loop-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
loop-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
machine-image.c tree-wide: use DEFINE_TRIVIAL_REF_UNREF_FUNC() macro or friends where applicable 2018-08-27 14:01:46 +09:00
machine-image.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
machine-pool.c btrfs: log at debug log when we ignore errors 2018-09-24 19:47:42 +02:00
machine-pool.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
meson.build meson: drop parens when appending to list 2018-07-31 21:02:01 +09:00
module-util.c shared/module-util: fix preexisting mixup with errno sign 2018-07-19 18:28:21 +02:00
module-util.h udev-builtin-kmod: use the generic module_load() function 2018-07-19 18:28:21 +02:00
nsflags.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
nsflags.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
output-mode.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
output-mode.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
path-lookup.c shared/path-lookup: remove unnecessary 'if' to help gcc 2018-06-20 10:57:51 +02:00
path-lookup.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
ptyfwd.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
ptyfwd.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolve-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
resolve-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
seccomp-util.c seccomp: tighten checking of seccomp filter creation 2018-09-24 17:21:09 +02:00
seccomp-util.h seccomp: reduce logging about failure to add syscall to seccomp 2018-09-24 17:21:09 +02:00
sleep-config.c shared/sleep-config: add switches to kill specific sleep modes 2018-10-08 18:21:00 +02:00
sleep-config.h shared/sleep-config: add switches to kill specific sleep modes 2018-10-08 18:21:00 +02:00
spawn-ask-password-agent.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
spawn-ask-password-agent.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
spawn-polkit-agent.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
spawn-polkit-agent.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
specifier.c tree-wide: drop empty lines in comments 2018-07-23 08:44:24 +02:00
specifier.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
switch-root.c tree-wide: drop copyright lines for more authors 2018-06-22 16:39:45 +02:00
switch-root.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
sysctl-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
sysctl-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
test-tables.h Drop my copyright headers 2018-06-14 13:03:20 +02:00
tests.c tests: add a helper function to skip with errno 2018-09-14 09:29:57 +02:00
tests.h tests: add a helper function to skip with errno 2018-09-14 09:29:57 +02:00
tomoyo-util.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
tomoyo-util.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
udev-util.c udev: move udev cleanup functions from udev-util.h to udev.h 2018-08-23 04:57:39 +09:00
udev-util.h udev: move udev cleanup functions from udev-util.h to udev.h 2018-08-23 04:57:39 +09:00
uid-range.c tree-wide: use typesafe_qsort() 2018-09-19 08:02:52 +09:00
uid-range.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
utmp-wtmp.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
utmp-wtmp.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
vlan-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
vlan-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
volatile-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
volatile-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
watchdog.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
watchdog.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
wireguard-netlink.h networkd: add support for wireguard interface type 2018-01-09 14:00:49 +01:00