Drop SA_SIGINFO, and rename the function to setup_sigurg_handler()
without the parameter.
* Drop the SA_SIGINFO flag: This flag implies that we use the
three-argument sa_sigaction signal handlers, which is not the case
here. (c.f. sigaction(2))
* Remove the "int signal" argument and rename the function:
The function was already specific to SIGURG and this is better
communicated through a different name.
Assisted-by: LLM
Signed-off-by: Günther Noack <redacted>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261008142604.39107-2-gnoack3000@gmail.com?part=17