diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-10-11 20:07:22 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-10-11 14:07:22 -0400 |
commit | e0d2adfde677d91b57dd63f6a3f00f4b86be9a64 (patch) | |
tree | 443fabaa4c0c52aa3694ea3760b67ea8f4aa0919 /units/systemd-journald-dev-log.socket | |
parent | f68c9dd5c6d0862cbcc89d5339715128a3b5d4a9 (diff) |
core: chown() any TTY used for stdin, not just when StandardInput=tty is used (#4347)
If stdin is supplied as an fd for transient units (using the
StandardInputFileDescriptor pseudo-property for transient units), then we
should also fix up the TTY ownership, not just when we opened the TTY
ourselves.
This simply drops the explicit is_terminal_input()-based check. Note that
chown_terminal() internally does a much more appropriate isatty()-based check
anyway, hence we can drop this without replacement.
Fixes: #4260
Diffstat (limited to 'units/systemd-journald-dev-log.socket')
0 files changed, 0 insertions, 0 deletions