summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Egge <tegge@FreeBSD.org>1997-08-17 17:40:11 +0000
committerTor Egge <tegge@FreeBSD.org>1997-08-17 17:40:11 +0000
commit19c0663e5ee83d84ff22fa7a7b486fc2c058c7cb (patch)
tree48fc48763e5a24a27d99f3bc357e1b44a75e420c
parentf000d0afabd1f9b49aa3531c224deea5201c1d80 (diff)
Notes
-rw-r--r--sys/kern/uipc_syscalls.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c
index 409f68f8f922..aab8734c2cee 100644
--- a/sys/kern/uipc_syscalls.c
+++ b/sys/kern/uipc_syscalls.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)uipc_syscalls.c 8.4 (Berkeley) 2/21/94
- * $Id: uipc_syscalls.c,v 1.26 1997/04/27 20:00:45 wollman Exp $
+ * $Id: uipc_syscalls.c,v 1.27 1997/08/16 19:15:06 wollman Exp $
*/
#include "opt_ktrace.h"
@@ -56,6 +56,10 @@
#include <sys/ktrace.h>
#endif
+#include <vm/vm.h>
+#include <vm/vm_param.h>
+#include <vm/pmap.h>
+
extern int sendit __P((struct proc *p, int s, struct msghdr *mp, int flags,
int *retsize));
extern int recvit __P((struct proc *p, int s, struct msghdr *mp,
@@ -251,7 +255,7 @@ accept1(p, uap, retval, compat)
goto gotnoname;
return 0;
}
- if ((u_long)sa < 0xf0000000) {
+ if ((u_long)sa < KERNBASE) {
panic("accept1 bad sa");
}
if (uap->name) {