aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorMarvin Borner2021-03-28 12:00:16 +0200
committerMarvin Borner2021-03-28 12:00:16 +0200
commitba2c07447ba1278d8ad38ca58a8ae94c82d2d008 (patch)
tree36984c091376e51b37bf119c27e22ecf6df46106 /libs
parent71e7dbd806326c21877eefc27f17eb9a06f63cbc (diff)
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.
Diffstat (limited to 'libs')
-rw-r--r--libs/libc/sanitize.c1
1 files changed, 0 insertions, 1 deletions
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))