aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2010-05-26 14:43:14 -0700
committerLinus Torvalds <[email protected]>2010-05-27 09:12:46 -0700
commitffdf91856c812646aa276711fa7e3ad80b00764a (patch)
tree0a6d0e6e1edb78aee411c3fb302c43acf34dc7d6 /include/linux
parentd30fda355188272430d3865db2ff9e24b4135ae3 (diff)
ia64: ptrace_attach_sync_user_rbs: avoid "task->signal != NULL" checks
Preparation to make task->signal immutable, no functional changes. It doesn't matter which pointer we check under tasklist to ensure the task was not released, ->signal or ->sighand. But we are going to make ->signal refcountable, change the code to use ->sighand. Note: this code doesn't need this check and tasklist_lock at all, it should be converted to use lock_task_sighand(). And, the code under SIGNAL_STOP_STOPPED check looks wrong. Signed-off-by: Oleg Nesterov <[email protected]> Cc: Fenghua Yu <[email protected]> Cc: Roland McGrath <[email protected]> Cc: Stanislaw Gruszka <[email protected]> Cc: Tony Luck <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions