Systemd/src/login
Lennart Poettering 7410616cd9 core: rework unit name validation and manipulation logic
A variety of changes:

- Make sure all our calls distuingish OOM from other errors if OOM is
  not the only error possible.

- Be much stricter when parsing escaped paths, do not accept trailing or
  leading escaped slashes.

- Change unit validation to take a bit mask for allowing plain names,
  instance names or template names or an combination thereof.

- Refuse manipulating invalid unit name
2015-05-05 15:06:42 -07:00
..
.gitignore build-sys: create "compatibility libraries" section 2014-01-25 18:10:08 -05:00
70-power-switch.rules logind: add support for TPS65217 Power Button 2014-09-27 19:29:45 -04:00
70-uaccess.rules rules: uaccess - add ID_SOFTWARE_RADIO 2014-07-15 17:35:53 +02:00
71-seat.rules.in Move udevadm to rootbindir 2013-03-11 07:18:33 +01:00
73-seat-late.rules.in relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
inhibit.c shared: add process-util.[ch] 2015-04-10 23:54:49 +02:00
loginctl.c shared: add terminal-util.[ch] 2015-04-11 00:34:02 +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 remove unused includes 2015-02-23 23:53:42 +01:00
logind-button.h remove unused includes 2015-02-23 23:53:42 +01:00
logind-core.c shared: add terminal-util.[ch] 2015-04-11 00:34:02 +02:00
logind-dbus.c sd-bus: allow passing NULL as bus parameter to sd_bus_send() 2015-04-29 18:58:30 +02: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 shared: add formats-util.h 2015-04-10 23:54:48 +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 shared: add terminal-util.[ch] 2015-04-11 00:34:02 +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 sd-bus: drop bus parameter from message callback prototype 2015-04-29 18:36:25 +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 shared: add terminal-util.[ch] 2015-04-11 00:34:02 +02:00
logind-session.h sd-bus: drop bus parameter from message callback prototype 2015-04-29 18:36:25 +02:00
logind-user-dbus.c sd-bus: drop bus parameter from message callback prototype 2015-04-29 18:36:25 +02:00
logind-user.c core: rework unit name validation and manipulation logic 2015-05-05 15:06:42 -07: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: add support for /run/nologin and /run/systemd/shutdown/scheduled 2015-04-24 17:48:12 +02:00
logind.conf login: make hold-off timeout configurable 2015-03-06 14:37:09 +01:00
logind.h sd-bus: drop bus parameter from message callback prototype 2015-04-29 18:36:25 +02:00
Makefile logind: move logind into its own subdirectory 2011-12-31 03:16:08 +01:00
org.freedesktop.login1.conf logind,systemctl: add reboot to EFI firmware support 2015-04-07 18:51:45 +02: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 pam_system: use (void) to silence coverity 2015-04-12 22:41:20 -04: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 Add more tests and fix capability logging 2013-09-19 16:22:59 -05:00
test-login-tables.c tests: add tests for string lookup tables 2013-07-05 01:36:16 -04:00