Home
last modified time | relevance | path

Searched refs:sa_flags (Results 1 – 25 of 158) sorted by relevance

1234567

/linux-6.6.21/arch/mips/kernel/
Dsignal32.c53 err |= __get_user(new_ka.sa.sa_flags, &act->sa_flags);
66 err |= __put_user(old_ka.sa.sa_flags, &oact->sa_flags);
/linux-6.6.21/include/trace/events/
Dsignal.h107 __field( unsigned long, sa_flags )
114 __entry->sa_flags = ka->sa.sa_flags;
119 __entry->sa_handler, __entry->sa_flags)
/linux-6.6.21/include/linux/
Dsignal_types.h40 unsigned long sa_flags; member
42 unsigned int sa_flags;
62 unsigned long sa_flags; member
/linux-6.6.21/arch/x86/kernel/
Dsignal.c48 ksig->ka.sa.sa_flags & SA_IA32_ABI; in is_ia32_compat_frame()
59 ksig->ka.sa.sa_flags & SA_X32_ABI; in is_x32_frame()
92 if (ka->sa.sa_flags & SA_ONSTACK) { in get_sigframe()
105 !(ka->sa.sa_flags & SA_RESTORER) && in get_sigframe()
215 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in setup_rt_frame()
245 if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { in handle_signal()
Dsignal_64.c172 if (!(ksig->ka.sa.sa_flags & SA_RESTORER)) in x64_setup_rt_frame()
193 if (ksig->ka.sa.sa_flags & SA_SIGINFO) { in x64_setup_rt_frame()
311 if (!(ksig->ka.sa.sa_flags & SA_RESTORER)) in x32_setup_rt_frame()
332 if (ksig->ka.sa.sa_flags & SA_SIGINFO) { in x32_setup_rt_frame()
398 act->sa.sa_flags |= SA_IA32_ABI; in sigaction_compat_abi()
400 act->sa.sa_flags |= SA_X32_ABI; in sigaction_compat_abi()
/linux-6.6.21/arch/sparc/include/asm/
Dcompat_signal.h11 unsigned int sa_flags; member
19 unsigned int sa_flags; member
/linux-6.6.21/arch/um/kernel/
Dsignal.c69 if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { in handle_signal()
82 if ((ksig->ka.sa.sa_flags & SA_ONSTACK) && (sas_ss_flags(sp) == 0)) in handle_signal()
86 if (!(ksig->ka.sa.sa_flags & SA_SIGINFO)) in handle_signal()
/linux-6.6.21/arch/mips/include/asm/
Dsignal.h19 ((ka)->sa.sa_flags & SA_SIGINFO))
24 ((ka)->sa.sa_flags & SA_SIGINFO) : 1) )
/linux-6.6.21/tools/testing/selftests/x86/
Dtest_shadow_stack.c224 sa.sa_flags = SA_SIGINFO; in test_shstk_violation()
322 sa.sa_flags = SA_SIGINFO; in test_gup()
403 sa.sa_flags = SA_SIGINFO; in test_mprotect()
491 sa.sa_flags = SA_SIGINFO; in test_userfaultfd()
655 sa32->sa_flags = SA_SIGINFO; in test_32bit()
658 sa.sa_flags = SA_SIGINFO; in test_32bit()
706 sa.sa_flags = SA_SIGINFO; in test_ptrace()
/linux-6.6.21/arch/x86/include/uapi/asm/
Dsignal.h85 unsigned long sa_flags; member
96 unsigned long sa_flags; member
/linux-6.6.21/arch/powerpc/include/uapi/asm/
Dsignal.h79 unsigned long sa_flags; member
85 unsigned long sa_flags; member
/linux-6.6.21/arch/sparc/kernel/
Dsys_sparc32.c168 ret |= get_user(new_ka.sa.sa_flags, &act->sa_flags); in COMPAT_SYSCALL_DEFINE5()
181 ret |= put_user(old_ka.sa.sa_flags, &oact->sa_flags); in COMPAT_SYSCALL_DEFINE5()
/linux-6.6.21/tools/testing/selftests/powerpc/tm/
Dtm-signal-context-force-tm.c113 usr_sa.sa_flags = SA_SIGINFO | SA_ONSTACK; in tm_trap_test()
116 seg_sa.sa_flags = SA_SIGINFO; in tm_trap_test()
Dtm-trap.c260 trap_sa.sa_flags = SA_SIGINFO; in tm_trap_test()
266 usr1_sa.sa_flags = SA_SIGINFO; in tm_trap_test()
/linux-6.6.21/arch/sparc/include/uapi/asm/
Dsignal.h159 unsigned long sa_flags; member
167 unsigned long sa_flags; member
/linux-6.6.21/tools/testing/selftests/powerpc/signal/
Dsig_sc_double_restart.c105 act.sa_flags = SA_RESTART; in test_restart()
113 act.sa_flags = SA_RESTART; in test_restart()
/linux-6.6.21/arch/arm/kernel/
Dsignal.c345 if (ksig->ka.sa.sa_flags & SA_THIRTYTWO) in setup_return()
376 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_return()
387 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in setup_return()
398 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in setup_return()
515 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in handle_signal()
584 && !(ksig.ka.sa.sa_flags & SA_RESTART))) { in do_signal()
/linux-6.6.21/arch/s390/kernel/
Dsignal.c280 if (ka->sa.sa_flags & SA_ONSTACK) { in get_sigframe()
336 if (ka->sa.sa_flags & SA_RESTORER) in setup_frame()
394 if (ksig->ka.sa.sa_flags & SA_RESTORER) in setup_rt_frame()
437 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in handle_signal()
479 if (!(ksig.ka.sa.sa_flags & SA_RESTART)) { in arch_do_signal_or_restart()
/linux-6.6.21/tools/testing/selftests/powerpc/mm/
Dwild_bctr.c128 .sa_flags = SA_SIGINFO in test_wild_bctr()
132 .sa_flags = SA_SIGINFO in test_wild_bctr()
Dexec_prot.c123 segv_act.sa_flags = SA_SIGINFO; in test()
131 trap_act.sa_flags = SA_SIGINFO; in test()
Dsubpage_prot.c153 .sa_flags = SA_SIGINFO in test_anon()
189 .sa_flags = SA_SIGINFO in test_file()
/linux-6.6.21/arch/alpha/kernel/
Dsignal.c70 __get_user(new_ka.sa.sa_flags, &act->sa_flags) || in SYSCALL_DEFINE3()
82 __put_user(old_ka.sa.sa_flags, &oact->sa_flags) || in SYSCALL_DEFINE3()
438 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in handle_signal()
452 if (!(ka->sa.sa_flags & SA_RESTART)) { in syscall_restart()
/linux-6.6.21/arch/sh/kernel/
Dsignal_32.c256 if (ka->sa.sa_flags & SA_ONSTACK) { in get_sigframe()
288 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_frame()
358 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_rt_frame()
422 if (!(sa->sa_flags & SA_RESTART)) in handle_syscall_restart()
442 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in handle_signal()
/linux-6.6.21/arch/xtensa/kernel/
Dsignal.c364 if ((ksig->ka.sa.sa_flags & SA_ONSTACK) != 0 && sas_ss_flags(sp) == 0) { in setup_frame()
377 if (ksig->ka.sa.sa_flags & SA_SIGINFO) { in setup_frame()
389 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_frame()
475 if (!(ksig.ka.sa.sa_flags & SA_RESTART)) { in do_signal()
/linux-6.6.21/arch/sh/include/uapi/asm/
Dsignal.h13 unsigned long sa_flags; member

1234567