mirror of
https://github.com/sheumann/hush.git
synced 2025-01-10 16:29:44 +00:00
Stephen Heumann
5c972aa397
Fix our handling of process groups for job control, working around a couple GNO bugs.
*Most significantly, we avoid using setpgid(), because it doesn't work and in fact corrupts the kernel's process group table. *Also, work around tctpgrp() returning garbage instead of 0 on success. This adds an implementation of tcsetpgrp that works by reading the process tables to find a process in the appropriate group. This isn't used for the main job control operations, though, since it might be relatively slow. At this point, basic job control seems to work.
…
Description
Languages
C
98.6%
Makefile
0.7%
Shell
0.6%
C++
0.1%