Re:IncludeOS: a minimal unikernel operating system for C++ s...
by pjmlp on Monday December 30, 2019 @03:34AM
(#21911740)
I advise you to watch the CCC talk about validation of OpenBSD exploit mitigation features.
Yes, it is great that OpenBSD values security over performance, but as the talk shows, not every security feature is as secure in practice as OpenBSD sells it.
Re:IncludeOS: a minimal unikernel operating system for C++ s...
by anthk on Monday December 30, 2019 @04:18AM
(#21912016)
Ok, will do. Still Rust is not magical, even if it helps a lot.
Re:IncludeOS: a minimal unikernel operating system for C++ s...
by pjmlp on Monday December 30, 2019 @07:01AM
(#21912733)
Rust is not the only option to get rid of C, there are plenty to choose from.
Neither of them are magical.
All of them don't suffer from memory corruption, UB and use-after-free like C does.
But in OpenBSD even plan9port compiled software is done with Retguard:
>nm $HOME/Docs/c/p9p/9.aecho | grep retpo
00003150 t __llvm_retpoline_r11
https://undeadly.org/cgi?action=article&sid=20170819230157
It makes using acid(1) in OpenBSD a bit more difficult, but I almost always omit that.