selinux/policycoreutils/run_init
Stephen Smalley ebd695d5f0 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>
2017-07-18 08:59:50 -04:00
..
Makefile Makefiles: override *FLAGS and *LIBS 2017-06-20 12:15:04 -04:00
open_init_pty.8 policycoreutils: open_init_tty man page typos 2011-08-03 18:02:36 -04:00
open_init_pty.c open_init_pty: restore stdin/stdout to blocking upon exit 2017-07-18 08:59:50 -04:00
run_init.8 policycoreutils, python: Fix bad manpage formatting in "SEE ALSO" 2017-01-12 14:59:31 -05:00
run_init.c run_init: fix open_init_pty avaibility check 2015-03-30 10:51:58 -04:00
run_init.pamd Give people who use run_init or newrole an indicator to make it not ask for passwords 2013-10-24 13:58:39 -04:00