From 0a5dddd9603b235a2ab339643e43c774fedc49f4 Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 21 Feb 2023 16:26:57 +0000 Subject: [PATCH] hppa does some weird callgate stuff, so the pinsyscall() provides the wrong address to the kernel. disable for now. --- lib/libc/dlfcn/init.c | 4 ++-- 1 file 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 * @@ -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); -- 2.20.1