mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Use KERNBASE, not 0xf0000000.
This commit is contained in:
parent
f000d0afab
commit
19c0663e5e
1 changed files with 6 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue