Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Isn't that the default? The user has access to all available memory unless they (or an admin) set a restriction. Unavailable memory is only unavailable because writing to it crashes the kernel, thus preventing you from using your hardware!


> Isn't that the default?

Yes, it is, and for good reasons. That's why I disagreed with the original "An unprivileged userspace application, even if coded poorly, shouldn't crash the machine" part.


I don't follow. The default today is that an unprivileged user space application should not crash the machine. The kernel reserves what it needs, then hands the rest to user space. Thus, all available memory should not crash the machine.

https://en.wikipedia.org/wiki/User_space_and_kernel_space

https://en.wikipedia.org/wiki/Virtual_memory




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: