disable_debugger_attachment 936 B

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