Systemd/src/shared
Lennart Poettering 069cfc85f8 logind: optionally handle power, sleep and lid switch events
This takes handling of chassis power and sleep keys as well as the lid
switch over from acpid.

This logic is enabled by default for power and sleep keys, but not for
the lid switch.

If a graphical session is in the foreground no action is taken under the
assumption that the graphical session does this.
2012-05-30 15:01:51 +02:00
..
linux build-sys: move src/linux/ to src/shared/linux 2012-04-12 18:27:35 +02:00
acl-util.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
acl-util.h relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
ask-password-api.c move remainig shared stuff to shared/ 2012-04-12 15:11:39 +02:00
ask-password-api.h build-sys: move a few things into more appropriate places 2012-04-12 13:35:56 +02:00
audit.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
audit.h relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
capability.c capabilities: when dropping capabilities system-wide also drop them from usermode helpers 2012-05-29 23:35:17 +02:00
capability.h capabilities: when dropping capabilities system-wide also drop them from usermode helpers 2012-05-29 23:35:17 +02:00
cgroup-label.c cgroup: if a controller is not available don't try to create cgroups in its hierarchy 2012-04-16 18:59:07 +02:00
cgroup-show.c util: split-out path-util.[ch] 2012-05-08 02:33:10 +02:00
cgroup-show.h systemctl: show main and control PID explicitly in cgroup-show 2012-04-16 18:59:40 +02:00
cgroup-util.c util: split-out path-util.[ch] 2012-05-08 02:33:10 +02:00
cgroup-util.h logind: remove redundant entries from logind's default controller lists too 2012-04-16 19:15:00 +02:00
conf-files.c util: split-out path-util.[ch] 2012-05-08 02:33:10 +02:00
conf-files.h util: split-out conf-file.[ch] 2012-05-07 19:01:24 +02:00
conf-parser.c util: split-out path-util.[ch] 2012-05-08 02:33:10 +02:00
conf-parser.h relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
dbus-common.c logind: implement delay inhibitor locks in addition to block inhibitor locks 2012-05-05 00:36:08 +02:00
dbus-common.h logind: implement delay inhibitor locks in addition to block inhibitor locks 2012-05-05 00:36:08 +02:00
dbus-loop.c move remainig shared stuff to shared/ 2012-04-12 15:11:39 +02:00
dbus-loop.h move remainig shared stuff to shared/ 2012-04-12 15:11:39 +02:00
def.h move remainig shared stuff to shared/ 2012-04-12 15:11:39 +02:00
dev-setup.c udev: unify /dev static symlink setup 2012-04-17 22:31:38 +02:00
dev-setup.h udev: unify /dev static symlink setup 2012-04-17 22:31:38 +02:00
exit-status.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
exit-status.h relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
hashmap.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
hashmap.h relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
hwclock.c util: split-out hwclock.[ch] 2012-05-08 01:57:17 +02:00
hwclock.h util: split-out hwclock.[ch] 2012-05-08 01:57:17 +02:00
install.c manager: rework generator logic 2012-05-23 03:43:29 +02:00
install.h move more common files to shared/ and add them to shared.la 2012-04-12 02:39:37 +02:00
ioprio.h move list.h, macro.h, ioprio.h to shared/ 2012-04-10 19:47:00 +02:00
label.c util: split-out path-util.[ch] 2012-05-08 02:33:10 +02:00
label.h selinux: unify systemd and udev code 2012-04-17 16:05:28 +02:00
list.h relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
log.c log: make sure generators never log into the journal to avoid activation deadlocks 2012-05-22 22:00:37 +02:00
log.h log: make sure generators never log into the journal to avoid activation deadlocks 2012-05-22 22:00:37 +02:00
logs-show.c fix a couple of things found with the llvm static analyzer 2012-04-13 13:58:50 +02:00
logs-show.h move more common files to shared/ and add them to shared.la 2012-04-12 02:39:37 +02:00
macro.h util: split-out hwclock.[ch] 2012-05-08 01:57:17 +02:00
Makefile build-sys: add stub makefiles to make emacs easier to use 2012-04-12 13:35:56 +02:00
missing.h missing: Fix broken syscall(__NR_fanotify_mark... on ppc32 2012-05-14 22:57:07 +02:00
mkdir.c mkdir: do not use alloca() in a loop 2012-04-17 16:05:28 +02:00
mkdir.h relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
pager.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
pager.h relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
path-lookup.c manager: rework generator logic 2012-05-23 03:43:29 +02:00
path-lookup.h manager: rework generator logic 2012-05-23 03:43:29 +02:00
path-util.c util: split-out path-util.[ch] 2012-05-08 02:33:10 +02:00
path-util.h path-util: there is no function path_parent() 2012-05-08 23:37:25 +02:00
polkit.c logind: add shutdown/suspend/idle inhibition framework 2012-04-16 18:59:08 +02:00
polkit.h move remainig shared stuff to shared/ 2012-04-12 15:11:39 +02:00
ratelimit.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
ratelimit.h relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
set.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
set.h relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
socket-label.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
socket-util.c util: split-out path-util.[ch] 2012-05-08 02:33:10 +02:00
socket-util.h relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
spawn-ask-password-agent.c move more common files to shared/ and add them to shared.la 2012-04-12 02:39:37 +02:00
spawn-ask-password-agent.h move more common files to shared/ and add them to shared.la 2012-04-12 02:39:37 +02:00
spawn-polkit-agent.c polkit: spawn agent in --fallback mode 2012-04-13 21:52:42 +02:00
spawn-polkit-agent.h move more common files to shared/ and add them to shared.la 2012-04-12 02:39:37 +02:00
specifier.c move more common files to shared/ and add them to shared.la 2012-04-12 02:39:37 +02:00
specifier.h move more common files to shared/ and add them to shared.la 2012-04-12 02:39:37 +02:00
strv.c manager: rework generator logic 2012-05-23 03:43:29 +02:00
strv.h manager: rework generator logic 2012-05-23 03:43:29 +02:00
unit-name.c util: split-out path-util.[ch] 2012-05-08 02:33:10 +02:00
unit-name.h move more common files to shared/ and add them to shared.la 2012-04-12 02:39:37 +02:00
utf8.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
utf8.h relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
util.c logind: optionally handle power, sleep and lid switch events 2012-05-30 15:01:51 +02:00
util.h logind: optionally handle power, sleep and lid switch events 2012-05-30 15:01:51 +02:00
utmp-wtmp.c util: split-out path-util.[ch] 2012-05-08 02:33:10 +02:00
utmp-wtmp.h move more common files to shared/ and add them to shared.la 2012-04-12 02:39:37 +02:00
virt.c util: unify getenv() logic for other PID 2012-04-22 15:00:42 +02:00
virt.h relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
watchdog.c move more common files to shared/ and add them to shared.la 2012-04-12 02:39:37 +02:00
watchdog.h move more common files to shared/ and add them to shared.la 2012-04-12 02:39:37 +02:00