Just as the sanitizers have a runtime, the linux kernel has a re-implementation of those runtimes (the linux kernel does not link libgcc/compiler_rt) and IIRC the compiler will work differently (I forget which flags control that). Prior art here.
Does fil-c have a way of disabling the capability model for regions of code? (Rust's `unsafe` blocks come to mind).
Maybe if I ask enough stupid questions, you'll get pissed and get the kernel to build/work with fil-c just to prove a stranger on the internet wrong. :P
> Does fil-c have a way of disabling the capability model for regions of code? (Rust's `unsafe` blocks come to mind).
Nope
> Maybe if I ask enough stupid questions, you'll get pissed and get the kernel to build/work with fil-c just to prove a stranger on the internet wrong. :P