Re: [PATCH] use group_leader->pgrp (was Re: setpgid and threads)

From: Andrew Morton
Date: Mon Sep 08 2003 - 22:21:28 EST


Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
>
> On Mon, 2003-09-08 at 19:12, Andrew Morton wrote:
> > and to then rename task_struct.pgrp to something else, to pick up any
> > missed conversions?
>
> Probably a good idea.

Caught a few:

drivers/char/tty_io.c: In function `tty_check_change':
drivers/char/tty_io.c:332: structure has no member named `pgrp'
drivers/char/tty_io.c:334: structure has no member named `pgrp'

if (is_orphaned_pgrp(current->pgrp))
return -EIO;
(void) kill_pg(current->pgrp,SIGTTOU,1);

should these be converted?


drivers/char/tty_io.c: In function `tty_open':
drivers/char/tty_io.c:1409: structure has no member named `pgrp'

tty->pgrp = current->pgrp;

this one?

drivers/char/tty_io.c: In function `tiocsctty':
drivers/char/tty_io.c:1583: structure has no member named `pgrp'

tty->pgrp = current->pgrp;

and this. I think so?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/