diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2023-02-21 16:26:58 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2023-02-21 16:26:58 +0000 |
commit | 66d80ab52886d01db37eb25da19d734d9d5e0dc7 (patch) | |
tree | 026dfece0f11b7f7b04dea81827ccba82d8c43ad /lib/libc | |
parent | 261ff0eaf340161b85d77d9e30ea3e941fb4df3a (diff) |
hppa does some weird callgate stuff, so the pinsyscall() provides the
wrong address to the kernel. disable for now.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/dlfcn/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/dlfcn/init.c b/lib/libc/dlfcn/init.c index 6a35b47ee47..e923ce57a39 100644 --- a/lib/libc/dlfcn/init.c +++ b/lib/libc/dlfcn/init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init.c,v 1.15 2023/02/21 16:21:40 deraadt Exp $ */ +/* $OpenBSD: init.c,v 1.16 2023/02/21 16:26:57 deraadt Exp $ */ /* * Copyright (c) 2014,2015 Philip Guenther <guenther@openbsd.org> * @@ -144,7 +144,7 @@ _libc_preinit(int argc, char **argv, char **envp, dl_cb_cb *cb) if (cb == NULL) { setup_static_tib(phdr, phnum); -#ifndef __hppa__ +#if !defined(__hppa__) /* XXX 128 maximum size of a system call stub, hopefully */ if (&HIDDEN(execve)) pinsyscall(SYS_execve, &HIDDEN(execve), 128); |