Re:The benefits and costs of writing a POSIX kernel in a hig...
by _qjt0 on Wednesday October 10, 2018 @03:10AM
(#18182648)
Interesting. Regarding developers not caring about security, that's why I suggested it should be the default, with an option to turn it off for performance or other reasons, rather than the other way around.
Re:The benefits and costs of writing a POSIX kernel in a hig...
by pjmlp on Wednesday October 10, 2018 @07:05AM
(#18183721)
Agreed, however that is against the culture of those that decide to stick with C no matter what.
Secure by default with option to turn those features off for performance, has been the way other systems programming languages have been designed since 1961.
That C culture is now being forced to change, because fixing memory corruption CVEs in devices that are permanently under security exploits attacks does not scale.
There are many other examples of people trying to band aid and improve C's security history.
The biggest problem is that the developers that are supposed to actually adopt those practices don't really care, because performance trumps security.
Those that actually care end up moving to C++, or some other language, so we end up with this selection bias.
Thankfully they are being forced to change, as being 100% connected to the Internet does wonders to security.