]> git.ipfire.org Git - pakfire.git/commit
pty: Connect stdin to /dev/null when not connected
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 15 Feb 2025 11:40:53 +0000 (11:40 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 15 Feb 2025 11:40:53 +0000 (11:40 +0000)
commit7a6713fdc5bbfbd605eb755f2590ac9861debe69
tree6fdbf839789aee431f4286bccd9aa7d4e218d62f
parentd843cbadf33899eb0d6eff6f3dd40bac6d981f80
pty: Connect stdin to /dev/null when not connected

We don't want to run an interactive console and nothing should think
that we are.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/jail.c
src/pakfire/pty.c