diff options
| author | Bradley Morgan <include@grrlz.net> | 2026-08-06 13:30:13 +0000 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-08-13 15:42:08 -0700 |
| commit | 9b836cd566815ab6302cfe56a7e432376e119652 (patch) | |
| tree | d22f4c639c5a088760c992244fa1dd3e650ce3b4 /scripts/stackusage | |
| parent | a63308ab426f3a3c7e33b02c150ea59054620261 (diff) | |
| download | linux-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 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
