forked from pool/systemd
039f4cc39b
add: 1008-udev-path_id-handle-Hyper-V-devices.patch - keymap: Update the list of Samsung Series 9 models add: 1009-keymap-Update-the-list-of-Samsung-Series-9-models.patch - keymap: Add Samsung 700T add: 1010-keymap-Add-Samsung-700T.patch - libudev: avoid leak during realloc failure add: 1011-libudev-avoid-leak-during-realloc-failure.patch - libudev: do not resolve $attr{device} symlinks add: 1012-libudev-do-not-resolve-attr-device-symlinks.patch - libudev: validate 'udev' argument to udev_enumerate_new() add: 1013-libudev-validate-udev-argument-to-udev_enumerate_new.patch - udev: fix whitespace add: 1014-udev-fix-whitespace.patch - udev: properly handle symlink removal by 'change' event add: 1015-udev-properly-handle-symlink-removal-by-change-event.patch - udev: builtin - do not fail builtin initialization if one of them returns an error add: 1016-udev-builtin-do-not-fail-builtin-initialization-if-o.patch - udev: use usec_t and now() add: 1017-udev-use-usec_t-and-now.patch closing an non-existent dbus connection and getting assertion failures. - udev: path_id - handle Hyper-V devices add: 1008-udev-path_id-handle-Hyper-V-devices.patch - keymap: Update the list of Samsung Series 9 models add: 1009-keymap-Update-the-list-of-Samsung-Series-9-models.patch - keymap: Add Samsung 700T add: 1010-keymap-Add-Samsung-700T.patch OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=327
27 lines
952 B
Diff
27 lines
952 B
Diff
From 978cf3c75fbd94fd0e046206ada6169b35edd919 Mon Sep 17 00:00:00 2001
|
|
From: Lennart Poettering <lennart@poettering.net>
|
|
Date: Sun, 28 Oct 2012 17:37:16 +0100
|
|
Subject: [PATCH] logind: it's OK if a process on an pty requests a session
|
|
for seat0
|
|
|
|
After all, if a sudo/su inside an X terminal should get added to the
|
|
same session as the X session itself.
|
|
---
|
|
src/login/logind-dbus.c | 3 +--
|
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
|
|
Index: systemd-195/src/login/logind-dbus.c
|
|
===================================================================
|
|
--- systemd-195.orig/src/login/logind-dbus.c
|
|
+++ systemd-195/src/login/logind-dbus.c
|
|
@@ -409,8 +409,7 @@ static int bus_manager_create_session(Ma
|
|
if (vtnr != 0)
|
|
return -EINVAL;
|
|
|
|
- } else if (!isempty(tty) && s && seat_is_vtconsole(s))
|
|
- return -EINVAL;
|
|
+ }
|
|
|
|
if (s) {
|
|
if (seat_can_multi_session(s)) {
|