summaryrefslogtreecommitdiff
path: root/libexec/ld.so/i386/syscall.h
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/i386/syscall.h
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/i386/syscall.h')
-rw-r--r--libexec/ld.so/i386/syscall.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/i386/syscall.h b/libexec/ld.so/i386/syscall.h
index ccf1f886c25..42ec3675f3a 100644
--- a/libexec/ld.so/i386/syscall.h
+++ b/libexec/ld.so/i386/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.22 2015/11/15 03:41:24 deraadt Exp $ */
+/* $OpenBSD: syscall.h,v 1.23 2016/03/21 01:32:48 guenther Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -57,7 +57,7 @@ int _dl_lstat(const char *, struct stat *);
int _dl_getcwd(char *, size_t);
int _dl_utrace(const char *, const void *, size_t);
int _dl_getentropy(char *, size_t);
-int _dl_sendsyslog(const char *, size_t);
+int _dl_sendsyslog2(const char *, size_t, int);
static inline off_t
_dl_lseek(int fildes, off_t offset, int whence)