Re: [PATCH v2 2/2] tty: check tcsetpgrp p is a process group

2015-06-28 Thread Patrick Donnelly
On Sun, Jun 28, 2015 at 12:07 PM, Peter Hurley wrote: > On 06/27/2015 08:51 PM, Patrick Donnelly wrote: >> This fixes a bug where a process can set the foreground process group to its >> pid even if its pid is not a valid pgrp. >> >> Signed-off-by: Patrick Donnelly >> --- >>

Re: [PATCH v2 2/2] tty: check tcsetpgrp p is a process group

2015-06-28 Thread Peter Hurley
On 06/27/2015 08:51 PM, Patrick Donnelly wrote: > This fixes a bug where a process can set the foreground process group to its > pid even if its pid is not a valid pgrp. > > Signed-off-by: Patrick Donnelly > --- > drivers/tty/tty_io.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git

Re: [PATCH v2 2/2] tty: check tcsetpgrp p is a process group

2015-06-28 Thread Peter Hurley
On 06/27/2015 08:51 PM, Patrick Donnelly wrote: This fixes a bug where a process can set the foreground process group to its pid even if its pid is not a valid pgrp. Signed-off-by: Patrick Donnelly batr...@batbytes.com --- drivers/tty/tty_io.c | 3 +++ 1 file changed, 3 insertions(+)

Re: [PATCH v2 2/2] tty: check tcsetpgrp p is a process group

2015-06-28 Thread Patrick Donnelly
On Sun, Jun 28, 2015 at 12:07 PM, Peter Hurley pe...@hurleysoftware.com wrote: On 06/27/2015 08:51 PM, Patrick Donnelly wrote: This fixes a bug where a process can set the foreground process group to its pid even if its pid is not a valid pgrp. Signed-off-by: Patrick Donnelly

[PATCH v2 2/2] tty: check tcsetpgrp p is a process group

2015-06-27 Thread Patrick Donnelly
This fixes a bug where a process can set the foreground process group to its pid even if its pid is not a valid pgrp. Signed-off-by: Patrick Donnelly --- drivers/tty/tty_io.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index

[PATCH v2 2/2] tty: check tcsetpgrp p is a process group

2015-06-27 Thread Patrick Donnelly
This fixes a bug where a process can set the foreground process group to its pid even if its pid is not a valid pgrp. Signed-off-by: Patrick Donnelly batr...@batbytes.com --- drivers/tty/tty_io.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c