3 ms·
On Linux, generally speaking yes to reading the in-process memory too. I can read /proc/$PID/mem provided my UID = the effective UID of the process. Or I can
by skissane 10y ago
On Linux, generally speaking yes to reading the in-process memory too.
I can read /proc/$PID/mem provided my UID = the effective UID of the process.
Or I can also use ptrace(), again if my UID = the effective UID of the process, both to read the processes' memory and even to modify its code at runtime.
(Some LSMs will block this...)