diff options
author | 2016-10-06 13:03:47 +0000 | |
---|---|---|
committer | 2016-10-06 13:03:47 +0000 | |
commit | ece520b1ddcd66a6bbbc7e3021c52bd6ba7801f3 (patch) | |
tree | 1d2ffaa0f4ba15719b4696b25ee61e09cdedfc31 /usr.sbin/syslogd/syslogd.h | |
parent | init auto-partition table to zeroes; ok tb@ (diff) | |
download | wireguard-openbsd-ece520b1ddcd66a6bbbc7e3021c52bd6ba7801f3.tar.xz wireguard-openbsd-ece520b1ddcd66a6bbbc7e3021c52bd6ba7801f3.zip |
Do an exec on itself in the privileged syslogd(8) parent process
to reshuffle its memory layout.
Input rzalamena@; OK deraadt@
Diffstat (limited to 'usr.sbin/syslogd/syslogd.h')
-rw-r--r-- | usr.sbin/syslogd/syslogd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/syslogd/syslogd.h b/usr.sbin/syslogd/syslogd.h index 25c8f026b29..30b6025b442 100644 --- a/usr.sbin/syslogd/syslogd.h +++ b/usr.sbin/syslogd/syslogd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: syslogd.h,v 1.23 2015/10/23 16:28:52 bluhm Exp $ */ +/* $OpenBSD: syslogd.h,v 1.24 2016/10/06 13:03:47 bluhm Exp $ */ /* * Copyright (c) 2003 Anil Madhavapeddy <anil@recoil.org> @@ -21,7 +21,8 @@ #include <sys/uio.h> /* Privilege separation */ -int priv_init(char *, int, int, int, char **); +void priv_init(int, int, int, char **); +__dead void priv_exec(char *, int, int, int, char **); int priv_open_tty(const char *); int priv_open_log(const char *); FILE *priv_open_utmp(void); |