summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-18 13:23:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-18 13:23:27 +0000
commit9557efb948677ebfd961c6f49a7b69e3c722c206 (patch)
tree22f72bdc9130d8ee497d147d6a209f580efaf721 /sys/kern
parent3140f777e5e5b9a191841b2d6427b37273f1ffca (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')
-rw-r--r--sys/kern/subr_log.c3
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