From a8b84ed628814aa6fe5d31496973c0973fb031bf Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 21 Feb 2023 16:21:40 +0000 Subject: [PATCH] dlfcn/init.c --- lib/libc/dlfcn/init.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/libc/dlfcn/init.c b/lib/libc/dlfcn/init.c index 24e7c1db3e5..6a35b47ee47 100644 --- a/lib/libc/dlfcn/init.c +++ b/lib/libc/dlfcn/init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init.c,v 1.14 2023/02/21 14:46:41 deraadt Exp $ */ +/* $OpenBSD: init.c,v 1.15 2023/02/21 16:21:40 deraadt Exp $ */ /* * Copyright (c) 2014,2015 Philip Guenther * @@ -144,9 +144,11 @@ _libc_preinit(int argc, char **argv, char **envp, dl_cb_cb *cb) if (cb == NULL) { setup_static_tib(phdr, phnum); +#ifndef __hppa__ /* XXX 128 maximum size of a system call stub, hopefully */ if (&HIDDEN(execve)) pinsyscall(SYS_execve, &HIDDEN(execve), 128); +#endif } /* -- 2.20.1