Messages in this thread | | | Subject | Re: [PATCH] bug in setpgid()? process groups and thread groups | From | Jeremy Fitzhardinge <> | Date | 02 Aug 2003 21:15:13 -0700 |
| |
On Sat, 2003-08-02 at 12:08, Roland McGrath wrote: > In the case of pgrp, you can > ignore SIGTTIN/SIGTTOU and progress to some degree at user level. In the > case of uids/gids, you can change every thread individually.)
In my case I'm getting read() returning EIO when it tries to read from the terminal, because the thread pgid doesn't equal the terminal foreground pgid. I could solve this problem if either setpgid sets the pgid in all threads in the thread group, or if I could run setpgid in all threads for myself (I would prefer the latter just because it is a bit more flexible). The current situation is just annoyingly broken because there's no user-space way to fix it.
J
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |