Systemd/src/login
Lennart Poettering 249968612f bus: always explicitly close bus from main programs
Since b5eca3a205 we don't attempt to GC
busses anymore when unsent messages remain that keep their reference,
when they otherwise are not referenced anymore. This means that if we
explicitly want connections to go away, we need to close them.

With this change we will no do so explicitly wherver we connect to the
bus from a main program (and thus know when the bus connection should go
away), or when we create a private bus connection, that really should go
away after our use.

This fixes connection leaks in the NSS and PAM modules.
2014-08-04 16:25:24 +02:00
..
.gitignore build-sys: create "compatibility libraries" section 2014-01-25 18:10:08 -05:00
70-power-switch.rules login: Use the GOTO properly in udev rule 2012-05-30 18:34:28 +02: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 bus: always explicitly close bus from main programs 2014-08-04 16:25:24 +02:00
loginctl.c bus: always explicitly close bus from main programs 2014-08-04 16:25:24 +02:00
logind-acl.c Small modernizations 2014-07-18 21:45:27 -04:00
logind-acl.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
logind-action.c logind: allow suspending if there are no displays 2014-05-16 19:50:42 +02:00
logind-action.h conf-parser: distinguish between multiple sections with the same name 2013-11-25 19:35:44 +01:00
logind-button.c util: replace close_nointr_nofail() by a more useful safe_close() 2014-03-18 19:31:34 +01:00
logind-button.h logind: detect whether the system is docked, and if it is inhibit lid switch processing 2014-02-24 16:22:23 +01:00
logind-core.c logind: Do not fail display count if a device has no parent 2014-03-11 17:45:24 +01:00
logind-dbus.c Remove unnecessary casts in printfs 2014-05-15 15:29:58 +02:00
logind-device.c Remove dead code and unexport some calls 2013-11-08 18:12:45 +01:00
logind-device.h Remove dead code and unexport some calls 2013-11-08 18:12:45 +01:00
logind-gperf.gperf logind: automatically remove SysV + POSIX IPC objects when the users owning them fully log out 2014-03-14 01:49:44 +01:00
logind-inhibit.c Reject invalid quoted strings 2014-07-31 04:00:31 -04:00
logind-inhibit.h logind: log which process is delaying suspend and not closing locks 2013-11-27 02:39:19 +01:00
logind-seat-dbus.c sd-bus: introduce sd_bus_slot objects encapsulating callbacks or vtables attached to a bus connection 2014-05-15 01:15:30 +02:00
logind-seat.c logind: allow switching to unused VTs via SwitchTo() 2014-07-08 12:56:55 +02:00
logind-seat.h logind: always kill session when termination is requested 2014-02-11 19:14:47 -05:00
logind-session-dbus.c sd-bus: introduce sd_bus_slot objects encapsulating callbacks or vtables attached to a bus connection 2014-05-15 01:15:30 +02:00
logind-session-device.c api: in constructor function calls, always put the returned object pointer first (or second) 2014-02-20 00:03:10 +01:00
logind-session-device.h logind: remove fbdev session-device support 2013-10-01 18:08:54 +02:00
logind-session.c logind: also escape external data when saving to /run 2014-05-22 10:36:16 +09:00
logind-session.h Small modernizations 2014-07-18 21:45:27 -04:00
logind-user-dbus.c logind: fix Display property of user objects 2014-05-19 09:03:20 +09:00
logind-user.c logind: fix Display property of user objects 2014-05-19 09:03:20 +09:00
logind-user.h logind: fix Display property of user objects 2014-05-19 09:03:20 +09:00
logind.c Let config_parse open file where applicable 2014-07-16 18:47:20 -04:00
logind.conf logind: automatically remove SysV + POSIX IPC objects when the users owning them fully log out 2014-03-14 01:49:44 +01:00
logind.h logind: automatically remove SysV + POSIX IPC objects when the users owning them fully log out 2014-03-14 01:49:44 +01:00
Makefile logind: move logind into its own subdirectory 2011-12-31 03:16:08 +01:00
multi-seat-x.c multi-seat-x: drop a lot of unnecessary code 2012-09-21 17:03:40 +02:00
org.freedesktop.login1.conf login: Allow calling org.freedesktop.login1.Seat.SwitchTo 2014-02-25 13:14:55 +01:00
org.freedesktop.login1.policy.in logind: bring polkit policy for hibernate in line with suspend/poweroff/reboot 2014-05-15 18:33:36 +02:00
org.freedesktop.login1.service relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
pam_systemd.c bus: always explicitly close bus from main programs 2014-08-04 16:25:24 +02:00
pam_systemd.sym pam_systemd: replace regex with sym file 2014-06-21 15:45:49 +02:00
sysfs-show.c use new name DRAW_TREE_VERTICAL 2014-04-23 19:22:39 +02:00
systemd-user login: update systemd-user PAM configuration file 2014-07-29 13:20:20 +02:00
test-inhibit.c Remove unnecessary casts in printfs 2014-05-15 15:29:58 +02: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
user-sessions.c user-sessions: modernizations 2013-11-05 01:13:05 +01:00