projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ba383f
)
logind: extend comment about X11 socket symlink
author
Lennart Poettering
<lennart@poettering.net>
Thu, 22 Mar 2012 00:43:36 +0000
(
01:43
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 22 Mar 2012 00:43:36 +0000
(
01:43
+0100)
src/login/logind-session.c
patch
|
blob
|
history
diff --git
a/src/login/logind-session.c
b/src/login/logind-session.c
index
af9c12d
..
4e0af86
100644
(file)
--- a/
src/login/logind-session.c
+++ b/
src/login/logind-session.c
@@
-391,6
+391,10
@@
static int session_link_x11_socket(Session *s) {
return -ENOENT;
}
+ /* Note that this cannot be in a subdir to avoid
+ * vulnerabilities since we are privileged but the runtime
+ * path is owned by the user */
+
t = strappend(s->user->runtime_path, "/X11-display");
if (!t) {
log_error("Out of memory");