diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-08-14 10:54:18 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-08-14 10:54:18 +0000 |
commit | 7e00142ff0e7ff8241ff33647552b669d0dbbe08 (patch) | |
tree | edb00626b289c32c4394cb7d4bb10e29fdfa803e | |
parent | f118512577398f86fd5e1c83c5923f29b1393e76 (diff) |
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; } |