4 ms·
That's interesting, I never knew that. I wonder why that use case isn't possible.
by deutronium 11y ago
That's interesting, I never knew that. I wonder why that use case isn't possible.
- amelius 11y agoYou can try it yourself by running "strace" on itself, e.g.: strace -f strace -f ls I guess this isn't possible because the kernel developers only envisioned ptrace to be useful for debugging (they supposedly didn't think about sandboxing applications), and implementing a "recursive" version of ptrace is probably more difficult.