[notmuch] [PATCH RFC] debugger: detect presence of ptrace type debuggers

2009-11-27 Thread Carl Worth
On Fri, 27 Nov 2009 22:11:04 -0500, Bart Trojanowski wrote: > According to the internet [1], this is a more reliable way of detecting if > one is under the spell of a debugger. Should work for ptrace, strace, > gdb, etc. Basically anything that uses the ptrace() syscall. Doesn't avoid having

[notmuch] [PATCH RFC] debugger: detect presence of ptrace type debuggers

2009-11-27 Thread Bart Trojanowski
According to the internet [1], this is a more reliable way of detecting if one is under the spell of a debugger. Should work for ptrace, strace, gdb, etc. Basically anything that uses the ptrace() syscall. [1] http://vx.netlux.org/lib/vsc04.html --- debugger.c |5 + 1 files changed, 5