commit | ebd695d5f001f8617caeee4366c31f56e38e08aa | [log] [tgz] |
---|---|---|
author | Stephen Smalley <sds@tycho.nsa.gov> | Tue Jul 18 08:59:50 2017 -0400 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Tue Jul 18 08:59:50 2017 -0400 |
tree | e32f3c72d14dadf353b6354c58ba467bd78b7b9c | |
parent | bea2c19dd2fd33898b84200327c6912a6c48116a [diff] |
open_init_pty: restore stdin/stdout to blocking upon exit At exit, restore stdin and stdout to blocking. Test: run_init id && run_init id Test: open_init_pty bash -c 'echo hello; exec >&- 2>&- <&-; sleep 1;' Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863187 Fixes: https://bugs.gentoo.org/show_bug.cgi?id=621062 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>