summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-02-21 16:21:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-02-21 16:21:41 +0000
commit261ff0eaf340161b85d77d9e30ea3e941fb4df3a (patch)
treeff21a6f32ce01a4ef504caaefb74b9fb64eefa4c /lib/libc
parent64cadc18f9c1a6dd09fc7de55f5c3784a5665d02 (diff)
dlfcn/init.c
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/dlfcn/init.c4
1 files changed, 3 insertions, 1 deletions
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 <guenther@openbsd.org>
*
@@ -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
}
/*