Re:IncludeOS: a minimal unikernel operating system for C++ s...
by pjmlp on Sunday December 29, 2019 @10:21AM
(#21906291)
Surely they did happen, a tiny set, meanwhile the C flaws that allowed the Morris worm to happen 30 years ago, are still present in C11 being written today.
[ Parent
| on HN ]
Re:IncludeOS: a minimal unikernel operating system for C++ s...
by anthk on Sunday December 29, 2019 @12:32PM
(#21907149)
Current compiler and OSes have some protections to avoid that precisely.
It won't be that easy.
Re:IncludeOS: a minimal unikernel operating system for C++ s...
by pjmlp on Sunday December 29, 2019 @03:16PM
(#21908146)
Apparently it is, given the exploits presented at CCC talks.
Or the ones given by Google and Microsoft at Linux Kernel Security Summit 2018 and 2019.
Re:IncludeOS: a minimal unikernel operating system for C++ s...
by anthk on Monday December 30, 2019 @02:43AM
(#21911540)
I use OpenBSD, other OS'es focusing on performance over security doesn't interest me. Except 9front, but because of the huge networked grid as a bare computer.
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.
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.