Displaying 1 result from an estimated 1 matches for "exited_clean".
Did you mean:
exited_cleanly
2016 Dec 30
12
[Bug 2655] New: AuthorizedKeysCommand with large output can deadlock
...e 1041:
if ((pid = subprocess("AuthorizedKeysCommand", pw, command,
ac, av, &f)) == 0)
goto out;
uid_swapped = 1;
temporarily_use_uid(pw);
ok = check_authkeys_file(f, options.authorized_keys_command,
key, pw);
if (exited_cleanly(pid, "AuthorizedKeysCommand", command) != 0)
goto out;
Upon finding the correct public key in the command's output, we
immediately wait() for the command to exit. However, the command may
continue to generate output; if the subsequent output is large enough
to fill...