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

> Most of the time applications can read each other's memory, so protecting the display does not make much sense.

Unless you're running everything as root, applications can not read eachothers memory.



Of course they can! How do you think a debugger works?


Because a debugger launches the target process as a child process and thus has access to its memory?

/proc/sys/kernel/yama/ptrace_scope is usually set to 1 on non-Selinux distros.


Without this flag it can also attach to existing processes and on my Debian this is set to zero.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: