]> git.ipfire.org Git - thirdparty/util-linux.git/commit - configure.ac
script: use lib/pty-session
authorKarel Zak <kzak@redhat.com>
Thu, 3 Oct 2019 12:33:25 +0000 (14:33 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 8 Oct 2019 11:11:54 +0000 (13:11 +0200)
commitec10634e7ec41c05865f04aa8a62ec854dd66b9d
tree213a818d0ade7f7b38fbbb4e7d80f7135e396847
parentf3e55e3e7c5cea9c2b632175b84e643a23e198da
script: use lib/pty-session

This patch consolidate pseudo-terminal stuff in util-linux. From now
there is only one implementation used in su(1) --pty, scriptlive(1)
and script(1).

The new stuff is based on the original script(1) -- it means poll()
and signalfd() based.

Note that script(1) code does not provide fallback for systems/libc
where is no openpty().

Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac
term-utils/Makemodule.am
term-utils/script.c
tests/expected/script/buffering-race
tests/expected/script/replay