5 ms·
A purely Python-contained vulnerability would not be mitigated in any way by OS features.
by Rygian 5y ago
A purely Python-contained vulnerability would not be mitigated in any way by OS features.
- mikewarot 5y agoWhy not? If you have a fault in a lamp switch, the circuit breaker keeps it from burning down your house. Why can't an OS keep a rogue program from taking down your machine? You could specify what to run, and with what resources, and then even if Satan himself wrote the code, it wouldn't ever corrupt anything other than the resources specified.
- deleted 5y ago[deleted]
- xmodem 5y agoThis has to be one of the dumbest arguments i've ever seen on this hellsite. Firstly, a circuit breaker does nothing but protect the wiring in your house. A faulty lightswitch can still throw sparks and start a fire as long as it never draws more than 10A or whatever your circuit breaker is rated for. Similarly, operating systems can prevent a rogue process from taking too much CPU or RAM, but can't prevent a process from ransoming your files, at least not without a substantially different sandboxing regime to what exists in mainstream operating systems today. Why we don't/can't have this is an interesting disucssion that is much larger than the python2/3 question.