• Jan Rybar's avatar
    pkttyagent: PolkitAgentTextListener leaves echo tty disabled if SIGINT/SIGTERM · bfb722bb
    Jan Rybar authored
    If no password is typed into terminal during authentication raised by PolkitAgentTextListener, pkttyagent sends kill (it receives from systemctl/hostnamectl e.g.) without chance to restore echoing back on. This cannot be done in on_request() since it's run in a thread without guarantee the signal is distributed there.
pkttyagent.c 8.75 KB