Lines Matching refs:si
268 bool signal_has_si_addr(const siginfo_t* si) { in signal_has_si_addr() argument
270 if (si->si_code == SI_USER || si->si_code == SI_QUEUE || si->si_code == SI_TKILL) { in signal_has_si_addr()
274 switch (si->si_signo) { in signal_has_si_addr()
286 bool signal_has_sender(const siginfo_t* si, pid_t caller_pid) { in signal_has_sender() argument
287 return SI_FROMUSER(si) && (si->si_pid != 0) && (si->si_pid != caller_pid); in signal_has_sender()
290 void get_signal_sender(char* buf, size_t n, const siginfo_t* si) { in get_signal_sender() argument
291 snprintf(buf, n, " from pid %d, uid %d", si->si_pid, si->si_uid); in get_signal_sender()
294 const char* get_signame(const siginfo_t* si) { in get_signame() argument
295 switch (si->si_signo) { in get_signame()
311 const char* get_sigcode(const siginfo_t* si) { in get_sigcode() argument
313 switch (si->si_signo) { in get_sigcode()
315 switch (si->si_code) { in get_sigcode()
334 switch (si->si_code) { in get_sigcode()
344 switch (si->si_code) { in get_sigcode()
371 switch (si->si_code) { in get_sigcode()
390 switch (si->si_code) { in get_sigcode()
398 switch (si->si_code) { in get_sigcode()
406 if ((si->si_code & 0xff) == SIGTRAP) { in get_sigcode()
407 switch ((si->si_code >> 8) & 0xff) { in get_sigcode()
430 switch (si->si_code) { in get_sigcode()