Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

> 'gdb -p $pid' works fine for me on linux as a non-root user for another pid of the same user

I believe this requires `kernel.yama.ptrace_scope` to be set to 0, which is not the default in most distros? Or gdb to be granted specific capability, which I don't think is done by default either.



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

Search: