]> granicus.if.org Git - sudo/commit
Add tcsetpgrp_nobg() which acts like tcsetpgrp() but returns -1
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 7 Mar 2017 19:29:21 +0000 (12:29 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 7 Mar 2017 19:29:21 +0000 (12:29 -0700)
commitaf1482f487743028f094fab4be49efbbab8ea8a7
tree15ed1d69e7f7bef7798e24a75288c4c448b33c15
parent2f074d33abd734fce740e464ec4df546d2bdc013
Add tcsetpgrp_nobg() which acts like tcsetpgrp() but returns -1
for a background process.  This is safer than blocking SIGTTOU
which would cause tcsetpgrp() to succeed in the background.
MANIFEST
src/Makefile.in
src/exec_nopty.c
src/sudo.h
src/tcsetpgrp_nobg.c [new file with mode: 0644]