summaryrefslogtreecommitdiff
path: root/Documentation/sysfs-rules.txt
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2009-06-18 03:27:39 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-19 00:03:52 +0400
commit47918025efdabd34e96b13b26eb2cf2fd6fd1f7c (patch)
treebae081deabe6e955e94c5510ae408b50b930c225 /Documentation/sysfs-rules.txt
parent3b34fc5880a2dcc7e5ed9837ef8d6bae051ab266 (diff)
downloadlinux-47918025efdabd34e96b13b26eb2cf2fd6fd1f7c.tar.xz
shift "ptrace implies WUNTRACED" from ptrace_do_wait() to wait_task_stopped()
No functional changes, preparation for the next patch. ptrace_do_wait() adds WUNTRACED to options for wait_task_stopped() which should always accept the stopped tracee, even if do_wait() was called without WUNTRACED. Change wait_task_stopped() to check "ptrace || WUNTRACED" instead. This makes the code more explicit, and "int options" argument becomes const in do_wait() pathes. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Roland McGrath <roland@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/sysfs-rules.txt')
0 files changed, 0 insertions, 0 deletions