Scroll to navigation

TRACEHOOK_SIGNAL_HAN(9) Kernel Internals TRACEHOOK_SIGNAL_HAN(9)

NAME

tracehook_signal_handler - signal handler setup is complete

SYNOPSIS

void tracehook_signal_handler(int sig, siginfo_t * info, const struct k_sigaction * ka, struct pt_regs * regs, int stepping);

ARGUMENTS

sig

number of signal being delivered

info

siginfo_t of signal being delivered

ka

sigaction setting that chose the handler

regs

user register state

stepping

nonzero if debugger single-step or block-step in use

DESCRIPTION

Called by the arch code after a signal handler has been set up. Register and stack state reflects the user handler about to run. Signal mask changes have already been made.

Called without locks, shortly before returning to user mode (or handling more signals).

May 2024 Kernel Hackers Manual 2.6.