OrangePi_CM5/include/linux/sched
Oleg Nesterov 91530f675e fix race between exit_itimers() and /proc/pid/timers
commit d5b36a4dbd06c5e8e36ca8ccc552f679069e2946 upstream.

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: chris@accessvector.net
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-07-21 21:19:59 +02:00
..
autogroup.h
…
clock.h
…
coredump.h
…
cpufreq.h
…
cputime.h
…
deadline.h
…
debug.h
…
hotplug.h
…
idle.h
…
init.h
…
isolation.h
…
jobctl.h
…
loadavg.h
…
mm.h mm, hugetlb: allow for "high" userspace addresses 2022-04-27 13:53:54 +02:00
nohz.h
…
numa_balancing.h
…
prio.h
…
rt.h
…
sd_flags.h
…
signal.h x86/signal: Detect and prevent an alternate signal stack overflow 2021-07-20 16:05:50 +02:00
smt.h
…
stat.h
…
sysctl.h
…
task.h fix race between exit_itimers() and /proc/pid/timers 2022-07-21 21:19:59 +02:00
task_stack.h task_stack: Fix end_of_stack() for architectures with upwards-growing stack 2021-11-18 14:04:01 +01:00
topology.h
…
types.h
…
user.h
…
wake_q.h
…
xacct.h
…