3 ms·
At some level you have to eventually decide, "if it works it works." Obviously at the application level it's frowned upon, but in the kernel? You do what you h
by kjeetgill 8y ago
At some level you have to eventually decide, "if it works it works."
Obviously at the application level it's frowned upon, but in the kernel? You do what you have to with the tools you have.
Think about Java. Yea sure, keep telling us sun.misc.Unsafe isn't legit. It's going to get use until that capability exists elsewhere.
- saagarjha 8y ago> Obviously at the application level it's frowned upon, but in the kernel? I'd rather my kernel not have a security hole in it because a compiler decided to optimize out undefined code: https://lwn.net/Articles/342330/ https://lwn.net/Articles/342330/
- pjmlp 8y agoAnd as the ongoing Linux Kernel Self Preservation Project proves, those tools are not enough. I appreciate using software that is actually written with security first, performance second in mind.