mirror of
https://github.com/systemd/systemd
synced 2025-11-21 17:54:46 +01:00
Compare commits
2 Commits
4f4641799e
...
cb19dbb97f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cb19dbb97f | ||
|
|
a3ad821b4c |
@ -928,7 +928,7 @@ static void session_context_mangle(
|
|||||||
c->type = "unspecified";
|
c->type = "unspecified";
|
||||||
if (isempty(c->class))
|
if (isempty(c->class))
|
||||||
c->class = IN_SET(user_record_disposition(ur), USER_INTRINSIC, USER_SYSTEM, USER_DYNAMIC) ?
|
c->class = IN_SET(user_record_disposition(ur), USER_INTRINSIC, USER_SYSTEM, USER_DYNAMIC) ?
|
||||||
"manager-early" : "manager";
|
"manager-early" : "manager";
|
||||||
c->tty = NULL;
|
c->tty = NULL;
|
||||||
|
|
||||||
} else if (c->tty && strchr(c->tty, ':')) {
|
} else if (c->tty && strchr(c->tty, ':')) {
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||||
|
|
||||||
|
#include "alloc-util.h"
|
||||||
#include "dlfcn-util.h"
|
#include "dlfcn-util.h"
|
||||||
#include "errno-util.h"
|
#include "errno-util.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user