Skip to content
Commit d5b36a4d authored by Oleg Nesterov's avatar Oleg Nesterov Committed by Linus Torvalds
Browse files

fix race between exit_itimers() and /proc/pid/timers



As Chris explains, the comment above exit_itimers() is not correct,
we can race with proc_timers_seq_ops. Change exit_itimers() to clear
signal->posix_timers with ->siglock held.

Cc: <stable@vger.kernel.org>
Reported-by: default avatar <chris@accessvector.net>
Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 32346491
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment