summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-12-19 08:58:05 +0000
committerart <art@openbsd.org>2001-12-19 08:58:05 +0000
commit1414b0faee630b2a2d49752ab9b1fe4209fe6bfd (patch)
tree489b0b0b16606f48bda8c6e8ea28957b5601320d /sys/kern/kern_exec.c
parentbasic KNF done while i was looking for something else (diff)
downloadwireguard-openbsd-1414b0faee630b2a2d49752ab9b1fe4209fe6bfd.tar.xz
wireguard-openbsd-1414b0faee630b2a2d49752ab9b1fe4209fe6bfd.zip
UBC was a disaster. It worked very good when it worked, but on some
machines or some configurations or in some phase of the moon (we actually don't know when or why) files disappeared. Since we've not been able to track down the problem in two weeks intense debugging and we need -current to be stable, back out everything to a state it had before UBC. We apologise for the inconvenience.
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r--sys/kern/kern_exec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index 9f621da43d2..6bec610b8e2 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_exec.c,v 1.61 2001/11/27 05:27:11 art Exp $ */
+/* $OpenBSD: kern_exec.c,v 1.62 2001/12/19 08:58:06 art Exp $ */
/* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */
/*-
@@ -150,7 +150,6 @@ check_exec(p, epp)
goto bad1;
/* now we have the file, get the exec header */
- uvn_attach(vp, VM_PROT_READ);
error = vn_rdwr(UIO_READ, vp, epp->ep_hdr, epp->ep_hdrlen, 0,
UIO_SYSSPACE, IO_NODELOCKED, p->p_ucred, &resid, p);
if (error)