diff options
author | 2016-06-16 03:21:09 +0000 | |
---|---|---|
committer | 2016-06-16 03:21:09 +0000 | |
commit | 311b9c6b6b7866dec9a1db9a3fb7172e6d60c50d (patch) | |
tree | 19a52965b869d4ec7926973b3cfaec8c9b61fbdd /lib/libc | |
parent | properly reset the transaction when a filter rejects a message. (diff) | |
download | wireguard-openbsd-311b9c6b6b7866dec9a1db9a3fb7172e6d60c50d.tar.xz wireguard-openbsd-311b9c6b6b7866dec9a1db9a3fb7172e6d60c50d.zip |
PSEUDO_NOERROR() is used for syscalls that return now, so need to put
a nop in the slot skipped by the kernel on success
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/arch/m88k/SYS.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/arch/m88k/SYS.h b/lib/libc/arch/m88k/SYS.h index 7e6f399ff87..b6d4ce2b825 100644 --- a/lib/libc/arch/m88k/SYS.h +++ b/lib/libc/arch/m88k/SYS.h @@ -1,4 +1,4 @@ -/* $OpenBSD: SYS.h,v 1.22 2015/10/23 04:39:24 guenther Exp $*/ +/* $OpenBSD: SYS.h,v 1.23 2016/06/16 03:21:09 guenther Exp $*/ /*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. @@ -121,6 +121,7 @@ #define __PSEUDO_NOERROR(p,x,y) \ __SYSCALL__NOERROR(p,x,y); \ + or %r0, %r0, %r0; \ jmp %r1; \ __END(p,x); END(x) |