summaryrefslogtreecommitdiffstats
path: root/sys/kern/exec_script.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-12-16 18:30:03 +0000
committertedu <tedu@openbsd.org>2014-12-16 18:30:03 +0000
commitfde894e58bbff915860f72b4c0bd0bc7cb508668 (patch)
tree87f12a61bc7f1aa4d83b99a621fc94a433eedf7d /sys/kern/exec_script.c
parentProtect memory allocation and disposal with splvm(); gets rid of splassert (diff)
downloadwireguard-openbsd-fde894e58bbff915860f72b4c0bd0bc7cb508668.tar.xz
wireguard-openbsd-fde894e58bbff915860f72b4c0bd0bc7cb508668.zip
primary change: move uvm_vnode out of vnode, keeping only a pointer.
objective: vnode.h doesn't include uvm_extern.h anymore. followup changes: include uvm_extern.h or lock.h where necessary. ok and help from deraadt
Diffstat (limited to 'sys/kern/exec_script.c')
-rw-r--r--sys/kern/exec_script.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/exec_script.c b/sys/kern/exec_script.c
index f2f788fc4c7..d7af095f23b 100644
--- a/sys/kern/exec_script.c
+++ b/sys/kern/exec_script.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_script.c,v 1.33 2014/11/19 21:19:15 tedu Exp $ */
+/* $OpenBSD: exec_script.c,v 1.34 2014/12/16 18:30:03 tedu Exp $ */
/* $NetBSD: exec_script.c,v 1.13 1996/02/04 02:15:06 christos Exp $ */
/*
@@ -37,6 +37,7 @@
#include <sys/malloc.h>
#include <sys/pool.h>
#include <sys/vnode.h>
+#include <sys/lock.h>
#include <sys/namei.h>
#include <sys/file.h>
#include <sys/filedesc.h>