disable_debugger_attachment 961 B

12345678910111213141516
  1. o Minor features:
  2. - If set to 1, Tor will attempt to prevent basic debugging
  3. attachment attempts by other processes. It has no impact for
  4. users who wish to attach if they have CAP_SYS_PTRACE or if they
  5. are root. We believe that this feature works on modern
  6. Gnu/Linux distributions, and that it may also work on OSX and
  7. some *BSD systems (untested). Some modern Gnu/Linux systems
  8. such as Ubuntu have the kernel.yama.ptrace_scope sysctl and by
  9. default enable it as an attempt to limit the PTRACE scope for
  10. all user processes by default. This feature will attempt to
  11. limit the PTRACE scope for Tor specifically - it will not
  12. attempt to alter the system wide ptrace scope as it may not even
  13. exist. If you wish to attach to Tor with a debugger such as gdb
  14. or strace you will want to set this to 0 for the duration of
  15. your debugging. Normal users should leave it on. (Default: 1)