Lines Matching refs:on_exit
743 * @on_exit: true if exiting so need to "hang up" the session
754 * The argument on_exit is set to 1 if called when a process is
766 void disassociate_ctty(int on_exit)
777 if (on_exit) {
782 } else if (on_exit) {
789 kill_pgrp(old_pgrp, SIGHUP, on_exit);
790 kill_pgrp(old_pgrp, SIGCONT, on_exit);
796 kill_pgrp(tty_pgrp, SIGHUP, on_exit);
797 if (!on_exit)
798 kill_pgrp(tty_pgrp, SIGCONT, on_exit);