mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Currently the floating point stress tests mostly support testing that the data they are checking can be disrupted from a signal handler triggered by SIGUSR1. This is not properly implemented for all the tests and in testing is frequently modified to just handle the signal without corrupting data in order to ensure that signal handling does not corrupt data. Directly support this usage by installing a SIGUSR2 handler which simply counts the signal delivery. Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20220829154452.824870-3-broonie@kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
12 lines
247 B
C
12 lines
247 B
C
#define sa_sz 32
|
|
#define sa_flags 8
|
|
#define sa_handler 0
|
|
#define sa_mask_sz 8
|
|
#define SIGUSR1 10
|
|
#define SIGUSR2 12
|
|
#define SIGTERM 15
|
|
#define SIGINT 2
|
|
#define SIGABRT 6
|
|
#define SA_NODEFER 1073741824
|
|
#define SA_SIGINFO 4
|
|
#define ucontext_regs 184
|