mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-04 07:48:36 +00:00
logind: extend comment about X11 socket symlink
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user