Systemd/src/login
Thomas Hindoe Paaboel Andersen 88231eb62c logind: actually fail on OOM
Since dacd6cee76 the two OOM's are
ignored as the value of r will be overwritten and we only log in
the fail section anyway.

This patch jumps to fail on OOM.

Note that this is different behavior compared to both the current
code and previous to dacd6cee76. Before
that commit we would log that saving the inhibit data failed, but
still write the file, though without the WHO/WHY section.

CID# 1313545
2015-08-13 23:53:49 +02:00
..
.gitignore build-sys: create "compatibility libraries" section 2014-01-25 18:10:08 -05:00
70-power-switch.rules logind: add standard gpio power button support 2015-08-03 04:04:27 +02:00
70-uaccess.rules rules: uaccess - add ID_SOFTWARE_RADIO 2014-07-15 17:35:53 +02:00
71-seat.rules.in treewide: fix typos 2015-07-06 12:51:16 +02:00
73-seat-late.rules.in relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
inhibit.c sd-bus: introduce new sd_bus_flush_close_unref() call 2015-07-03 19:49:03 +02:00
loginctl.c tree-wide: use free_and_strdup() 2015-07-30 13:09:01 +02:00
logind-acl.c shared: add formats-util.h 2015-04-10 23:54:48 +02:00
logind-acl.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
logind-action.c shared: add terminal-util.[ch] 2015-04-11 00:34:02 +02:00
logind-action.h remove unused includes 2015-02-23 23:53:42 +01:00
logind-button.c logind: rework display counting when detecting whether the system is docked 2015-06-17 15:41:25 +02:00
logind-button.h remove unused includes 2015-02-23 23:53:42 +01:00
logind-core.c logind: switch to sd_bus_track helper 2015-08-05 17:06:45 +02:00
logind-dbus.c logind,machined: various smaller cleanups 2015-08-06 16:54:00 +03:00
logind-device.c remove unused includes 2015-02-23 23:53:42 +01:00
logind-device.h remove unused includes 2015-02-23 23:53:42 +01:00
logind-gperf.gperf login: make hold-off timeout configurable 2015-03-06 14:37:09 +01:00
logind-inhibit.c logind: actually fail on OOM 2015-08-13 23:53:49 +02:00
logind-inhibit.h remove unused includes 2015-02-23 23:53:42 +01:00
logind-seat-dbus.c sd-bus: drop bus parameter from message callback prototype 2015-04-29 18:36:25 +02:00
logind-seat.c tree-wide: port everything over to fflush_and_check() 2015-07-29 20:31:07 +02:00
logind-seat.h sd-bus: drop bus parameter from message callback prototype 2015-04-29 18:36:25 +02:00
logind-session-dbus.c everywhere: actually make use of DUAL_TIMESTAMP_NULL macro 2015-06-16 01:08:12 +02:00
logind-session-device.c remove unused includes 2015-02-23 23:53:42 +01:00
logind-session-device.h remove unused includes 2015-02-23 23:53:42 +01:00
logind-session.c logind,machined: various smaller cleanups 2015-08-06 16:54:00 +03:00
logind-session.h logind: switch to sd_bus_track helper 2015-08-05 17:06:45 +02:00
logind-user-dbus.c property callback returns are consistent 2015-07-08 14:37:25 +02:00
logind-user.c tree-wide: port everything over to fflush_and_check() 2015-07-29 20:31:07 +02:00
logind-user.h sd-bus: drop bus parameter from message callback prototype 2015-04-29 18:36:25 +02:00
logind-utmp.c logind: kill newline characters from log_error_errno() calls 2015-04-24 21:44:51 +02:00
logind.c logind,machined: various smaller cleanups 2015-08-06 16:54:00 +03:00
logind.conf login: make hold-off timeout configurable 2015-03-06 14:37:09 +01:00
logind.h logind: switch to sd_bus_track helper 2015-08-05 17:06:45 +02:00
Makefile logind: move logind into its own subdirectory 2011-12-31 03:16:08 +01:00
org.freedesktop.login1.conf logind: bring bus policy up-to-date 2015-07-11 17:03:42 -03:00
org.freedesktop.login1.policy.in logind,systemctl: add reboot to EFI firmware support 2015-04-07 18:51:45 +02:00
org.freedesktop.login1.service relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
pam_systemd.c logind: fail on CreateSession if already in session 2015-07-07 19:38:41 +02:00
pam_systemd.sym pam_systemd: replace regex with sym file 2014-06-21 15:45:49 +02:00
sysfs-show.c shared: add terminal-util.[ch] 2015-04-11 00:34:02 +02:00
sysfs-show.h build-sys: move core/build.h → shared/build.h 2014-12-23 21:05:28 +01:00
systemd-user login: update systemd-user PAM configuration file 2014-07-29 13:20:20 +02:00
test-inhibit.c remove unused includes 2015-02-23 23:53:42 +01:00
test-login-shared.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
test-login-tables.c tests: add tests for string lookup tables 2013-07-05 01:36:16 -04:00