diff options
author | hjk <hjk121@nokiamail.com> | 2013-02-27 16:11:15 +0100 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2013-02-28 08:13:09 +0100 |
commit | 7660636971207559c1dda9a7776eb9c7d105c161 (patch) | |
tree | 37cac304da27d7605131018b190148471f346007 | |
parent | ab8878fdd1a40aec54b5262739aa0449943256fb (diff) | |
download | qt-creator-7660636971207559c1dda9a7776eb9c7d105c161.tar.gz |
Debugger: Mention possibility to globally disable ptrace_scope.
Change-Id: I71cb34635711477508bda08c84bd998344346142
Reviewed-by: hjk <hjk121@nokiamail.com>
-rw-r--r-- | doc/src/debugger/creator-debugger.qdoc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/debugger/creator-debugger.qdoc b/doc/src/debugger/creator-debugger.qdoc index f9429d1ffc..ff73ad3c14 100644 --- a/doc/src/debugger/creator-debugger.qdoc +++ b/doc/src/debugger/creator-debugger.qdoc @@ -1327,8 +1327,10 @@ However, the usefulness of this security measure seems dubious, because this feature can be easily disabled. With root permissions, you can - disable the feature immediately by writing \c{0} into - \c{/proc/sys/kernel/yama/ptrace_scope}. Even if you do not have elevated + disable the feature temporarily by writing \c{0} into + \c{/proc/sys/kernel/yama/ptrace_scope} or permanently by changing + the value in \c{/etc/sysctl.d/10-ptrace.conf}. + Even if you do not have elevated permissions, you can disable the feature later by adding a library that calls \c{prctl(0x59616d61, getppid(), 0, 0, 0);}, such as the one in \c{$QTCREATORDIR/lib/libptracepreload.so} to the LD_PRELOAD environment. |