This patchset has two changes.First patch makes ptrace(PTRACE_SETOPTIONS, pid, 0, <bogus value>)to error out *without* changing any task->ptrace bits.Second patch is a cleanup: PTRACE_SETOPTIONS codeclears all option bits in task->ptrace, then sets bits one-by-one.This is butt-ugly.-- vda