signal.c (f26e8817b235d8764363bffcc9cbfc61867371f2) | signal.c (4d1a535b8ec5e74b42dfd9dc809142653b2597f6) |
---|---|
1/* 2 * Copyright (C) 2015 Anton Ivanov (aivanov@{brocade.com,kot-begemot.co.uk}) 3 * Copyright (C) 2015 Thomas Meyer (thomas@m3y3r.de) 4 * Copyright (C) 2004 PathScale, Inc 5 * Copyright (C) 2004 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 6 * Licensed under the GPL 7 */ 8 --- 145 unchanged lines hidden (view full) --- 154 155 [SIGIO] = sig_handler, 156 [SIGWINCH] = sig_handler, 157 [SIGALRM] = timer_alarm_handler 158}; 159 160static void hard_handler(int sig, siginfo_t *si, void *p) 161{ | 1/* 2 * Copyright (C) 2015 Anton Ivanov (aivanov@{brocade.com,kot-begemot.co.uk}) 3 * Copyright (C) 2015 Thomas Meyer (thomas@m3y3r.de) 4 * Copyright (C) 2004 PathScale, Inc 5 * Copyright (C) 2004 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 6 * Licensed under the GPL 7 */ 8 --- 145 unchanged lines hidden (view full) --- 154 155 [SIGIO] = sig_handler, 156 [SIGWINCH] = sig_handler, 157 [SIGALRM] = timer_alarm_handler 158}; 159 160static void hard_handler(int sig, siginfo_t *si, void *p) 161{ |
162 struct ucontext *uc = p; | 162 ucontext_t *uc = p; |
163 mcontext_t *mc = &uc->uc_mcontext; 164 unsigned long pending = 1UL << sig; 165 166 do { 167 int nested, bail; 168 169 /* 170 * pending comes back with one bit set for each --- 176 unchanged lines hidden --- | 163 mcontext_t *mc = &uc->uc_mcontext; 164 unsigned long pending = 1UL << sig; 165 166 do { 167 int nested, bail; 168 169 /* 170 * pending comes back with one bit set for each --- 176 unchanged lines hidden --- |