1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 15:21:37 +03:00
Commit Graph

271 Commits

Author SHA1 Message Date
Lennart Poettering
abc5bbc6f0 logind: allow to create multiple sessions on non-multi-session seats to deal with left-over sessions 2012-01-18 13:56:02 +01:00
Michal Schmidt
d200735e13 dbus: more efficient implementation of properties
The way the various properties[] arrays are initialized is inefficient:
 - only the .data members change at runtime, yet the whole arrays of
   properties with all the fields are constructed on the stack one by
   one by the code.
 - there's duplication, eg. the properties of "org.freedesktop.systemd1.Unit"
   are repeated in several unit types.

Fix it by moving the information about properties into static const
sections. Instead of storing the .data directly in the property, store
a constant offset from a run-time base.
The small arrays of struct BusBoundProperties bind together the constant
information with the right runtime information (the base pointer).

On my system the code shrinks by 60 KB, data increases by 10 KB.
2012-01-16 13:34:42 +01:00
Michal Schmidt
1637a8be55 logind: downgrade login message to debug
The messages make people nervous.

https://bugzilla.redhat.com/show_bug.cgi?id=727315
2012-01-16 13:18:17 +01:00
Lennart Poettering
6ef25fb65e pam: fix build 2012-01-13 20:52:45 +01:00
Lennart Poettering
fc7985ed67 pam: work correctly if a seat is specified but not vtnr 2012-01-13 20:51:58 +01:00
Lennart Poettering
ebda471d89 sd-login: teach sd_pid_get_unit() proper handling of instantiated services 2012-01-13 00:49:02 +01:00
Lennart Poettering
4cfa2c999d core: switch all log targets to go directly to the journal, instead via syslog 2012-01-12 05:09:06 +01:00
Lennart Poettering
eff406331a login: implement sd_session_get_service() 2012-01-05 23:14:22 +01:00
Lennart Poettering
81527be142 build-sys: move public header files into a dir of their own 2012-01-05 16:01:58 +01:00
Kay Sievers
4726299357 logind: add needed include for sd_notify() 2012-01-05 00:52:56 +01:00
Lennart Poettering
e6960940b6 journald: parse configuration file 2012-01-04 20:40:04 +01:00
Lennart Poettering
94fb446e55 journald: store _SYSTEMD_UNIT= instead of _SYSTEMD_SERVICE= field, since processes might also be related to mount, swap or socket units, not just services 2012-01-04 15:35:30 +01:00
Lennart Poettering
bda061759c logind: send out Lock signal when locking 2012-01-03 23:08:15 +01:00
Lennart Poettering
976c088a02 logind: don't watch vcsa if nobody cares 2012-01-03 21:50:02 +01:00
Lennart Poettering
addedec48b logind: if we can't open /dev/tty0, assume there is no VT subsystem and don't pretend we could do VT switching 2012-01-03 21:47:54 +01:00
Lennart Poettering
9847946e12 login: introduce sd_pid_get_service() 2012-01-03 21:08:58 +01:00
Lennart Poettering
927f62bd54 login: move systemd-user-sessions.service into login/, too 2011-12-31 19:45:41 +01:00
Lennart Poettering
be5f4385d6 login: move the PAM module to src/login/ since it is just a client to logind 2011-12-31 18:06:56 +01:00
Lennart Poettering
9c5b60ca5f login: move libsystemd-login.pc.in into src/login/ 2011-12-31 13:37:23 +01:00
Lennart Poettering
4deba28559 logind: move more files into subdirectory 2011-12-31 03:24:31 +01:00
Lennart Poettering
4bba9156da logind: move logind into its own subdirectory 2011-12-31 03:16:08 +01:00