From ce98400f8a9ebd4e62e76b9e292b7598d0d66cc0 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 2 Apr 2021 23:26:28 +0200 Subject: Added kernel section clear/protect after init This is a huge security improvement as it prevents potential exploits of using or modifying internal kernel functions or data. --- libs/libc/inc/print.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/libc/inc/print.h') diff --git a/libs/libc/inc/print.h b/libs/libc/inc/print.h index c0d864e..1d85c33 100644 --- a/libs/libc/inc/print.h +++ b/libs/libc/inc/print.h @@ -17,7 +17,7 @@ NORETURN void panic(const char *format, ...) NONNULL; int vfprintf(const char *path, const char *format, va_list ap) NONNULL; int fprintf(const char *path, const char *format, ...) NONNULL; int log(const char *format, ...) NONNULL; -int err(int code, const char *format, ...) NONNULL; +void err(int code, const char *format, ...) NONNULL; #else #include int print_app(enum stream_defaults id, const char *proc_name, const char *str) NONNULL; -- cgit v1.2.3