diff options
author | 2005-08-14 10:54:15 +0000 | |
---|---|---|
committer | 2005-08-14 10:54:15 +0000 | |
commit | a9d0813c82c56f15e7d9d04cb35fbb4b3fc69389 (patch) | |
tree | 671302da15fbc5c21abfc03d935a5ee99aad1d99 | |
parent | don't require a valid route when configuring the tunnel; (diff) | |
download | wireguard-openbsd-a9d0813c82c56f15e7d9d04cb35fbb4b3fc69389.tar.xz wireguard-openbsd-a9d0813c82c56f15e7d9d04cb35fbb4b3fc69389.zip |
Add mquery to the system calls which need extra care due to off_t arguments
and reversed stack direction; ok mickey@
-rw-r--r-- | sys/arch/hppa/hppa/trap.c | 3 | ||||
-rw-r--r-- | sys/arch/hppa64/hppa64/trap.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/trap.c b/sys/arch/hppa/hppa/trap.c index 2273df5d94e..d110fc48045 100644 --- a/sys/arch/hppa/hppa/trap.c +++ b/sys/arch/hppa/hppa/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.87 2005/07/18 02:43:25 fgsch Exp $ */ +/* $OpenBSD: trap.c,v 1.88 2005/08/14 10:54:15 miod Exp $ */ /* * Copyright (c) 1998-2004 Michael Shalayeff @@ -781,6 +781,7 @@ syscall(struct trapframe *frame) case SYS_pwritev: case SYS_pread: case SYS_pwrite: i = 4; break; + case SYS_mquery: case SYS_mmap: i = 6; break; } diff --git a/sys/arch/hppa64/hppa64/trap.c b/sys/arch/hppa64/hppa64/trap.c index 0518adc001c..e534ceec91d 100644 --- a/sys/arch/hppa64/hppa64/trap.c +++ b/sys/arch/hppa64/hppa64/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.2 2005/07/18 02:43:25 fgsch Exp $ */ +/* $OpenBSD: trap.c,v 1.3 2005/08/14 10:54:17 miod Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -652,6 +652,7 @@ syscall(struct trapframe *frame) case SYS_pwritev: case SYS_pread: case SYS_pwrite: i = 4; break; + case SYS_mquery: case SYS_mmap: i = 6; break; } |