On top of
signal-avoid-shared-siginfo-namespace-rewrites.patch
in -mm tree.
To clarify, this (simple) change looks like a cleanup to me even if it slightly
complicates send_signal_locked(). But cleanups are always subjective, so I won't
argue if anyone thinks otherwise.
To remind, I think we should shift this namespace translation into
__send_signal_locked() -> copy_siginfo() path, but this needs something like
[PATCH v2 2/3] signal: turn the "bool force" arg of __send_signal_locked() into "int flags"
https://lore.kernel.org/all/ajVDzniRXROuyRgD@redhat.com/
Oleg.