Systemd/src/tty-ask-password-agent
Lennart Poettering daa557208d tty-ask-password-agent: don't open terminal multiple times
We already have the terminal open, hence pass the fd we got to
ask_password_tty(), so that it doesn't have to reopen it a second time.

This is mostly an optimization, but it has the nice benefit of making us
independent from RLIMIT_NOFILE issues and so on, as we don't need to
allocate another fd needlessly.
2018-02-14 00:11:16 +01:00
..
tty-ask-password-agent.c tty-ask-password-agent: don't open terminal multiple times 2018-02-14 00:11:16 +01:00