summaryrefslogtreecommitdiffstats
path: root/src/home
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-11-07 10:30:34 +0100
committerLennart Poettering <lennart@poettering.net>2025-01-02 16:38:12 +0100
commit72068d9d2500e0ea127994f26a5dcadf5666b65e (patch)
treedaffbc9ae766079403dfecca6178045869610fd7 /src/home
parentask-password-api: move 'flag_file' from function parameter into AskPasswordRe... (diff)
downloadsystemd-72068d9d2500e0ea127994f26a5dcadf5666b65e.tar.xz
systemd-72068d9d2500e0ea127994f26a5dcadf5666b65e.zip
ask-password-api: move tty_fd into AskPasswordRequest structure, too
Diffstat (limited to 'src/home')
-rw-r--r--src/home/homectl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/home/homectl.c b/src/home/homectl.c
index b3aacbcbcf..fbb38b64cf 100644
--- a/src/home/homectl.c
+++ b/src/home/homectl.c
@@ -263,6 +263,7 @@ static int acquire_existing_password(
return log_oom();
AskPasswordRequest req = {
+ .tty_fd = -EBADF,
.message = question,
.icon = "user-home",
.keyring = "home-password",
@@ -321,6 +322,7 @@ static int acquire_recovery_key(
return log_oom();
AskPasswordRequest req = {
+ .tty_fd = -EBADF,
.message = question,
.icon = "user-home",
.keyring = "home-recovery-key",
@@ -375,6 +377,7 @@ static int acquire_token_pin(
return log_oom();
AskPasswordRequest req = {
+ .tty_fd = -EBADF,
.message = question,
.icon = "user-home",
.keyring = "token-pin",
@@ -1229,6 +1232,7 @@ static int acquire_new_password(
return log_oom();
AskPasswordRequest req = {
+ .tty_fd = -EBADF,
.message = question,
.icon = "user-home",
.keyring = "home-password",