Systemd/src/login
Zbigniew Jędrzejewski-Szmek 8340b762e4 Revert "sleep: offer hibernation only if the kernel image still exists"
This reverts commit edda44605f.

The kernel explicitly supports resuming with a different kernel than the one
used before hibernation. If this is something that shouldn't be supported, the
place to change this is in the kernel. We shouldn't censor something that this
exclusively in the kernel's domain.

People might be using this to switch kernels without restaring programs, and
we'd break this functionality for them.

Also, even if resuming with a different kernel was a bad idea, we don't really
prevent that with this check, since most users have more than one kernel and
can freely pick a different one from the menu. So this only affected the corner
case where the kernel has been removed, but there is no reason to single it
out.
2018-12-21 18:23:17 +01:00
..
70-power-switch.rules Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
70-uaccess.rules.m4 Do not apply uaccess tag for /dev/kvm if mode is 0666 2018-07-13 23:38:55 +02:00
71-seat.rules.in login: Don't mark framebuffer devices as master-of-seat devices 2018-11-06 20:02:26 +03:00
73-seat-late.rules.m4 login/meson.build: require ACL for uaccess rules 2018-01-27 10:55:32 +01:00
inhibit.c Merge pull request #10935 from poettering/rlimit-nofile-safe 2018-12-06 17:19:21 +01:00
loginctl.c tree-wide: specify all table headers in lower-case 2018-12-03 22:42:38 +01:00
logind-acl.c login: use log_device_*() 2018-10-23 22:44:07 +09:00
logind-acl.h logind: replace udev_device by sd_device 2018-08-23 04:57:39 +09:00
logind-action.c logind: voidify more things 2018-11-16 21:50:37 +01:00
logind-action.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
logind-button.c util: drop missing.h from util.h 2018-12-04 10:00:34 +01:00
logind-button.h tree-wide: add whitespace between type and variable name 2018-12-04 09:29:54 +01:00
logind-core.c tree-wide: port various places over to STARTSWITH_SET() 2018-11-26 14:08:46 +01:00
logind-dbus.c Revert "sleep: offer hibernation only if the kernel image still exists" 2018-12-21 18:23:17 +01:00
logind-device.c logind: ensure seat0 CanGraphical state is written 2018-10-06 16:52:48 +02:00
logind-device.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
logind-gperf.gperf logind: optionally, keep the user@.service instance for eached logged in user around for a while 2018-10-13 12:59:29 +02:00
logind-inhibit.c util-lib: split out env file parsing code into env-file.c 2018-12-02 13:22:29 +01:00
logind-inhibit.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
logind-seat-dbus.c util: drop missing.h from util.h 2018-12-04 10:00:34 +01:00
logind-seat.c util-lib: split out all temporary file related calls into tmpfiles-util.c 2018-12-02 13:22:29 +01:00
logind-seat.h tree-wide: replace 'unsigned int' with 'unsigned' 2018-10-19 22:19:12 +02:00
logind-session-dbus.c util: drop missing.h from util.h 2018-12-04 10:00:34 +01:00
logind-session-device.c missing: re-add drm related entries 2018-12-07 12:46:55 +01:00
logind-session-device.h tree-wide: replace 'unsigned int' with 'unsigned' 2018-10-19 22:19:12 +02:00
logind-session.c util-lib: split out env file parsing code into env-file.c 2018-12-02 13:22:29 +01:00
logind-session.h logind: make session_restore_vt() static 2018-11-21 14:20:01 +01:00
logind-user-dbus.c util: drop missing.h from util.h 2018-12-04 10:00:34 +01:00
logind-user.c util-lib: split out env file parsing code into env-file.c 2018-12-02 13:22:29 +01:00
logind-user.h logind: add a RequiresMountsFor= dependency from the session scope unit to the home directory of the user 2018-10-13 12:59:29 +02:00
logind-utmp.c tree-wide: replace 'unsigned int' with 'unsigned' 2018-10-19 22:19:12 +02:00
logind.c coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
logind.conf.in Use a dash-truncated drop-in for user-%j.slice configuration 2018-04-25 16:18:45 +02:00
logind.h logind: expose a boolean on the bus explaining whether logind thinks the lid is closed 2018-11-16 15:39:31 +01:00
meson.build logind: change user-runtime-dir to query runtime dir size from logind via the bus 2018-10-13 12:59:29 +02:00
org.freedesktop.login1.conf Rename suspend-to-hibernate to suspend-then-hibernate 2018-03-28 15:11:10 -05:00
org.freedesktop.login1.policy logind: imply right to reboot when user has right to set reboot-to-firmware flag 2018-11-16 15:52:22 +01:00
org.freedesktop.login1.service Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
pam_systemd.c pam_systemd: suppress LOG_DEBUG log messages if debugging is off 2018-11-19 14:03:34 +01:00
pam_systemd.sym tree-wide: drop 'This file is part of systemd' blurb 2018-06-14 10:20:20 +02:00
sysfs-show.c locale-util: prefix special glyph enum values with SPECIAL_GLYPH_ 2018-12-14 08:22:54 +01:00
sysfs-show.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
systemd-user.m4 pam: include pam_keyinit.so in our PAM fragments 2016-12-13 20:59:36 +01:00
test-inhibit.c tree-wide: add whitespace between type and variable name 2018-12-04 09:29:54 +01:00
test-login-shared.c Drop my copyright headers 2018-06-14 13:03:20 +02:00
test-login-tables.c Drop my copyright headers 2018-06-14 13:03:20 +02:00
user-runtime-dir.c Split out part of mount-util.c into mountpoint-util.c 2018-11-29 21:03:44 +01:00