]> git.ipfire.org Git - thirdparty/glibc.git/commit
Add tst-sigaction.c to test BZ #23069
authorAurelien Jarno <aurelien@aurel32.net>
Thu, 26 Apr 2018 20:21:13 +0000 (22:21 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 28 Apr 2018 11:18:25 +0000 (13:18 +0200)
commit623f4aef132ad0412fb546324a7b7adb769309fd
tree816c1b8e18d596f03e87d02ce9086e5d58f96847
parentced2cd1ede2acf3cea2f5870b55d4e9a225ffa1b
Add tst-sigaction.c to test BZ #23069

This simple test uses sigaction to define a signal handler. It then
uses sigaction again to fetch the information about the same signal
handler, and check that they are consistent. This is enough to detect
mismatches between struct kernel_sigaction and the kernel version of
struct sigaction, like in BZ #23069.

Changelog:
       * signal/tst-sigaction.c: New file to test BZ #23069.
       * signal/Makefile (tests): Fix indentation. Add tst-sigaction.

(cherry picked from commit 7a6f74787132aca8e3809cae8d9e7bc7bfd55ce1)
ChangeLog
signal/Makefile
signal/tst-sigaction.c [new file with mode: 0644]