summaryrefslogtreecommitdiff
path: root/sysdep/unix/unix.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2021-12-01 10:46:49 +0100
committerMaria Matejka <mq@ucw.cz>2021-12-01 13:00:54 +0100
commit55ee9961e0d130bb16b22b7b5acffd815f266d63 (patch)
tree2b5f9c0a572871bbe5cbc8ff3f07bd13915b104c /sysdep/unix/unix.h
parentbb63e99d7877023667edaf26495dd657ec2fd57b (diff)
Fix of shutdown: premature log cleanup led to use-after-free
Diffstat (limited to 'sysdep/unix/unix.h')
-rw-r--r--sysdep/unix/unix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdep/unix/unix.h b/sysdep/unix/unix.h
index ad85d1ea..51ec1b1e 100644
--- a/sysdep/unix/unix.h
+++ b/sysdep/unix/unix.h
@@ -122,6 +122,7 @@ void krt_io_init(void);
void main_thread_init(void);
void log_init_debug(char *); /* Initialize debug dump to given file (NULL=stderr, ""=off) */
void log_switch(int initial, list *l, const char *);
+void log_cleanup(int syslog);
struct log_config {
node n;