Home | History | Annotate | Download | only in coregrind

Lines Matching defs:sig

744    Int sig;
746 for (sig = 1; sig <= _VKI_NSIG; sig++) {
747 VG_(printf)("sig %d: handler %p, flags 0x%x\n", sig,
748 skss.skss_per_sig[sig].skss_handler,
749 skss.skss_per_sig[sig
765 Int sig;
769 for (sig = 1; sig <= _VKI_NSIG; sig++) {
773 scss_handler = scss.scss_per_sig[sig].scss_handler;
774 scss_flags = scss.scss_per_sig[sig].scss_flags;
776 switch(sig) {
797 if (scss.scss_per_sig[sig].scss_handler == VKI_SIG_DFL)
799 else if (scss.scss_per_sig[sig].scss_handler == VKI_SIG_IGN)
808 if (sig == VG_SIGVGKILL)
855 if (sig != VKI_SIGKILL && sig != VKI_SIGSTOP)
856 dst->skss_per_sig[sig].skss_handler = skss_handler;
858 dst->skss_per_sig[sig].skss_handler = VKI_SIG_DFL;
860 dst->skss_per_sig[sig].skss_flags = skss_flags;
1026 Int res, sig;
1037 for (sig = 1; sig <= VG_(max_signal); sig++) {
1041 if (sig == VKI_SIGKILL || sig == VKI_SIGSTOP)
1045 if ((skss_old.skss_per_sig[sig].skss_handler
1046 == skss.skss_per_sig[sig].skss_handler)
1047 && (skss_old.skss_per_sig[sig].skss_flags
1048 == skss.skss_per_sig[sig].skss_flags))
1053 ksa.ksa_handler = skss.skss_per_sig[sig].skss_handler;
1054 ksa.sa_flags = skss.skss_per_sig[sig].skss_flags;
1074 sig, ksa.ksa_handler,
1076 _VKI_NSIG_WORDS > 1 ? (ULong)ksa.sa_mask.sig[1] : 0,
1077 (ULong)ksa.sa_mask.sig[0]);
1079 res = VG_(sigaction)( sig, &ksa, &ksa_old );
1086 == skss_old.skss_per_sig[sig].skss_handler);
1093 skss_old.skss_per_sig[sig].skss_flags
1100 == skss_old.skss_per_sig[sig].skss_flags);
1316 set ? (ULong)set->sig[w] : 0);
1319 set ? (ULong)set->sig[w] : 0);
1568 VG_(sprintf)(buf, "SIG%d", sigNo);