Apple Joins the SeL4 Foundation
sel4.systems
sel4.systems
SeL4 is extremely cool technology. It has been formally proven to be bug-free against its specification, which massively simplifies the development of high-security high-reliability systems. I feel like there’s a lot more development to be seen in this space.
Which itself is not know to be bugfree.
(And is 10x the size of the source code and in a language that is less readable than x64 assembler)
Not totally correct, from:
https://sel4.systems/Info/FAQ/proof.html
The binary code of the ARM and RISCV64 versions of the seL4 microkernel correctly implement the behaviour described in its abstract specification and nothing more. Furthermore, the specification and the seL4 binary satisfy the classic security properties called *integrity* and *confidentiality*.
[...]
Previously, in 2009, we had only proved functional correctness between the C code of the kernel and its specification. Now we have additionally shown binary correctness, that is, the compiler and linker need not be trusted, and we have shown that the specification indeed implies strong security properties as intended.
So the specification has indeed been proven to be free of certain security bugs.Note that nowhere in that they claim X is secure.
Your claim about "x64 assembler" is dubious.
Hopefully things get better and more practically useful.
It is subjective, and I’ll grant it’s not the most intuitive thing to look at, but I don’t agree it’s worse than assembly. Besides the readability of the specification is not some priori limitation.
Sel4 spec example
definition
set_endpoint :: "endpoint ⇒ data ⇒ state ⇒ state
where set_endpoint ep data s ≡ s
(ep := (IdleEP, data))https://sel4.systems/Foundation/Membership/
reminds me that Jobs explains why their company called "Apple Computer" is: "I worked at Atari, and it got us ahead of Atari in the phone book."[1].
Apple is the first one of all sel4 general member too.
[1] https://www.businessinsider.com/apple-archive-name-apple-201...
And credit where it’s due, I know we love dumping on the national security apparatus, but the UK NCSC actually funded that work, which is a clear net win.
Hybrid kernel combine both a monolithic kernel and micro kernel
In macOS Mach is micro kernel and Darwin is monolithic kernel