Rich Felker | 2b0af60 | 2013-06-29 12:24:06 -0400 | [diff] [blame] | 1 | /* This is the structure used for the rt_sigaction syscall on most archs, |
| 2 | * but it can be overridden by a file with the same name in the top-level |
| 3 | * arch dir for a given arch, if necessary. */ |
Rich Felker | 0b63779 | 2012-07-11 02:44:55 -0400 | [diff] [blame] | 4 | struct k_sigaction { |
| 5 | void (*handler)(int); |
| 6 | unsigned long flags; |
| 7 | void (*restorer)(void); |
Rich Felker | ea4175e | 2012-07-12 11:00:21 -0400 | [diff] [blame] | 8 | unsigned mask[2]; |
Rich Felker | 0b63779 | 2012-07-11 02:44:55 -0400 | [diff] [blame] | 9 | }; |
Rich Felker | b61df22 | 2015-09-23 18:33:49 +0000 | [diff] [blame] | 10 | |
| 11 | void __restore(), __restore_rt(); |