Home
last modified time | relevance | path

Searched refs:sa_handler (Results 1 – 25 of 115) sorted by relevance

12345

/linux-6.1.9/arch/mips/kernel/
Dsignal32.c51 err |= __get_user(handler, &act->sa_handler);
52 new_ka.sa.sa_handler = (void __user *)(s64)handler;
67 err |= __put_user((u32)(u64)old_ka.sa.sa_handler,
68 &oact->sa_handler);
Dsignal.c607 err |= __get_user(new_ka.sa.sa_handler, &act->sa_handler); in SYSCALL_DEFINE3()
622 err |= __put_user(old_ka.sa.sa_handler, &oact->sa_handler); in SYSCALL_DEFINE3()
743 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_frame()
792 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame()
/linux-6.1.9/include/trace/events/
Dsignal.h106 __field( unsigned long, sa_handler )
113 __entry->sa_handler = (unsigned long)ka->sa.sa_handler;
119 __entry->sa_handler, __entry->sa_flags)
/linux-6.1.9/include/linux/
Dsignal_types.h39 __sighandler_t sa_handler; member
43 __sighandler_t sa_handler;
60 __sighandler_t sa_handler; member
/linux-6.1.9/tools/testing/selftests/clone3/
Dclone3_clear_sighand.c64 act.sa_handler = nop_handler; in test_clone3_clear_sighand()
98 if (act.sa_handler != SIG_DFL) in test_clone3_clear_sighand()
105 if (act.sa_handler != SIG_DFL) in test_clone3_clear_sighand()
/linux-6.1.9/arch/sparc/include/asm/
Dcompat_signal.h10 unsigned int sa_handler; member
17 unsigned int sa_handler; member
/linux-6.1.9/arch/x86/include/uapi/asm/
Dsignal.h89 #define sa_handler _u._sa_handler macro
95 __sighandler_t sa_handler; member
/linux-6.1.9/arch/powerpc/include/uapi/asm/
Dsignal.h77 __sighandler_t sa_handler; member
84 __sighandler_t sa_handler; member
/linux-6.1.9/arch/sparc/kernel/
Dsys_sparc32.c165 ret = get_user(u_handler, &act->sa_handler); in COMPAT_SYSCALL_DEFINE5()
166 new_ka.sa.sa_handler = compat_ptr(u_handler); in COMPAT_SYSCALL_DEFINE5()
178 ret = put_user(ptr_to_compat(old_ka.sa.sa_handler), &oact->sa_handler); in COMPAT_SYSCALL_DEFINE5()
/linux-6.1.9/arch/sparc/include/uapi/asm/
Dsignal.h158 __sighandler_t sa_handler; member
165 __sighandler_t sa_handler; member
/linux-6.1.9/tools/testing/selftests/powerpc/signal/
Dsig_sc_double_restart.c104 act.sa_handler = SIGUSR1_handler; in test_restart()
112 act.sa_handler = SIGUSR2_handler; in test_restart()
/linux-6.1.9/arch/alpha/kernel/
Dsignal.c69 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in SYSCALL_DEFINE3()
81 __put_user(old_ka.sa.sa_handler, &oact->sa_handler) || in SYSCALL_DEFINE3()
359 regs->r27 = regs->pc = (unsigned long) ksig->ka.sa.sa_handler; in setup_frame()
413 regs->r27 = regs->pc = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame()
/linux-6.1.9/kernel/
Dsignal.c69 return t->sighand->action[sig - 1].sa.sa_handler; in sig_handler()
529 t->sighand->action[i].sa.sa_handler = SIG_IGN; in ignore_signals()
544 if (force_default || ka->sa.sa_handler != SIG_IGN) in flush_signal_handlers()
545 ka->sa.sa_handler = SIG_DFL; in flush_signal_handlers()
557 void __user *handler = tsk->sighand->action[sig-1].sa.sa_handler; in unhandled_signal()
1331 ignored = action->sa.sa_handler == SIG_IGN; in force_sig_info_to_task()
1334 action->sa.sa_handler = SIG_DFL; in force_sig_info_to_task()
1346 if (action->sa.sa_handler == SIG_DFL && in force_sig_info_to_task()
2090 (psig->action[SIGCHLD-1].sa.sa_handler == SIG_IGN || in do_notify_parent()
2108 if (psig->action[SIGCHLD-1].sa.sa_handler == SIG_IGN) in do_notify_parent()
[all …]
/linux-6.1.9/tools/testing/selftests/powerpc/mm/
Dexec_prot.c120 segv_act.sa_handler = 0; in test()
128 trap_act.sa_handler = 0; in test()
Dpkey_exec_prot.c113 segv_act.sa_handler = 0; in test()
121 trap_act.sa_handler = 0; in test()
/linux-6.1.9/arch/sh/include/uapi/asm/
Dsignal.h11 __sighandler_t sa_handler; member
/linux-6.1.9/tools/testing/selftests/arm64/fp/
Dasm-offsets.h3 #define sa_handler 0 macro
/linux-6.1.9/arch/alpha/include/asm/
Dsignal.h21 __sighandler_t sa_handler; member
/linux-6.1.9/tools/testing/selftests/powerpc/tm/
Dtm-sigreturn.c62 sa.sa_handler = handler; in tm_sigreturn()
/linux-6.1.9/arch/sh/kernel/
Dsignal_32.c316 (struct fdpic_func_descriptor __user *)ksig->ka.sa.sa_handler; in setup_frame()
321 regs->pc = (unsigned long)ksig->ka.sa.sa_handler; in setup_frame()
386 (struct fdpic_func_descriptor __user *)ksig->ka.sa.sa_handler; in setup_rt_frame()
391 regs->pc = (unsigned long)ksig->ka.sa.sa_handler; in setup_rt_frame()
/linux-6.1.9/arch/x86/um/
Dbugs_32.c27 new.sa_handler = cmov_sigill_test_handler; in arch_check_bugs()
/linux-6.1.9/arch/m68k/include/uapi/asm/
Dsignal.h78 #define sa_handler _u._sa_handler macro
/linux-6.1.9/arch/arm/include/uapi/asm/
Dsignal.h88 #define sa_handler _u._sa_handler macro
/linux-6.1.9/include/uapi/asm-generic/
Dsignal.h76 __sighandler_t sa_handler; member
/linux-6.1.9/arch/s390/include/uapi/asm/
Dsignal.h103 #define sa_handler _u._sa_handler macro

12345