diff options
| author | 1997-09-18 13:23:26 +0000 | |
|---|---|---|
| committer | 1997-09-18 13:23:26 +0000 | |
| commit | 1e7911a6aea07e315efb5b46ef18a231aac9c7ef (patch) | |
| tree | 1aa2b1f23d9f5afb090fd03b8a16cb33ee95a35e /sys/kern/subr_log.c | |
| parent | make pstat -f columns line up (diff) | |
| download | wireguard-openbsd-1e7911a6aea07e315efb5b46ef18a231aac9c7ef.tar.xz wireguard-openbsd-1e7911a6aea07e315efb5b46ef18a231aac9c7ef.zip | |
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 |
