summaryrefslogtreecommitdiff
path: root/libexec/ld.so/sh/ldasm.S
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-03-21 01:32:50 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-03-21 01:32:50 +0000
commitcaaedbfab59a2a03d897cf1684446bcf98ac9eb5 (patch)
treeaaf53bb6a93facb3282d2a54e46ac0895afe9dd7 /libexec/ld.so/sh/ldasm.S
parent480dc4adde06fe54aa2665b9b4089af30a42820d (diff)
Switch ld.so's stack smash handler from sendsyslog to sendsyslog2
and pass the LOG_CONS flag like libc's handler. ok deraadt@ bluhm@ (who had a similar diff)
Diffstat (limited to 'libexec/ld.so/sh/ldasm.S')
-rw-r--r--libexec/ld.so/sh/ldasm.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/sh/ldasm.S b/libexec/ld.so/sh/ldasm.S
index a8ba04e8fc3..9016c8dd9aa 100644
--- a/libexec/ld.so/sh/ldasm.S
+++ b/libexec/ld.so/sh/ldasm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldasm.S,v 1.21 2015/11/15 03:41:24 deraadt Exp $ */
+/* $OpenBSD: ldasm.S,v 1.22 2016/03/21 01:32:49 guenther Exp $ */
/*
* Copyright (c) 2006 Dale Rahn
@@ -190,7 +190,7 @@ DL_SYSCALL(readlink)
DL_SYSCALL(lstat)
DL_SYSCALL(utrace)
DL_SYSCALL(getentropy)
-DL_SYSCALL(sendsyslog)
+DL_SYSCALL(sendsyslog2)
DL_SYSCALL(pledge)
DL_SYSCALL2(getcwd,__getcwd)
DL_SYSCALL(sysctl)