3 ms·
It’s a nice write up and the part on system call interception is only serving as an example, but be careful if you’re considering ptrace in something where secu
by dgl 8y ago
It’s a nice write up and the part on system call interception is only serving as an example, but be careful if you’re considering ptrace in something where security matters.
See the answer on https://stackoverflow.com/questions/4414605/how-can-linux-ptrace-be-unsafe-or-contain-a-race-condition https://stackoverflow.com/questions/4414605/how-can-linux-pt... for an example of a potential race. I believe OpenBSD’s systrace had some issues like this.