Systemd/src/login
Lennart Poettering 4f9ff96a55 conf-parser: return mtime in config_parse() and friends
This is a follow-up for 9f83091e3c.

Instead of reading the mtime off the configuration files after reading,
let's do so before reading, but with the fd we read the data from. This
is not only cleaner (as it allows us to save one stat()), but also has
the benefit that we'll detect changes that happen while we read the
files.

This also reworks unit file drop-ins to use the common code for
determining drop-in mtime, instead of reading system clock for that.
2020-06-02 19:32:20 +02: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 Re-add uaccess tag for /dev/dri/renderD* 2019-03-14 11:08:58 +01:00
71-seat.rules.in Revert "Support Plugable UD-PRO8 dock" 2020-02-10 17:19:52 +01:00
73-seat-late.rules.m4 login/meson.build: require ACL for uaccess rules 2018-01-27 10:55:32 +01:00
inhibit.c tree-wide: use table_log_add_error() 2020-01-10 18:28:30 +09:00
loginctl.c loginctl: define loop iterators in the loop header 2020-05-31 18:38:16 +02:00
logind-acl.c basic/set: let set_put_strdup() create the set with string hash ops 2020-05-06 16:54:06 +02:00
logind-acl.h logind: replace udev_device by sd_device 2018-08-23 04:57:39 +09:00
logind-action.c Revert "logind: remove unused check" 2019-08-04 05:44:36 +09:00
logind-action.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
logind-brightness.c Fix typo in comment: overide -> override 2019-09-05 07:39:36 +09:00
logind-brightness.h logind: add SetBrightness() bus call for setting brightness of leds/backlight devices associated with a seat 2019-05-24 15:05:27 +02:00
logind-button.c tree-wide: drop input.h when missing_input.h is included 2019-11-04 00:30:32 +09:00
logind-button.h tree-wide: add whitespace between type and variable name 2018-12-04 09:29:54 +01:00
logind-core.c conf-parser: return mtime in config_parse() and friends 2020-06-02 19:32:20 +02:00
logind-dbus.c efi: cache LoaderEntries EFI variable 2020-05-29 15:40:01 +02:00
logind-dbus.h logind: convert to the new scheme 2020-05-05 22:33:52 +02:00
logind-device.c logind: drop {} 2019-10-21 09:33:19 +02:00
logind-device.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
logind-gperf.gperf login: limit nr_inodes for /run/user/$UID 2020-05-24 22:54:17 +02:00
logind-inhibit.c tree-wide: drop string.h when string-util.h or friends are included 2019-11-04 00:30:32 +09:00
logind-inhibit.h logind: make id const, since it points into another buffer 2019-07-23 16:08:07 +02:00
logind-seat-dbus.c logind: convert to the new scheme 2020-05-05 22:33:52 +02:00
logind-seat-dbus.h logind: convert to the new scheme 2020-05-05 22:33:52 +02:00
logind-seat.c sd-login: get rid of seat_can_multi_session() 2020-04-17 16:15:30 +02:00
logind-seat.h sd-login: get rid of seat_can_multi_session() 2020-04-17 16:15:30 +02:00
logind-session-dbus.c logind: convert to the new scheme 2020-05-05 22:33:52 +02:00
logind-session-dbus.h logind: convert to the new scheme 2020-05-05 22:33:52 +02:00
logind-session-device.c tree-wide: drop input.h when missing_input.h is included 2019-11-04 00:30:32 +09:00
logind-session-device.h tree-wide: replace 'unsigned int' with 'unsigned' 2018-10-19 22:19:12 +02:00
logind-session.c Add SetType method to login Session interface 2020-04-30 21:29:26 +02:00
logind-session.h Add SetType method to login Session interface 2020-04-30 21:29:26 +02:00
logind-user-dbus.c logind: convert to the new scheme 2020-05-05 22:33:52 +02:00
logind-user-dbus.h logind: convert to the new scheme 2020-05-05 22:33:52 +02:00
logind-user.c logind: use loop instead of repeated code 2020-01-17 08:13:09 +01:00
logind-user.h logind: port to UserRecord object 2020-01-15 15:29:17 +01:00
logind-utmp.c tree-wide: drop pwd.h and grp.h when user-util.h is included 2019-11-04 00:30:32 +09:00
logind.c efi: cache LoaderEntries EFI variable 2020-05-29 15:40:01 +02:00
logind.conf.in login: limit nr_inodes for /run/user/$UID 2020-05-24 22:54:17 +02:00
logind.h efi: cache LoaderEntries EFI variable 2020-05-29 15:40:01 +02:00
meson.build login: move file definitions outside of the conditionalization 2019-07-05 17:55:49 +02:00
org.freedesktop.login1.conf Add SetType method to login Session interface 2020-04-30 21:29:26 +02:00
org.freedesktop.login1.policy login: allow non-console sessions to change vt 2020-03-19 09:29:23 +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: set legacy D-Bus path only if the runtime directory is validated 2020-05-27 22:47:30 +02:00
pam_systemd.sym logind: drop old-style header from .sym file in favour of SPDX 2019-07-04 12:35:14 +09:00
sysfs-show.c tree-wide: drop string.h when string-util.h or friends are included 2019-11-04 00:30:32 +09:00
sysfs-show.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
systemd-user.m4 login: include pam_systemd_home.so in the default PAM snippet we ship for user@.service 2020-05-06 22:30:07 +02:00
test-inhibit.c test: stop using dup() needlessly 2019-04-02 12:45:46 +02: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 login: limit nr_inodes for /run/user/$UID 2020-05-24 22:54:17 +02:00