1
0
mirror of https://github.com/systemd/systemd synced 2025-11-21 17:54:46 +01:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Mike Yuan
cb19dbb97f
pam_systemd: correct alignment
Follow-up for cf2630acaa87ded5ad99ea30ed4bd895e71ca503
2025-09-27 01:00:50 +02:00
Xarblu
a3ad821b4c shared: add missing alloc-util.h include
Needed for _cleanup_free_
2025-09-26 23:56:11 +01:00
2 changed files with 2 additions and 1 deletions

View File

@ -928,7 +928,7 @@ static void session_context_mangle(
c->type = "unspecified";
if (isempty(c->class))
c->class = IN_SET(user_record_disposition(ur), USER_INTRINSIC, USER_SYSTEM, USER_DYNAMIC) ?
"manager-early" : "manager";
"manager-early" : "manager";
c->tty = NULL;
} else if (c->tty && strchr(c->tty, ':')) {

View File

@ -1,5 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include "alloc-util.h"
#include "dlfcn-util.h"
#include "errno-util.h"
#include "log.h"