From ba2c07447ba1278d8ad38ca58a8ae94c82d2d008 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 28 Mar 2021 12:00:16 +0200 Subject: Added ring0 privileges to kernel processes This enables a more efficient idling process using the hlt instruction. The context-switching is a bit slower now, too. I have to look into that. --- libs/libc/sanitize.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libs') diff --git a/libs/libc/sanitize.c b/libs/libc/sanitize.c index 02eef84..39ab44f 100644 --- a/libs/libc/sanitize.c +++ b/libs/libc/sanitize.c @@ -26,7 +26,6 @@ NORETURN void __stack_chk_fail_local(void) /** * UBSan - * TODO: Fix san-paths for userspace (maybe due to -fPIE?) */ #define is_aligned(value, alignment) !(value & (alignment - 1)) -- cgit v1.2.3