From 19c0663e5ee83d84ff22fa7a7b486fc2c058c7cb Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Sun, 17 Aug 1997 17:40:11 +0000 Subject: [PATCH] Use KERNBASE, not 0xf0000000. --- sys/kern/uipc_syscalls.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c index 409f68f8f92..aab8734c2ce 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 #endif +#include +#include +#include + 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) {