commit | e49612544c695117644af48bb4625264a3d2918f | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Wed Jun 17 16:27:36 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jun 18 13:03:52 2009 -0700 |
tree | 7fe576d195533fb671c7a610cc35e9608e48c87e | |
parent | d92656633b8352c6d4b14afcb7beb154d76e7aa6 [diff] |
ptrace: don't take tasklist to get/set ->last_siginfo Change ptrace_getsiginfo/ptrace_setsiginfo to use lock_task_sighand() without tasklist_lock. Perhaps it makes sense to make a single helper with "bool rw" argument. 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>