From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Andrew Morton <akpm@osdl.org>
Cc: Ulrich Drepper <drepper@redhat.com>,
mingo@redhat.com, Roland McGrath <roland@redhat.com>,
Linux Kernel List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] use group_leader->pgrp (was Re: setpgid and threads)
Date: Mon, 08 Sep 2003 22:56:17 -0700 [thread overview]
Message-ID: <1063086977.12268.17.camel@ixodes.goop.org> (raw)
In-Reply-To: <20030908211746.25fff0f1.akpm@osdl.org>
On Mon, 2003-09-08 at 21:17, Andrew Morton wrote:
> All other instances of foo->pgrp have been converted to process_group(foo),
> which is foo->group_leader->__pgrp.
>
> Should setpgrp() in a thread affect the group leader? It does...
Eh? sys_setpgid() fails with EINVAL if another thread tries to change
the process group. Oh, I see. setpgrp() is a wrapper which passes
pid=0 to setpgid; sys_setpgid uses current->pid rather than
current->tgid, so it always uses the thread group leader's ID. Looks OK
to me.
J
next prev parent reply other threads:[~2003-09-09 5:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1061424262.24785.29.camel@localhost.localdomain>
[not found] ` <20030820194940.6b949d9d.akpm@osdl.org>
2003-09-09 1:59 ` Jeremy Fitzhardinge
2003-09-09 2:12 ` Andrew Morton
2003-09-09 2:13 ` Jeremy Fitzhardinge
2003-09-09 3:21 ` Andrew Morton
2003-09-09 3:54 ` Ulrich Drepper
2003-09-09 4:17 ` Andrew Morton
2003-09-09 4:38 ` Ulrich Drepper
2003-09-09 5:56 ` Jeremy Fitzhardinge [this message]
2003-09-09 6:24 ` Roland McGrath
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1063086977.12268.17.camel@ixodes.goop.org \
--to=jeremy@goop.org \
--cc=akpm@osdl.org \
--cc=drepper@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=roland@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®