diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-09-18 13:23:27 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-09-18 13:23:27 +0000 |
commit | 9557efb948677ebfd961c6f49a7b69e3c722c206 (patch) | |
tree | 22f72bdc9130d8ee497d147d6a209f580efaf721 /sys/kern/subr_log.c | |
parent | 3140f777e5e5b9a191841b2d6427b37273f1ffca (diff) |
it is definately wrong to initialize the pgid at open() time because the
uid/euid used for checking in csignal() is controlled by whoever used
TIOCSPGRP previously.
Diffstat (limited to 'sys/kern/subr_log.c')
-rw-r--r-- | sys/kern/subr_log.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/subr_log.c b/sys/kern/subr_log.c index 29cf214531e..5d247ead19f 100644 --- a/sys/kern/subr_log.c +++ b/sys/kern/subr_log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_log.c,v 1.4 1997/08/31 20:42:20 deraadt Exp $ */ +/* $OpenBSD: subr_log.c,v 1.5 1997/09/18 13:23:26 deraadt Exp $ */ /* $NetBSD: subr_log.c,v 1.11 1996/03/30 22:24:44 christos Exp $ */ /* @@ -78,7 +78,6 @@ logopen(dev, flags, mode, p) if (log_open) return (EBUSY); log_open = 1; - logsoftc.sc_pgid = p->p_pid; /* signal process only */ /* * Potential race here with putchar() but since putchar should be * called by autoconf, msg_magic should be initialized by the time |