Skip to content
Browse files

README: Add a note about ptrace_scope on Ubuntu.

  • Loading branch information...
1 parent ff11f6d commit dad25ddb958f146a6b7aacf5015865ed9c102b07 @nelhage committed Jan 22, 2011
Showing with 11 additions and 0 deletions.
  1. +11 −0 README
@@ -50,6 +50,17 @@ reptyr fixes all of these problems, and is the only such tool I know
of that does so. See below for some more details on how it
accomplishes this.
+ptrace_scope on Ubuntu Maverick and up
+`reptyr` depends on the `ptrace` system call to attach to the remote program. On
+Ubuntu Maverick and higher, this ability is disabled by default for security
+reasons. You can enable it temporarily by doing
+ # echo 0 > /proc/sys/kernel/yama/ptrace_scope
+as root, or permanently by editing the file /etc/sysctl.d/10-ptrace.conf, which
+also contains more information about exactly what this setting accomplishes.
reptyr -l

0 comments on commit dad25dd

Please sign in to comment.
Something went wrong with that request. Please try again.