summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorBradley Morgan <include@grrlz.net>2026-08-06 13:30:13 +0000
committerAndrew Morton <akpm@linux-foundation.org>2026-08-13 15:42:08 -0700
commit9b836cd566815ab6302cfe56a7e432376e119652 (patch)
treed22f4c639c5a088760c992244fa1dd3e650ce3b4 /tools/lib/python
parenta63308ab426f3a3c7e33b02c150ea59054620261 (diff)
downloadlinux-9b836cd566815ab6302cfe56a7e432376e119652.tar.gz
linux-9b836cd566815ab6302cfe56a7e432376e119652.zip
signal: factor out the kernel reserved si_code check
The check that prevents userspace from sending siginfo with si_code values reserved to the kernel is duplicated across do_rt_sigqueueinfo(), do_rt_tgsigqueueinfo() and do_pidfd_send_signal(). Move the check into a helper so the rule lives in one place. Link: https://lore.kernel.org/20260806133013.4341-1-include@grrlz.net Signed-off-by: Bradley Morgan <include@grrlz.net> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Oleg Nesterov <oleg@redhat.com> Cc: Christian Brauner <brauner@kernel.org> Cc: Thomas Gleixner <tglx@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions