summaryrefslogtreecommitdiff
path: root/libexec/ld.so/hppa/ldasm.S
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-07-14 03:54:52 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-07-14 03:54:52 +0000
commit83ed6b063588c235e6100ff1c9fad1fbe2a9fbcb (patch)
tree15efaf58fa61357182b1187ab4e16684f9fe3272 /libexec/ld.so/hppa/ldasm.S
parent89ef96962f5e822c080a1c7b8b4bc51dea0916bc (diff)
Now that we have sendsyslog(2), we can directly use it in the
(previously completely retarded) stack_smash_handler of ld.so ok beck miod tedu
Diffstat (limited to 'libexec/ld.so/hppa/ldasm.S')
-rw-r--r--libexec/ld.so/hppa/ldasm.S8
1 files changed, 7 insertions, 1 deletions
diff --git a/libexec/ld.so/hppa/ldasm.S b/libexec/ld.so/hppa/ldasm.S
index 136b448e0f5..868ab87a1f0 100644
--- a/libexec/ld.so/hppa/ldasm.S
+++ b/libexec/ld.so/hppa/ldasm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldasm.S,v 1.14 2014/07/09 12:51:20 guenther Exp $ */
+/* $OpenBSD: ldasm.S,v 1.15 2014/07/14 03:54:51 deraadt Exp $ */
/*
* Copyright (c) 2004 Michael Shalayeff
@@ -272,6 +272,12 @@ ENTRY(_dl_getentropy,0)
nop
EXIT(_dl_getentropy)
+ENTRY(_dl_sendsyslog,0)
+ SYSCALL(sendsyslog)
+ bv r0(rp)
+ nop
+EXIT(_dl_sendsyslog)
+
ENTRY(_dl_sigprocmask,0)
stw arg2, HPPA_FRAME_ARG(2)(sp)