From caaedbfab59a2a03d897cf1684446bcf98ac9eb5 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Mon, 21 Mar 2016 01:32:50 +0000 Subject: 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) --- libexec/ld.so/i386/syscall.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libexec/ld.so/i386/syscall.h') 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) -- cgit v1.2.3