diff options
author | 2017-04-20 15:21:51 +0000 | |
---|---|---|
committer | 2017-04-20 15:21:51 +0000 | |
commit | f8e00d7d74088cac7dac24c49b8d6e2c80f8db96 (patch) | |
tree | 683a7152d7632d9abc871e7b405e38fce58ecfff /sys/sys/syscall_mi.h | |
parent | Only set up a current target for mouse key bindings. Fixes: (diff) | |
download | wireguard-openbsd-f8e00d7d74088cac7dac24c49b8d6e2c80f8db96.tar.xz wireguard-openbsd-f8e00d7d74088cac7dac24c49b8d6e2c80f8db96.zip |
only 32 bits of the pledgecode were passed up via ktrace
from Anton Lindqvist
ok semarie
Diffstat (limited to 'sys/sys/syscall_mi.h')
-rw-r--r-- | sys/sys/syscall_mi.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/sys/syscall_mi.h b/sys/sys/syscall_mi.h index 24521bdaa2f..bf0a0fff6a6 100644 --- a/sys/sys/syscall_mi.h +++ b/sys/sys/syscall_mi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: syscall_mi.h,v 1.17 2017/02/14 10:31:15 mpi Exp $ */ +/* $OpenBSD: syscall_mi.h,v 1.18 2017/04/20 15:21:51 deraadt Exp $ */ /* * Copyright (c) 1982, 1986, 1989, 1993 @@ -45,8 +45,9 @@ static inline int mi_syscall(struct proc *p, register_t code, const struct sysent *callp, register_t *argp, register_t retval[2]) { + uint64_t tval; int lock = !(callp->sy_flags & SY_NOLOCK); - int error, pledged, tval; + int error, pledged; /* refresh the thread's cache of the process's creds */ refreshcreds(p); |