Home
last modified time | relevance | path

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

1234567

/linux/arch/mips/kernel/
H A Dsignal32.c54 err |= __get_user(new_ka.sa.sa_flags, &act->sa_flags);
67 err |= __put_user(old_ka.sa.sa_flags, &oact->sa_flags);
/linux/include/trace/events/
H A Dsignal.h107 __field( unsigned long, sa_flags )
114 __entry->sa_flags = ka->sa.sa_flags;
119 __entry->sa_handler, __entry->sa_flags)
/linux/include/linux/
H A Dsignal_types.h40 unsigned long sa_flags; member
42 unsigned int sa_flags;
62 unsigned long sa_flags; member
/linux/arch/x86/kernel/
H A Dsignal.c49 ksig->ka.sa.sa_flags & SA_IA32_ABI; in is_ia32_compat_frame()
60 ksig->ka.sa.sa_flags & SA_X32_ABI; in is_x32_frame()
112 if (ka->sa.sa_flags & SA_ONSTACK) { in get_sigframe()
125 !(ka->sa.sa_flags & SA_RESTORER) && in get_sigframe()
243 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in setup_rt_frame()
273 if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { in handle_signal()
H A 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()
335 if (ksig->ka.sa.sa_flags & SA_SIGINFO) { in x32_setup_rt_frame()
404 act->sa.sa_flags |= SA_IA32_ABI; in sigaction_compat_abi()
406 act->sa.sa_flags |= SA_X32_ABI; in sigaction_compat_abi()
/linux/arch/um/kernel/
H A 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/tools/testing/selftests/mm/
H A Dpkey_sighandler_tests.c164 sa.sa_flags = SA_SIGINFO; in test_sigsegv_handler_with_pkey0_disabled()
204 sa.sa_flags = SA_SIGINFO; in test_sigsegv_handler_cannot_access_stack()
244 sa.sa_flags = SA_SIGINFO | SA_ONSTACK; in test_sigsegv_handler_with_different_pkey_for_stack()
312 sa.sa_flags = SA_SIGINFO; in test_pkru_preserved_after_sigusr1()
389 sa.sa_flags = 0; in test_pkru_sigreturn()
401 sa.sa_flags = SA_SIGINFO | SA_ONSTACK; in test_pkru_sigreturn()
/linux/arch/sparc/include/asm/
H A Dcompat_signal.h11 unsigned int sa_flags; member
19 unsigned int sa_flags; member
/linux/arch/mips/include/asm/
H A Dsignal.h19 ((ka)->sa.sa_flags & SA_SIGINFO))
24 ((ka)->sa.sa_flags & SA_SIGINFO) : 1) )
/linux/arch/x86/include/uapi/asm/
H A Dsignal.h84 unsigned long sa_flags; member
95 unsigned long sa_flags; member
/linux/arch/powerpc/include/uapi/asm/
H A Dsignal.h79 unsigned long sa_flags; member
85 unsigned long sa_flags; member
/linux/tools/testing/selftests/x86/
H A Dtest_shadow_stack.c225 sa.sa_flags = SA_SIGINFO; in test_shstk_violation()
323 sa.sa_flags = SA_SIGINFO; in test_gup()
404 sa.sa_flags = SA_SIGINFO; in test_mprotect()
492 sa.sa_flags = SA_SIGINFO; in test_userfaultfd()
709 sa32->sa_flags = SA_SIGINFO; in test_32bit()
712 sa.sa_flags = SA_SIGINFO; in test_32bit()
837 sa.sa_flags = SA_SIGINFO; in test_uretprobe()
898 sa.sa_flags = SA_SIGINFO; in test_ptrace()
H A Dnx_stack.c166 act.sa_flags = SA_SIGINFO; in main()
174 act.sa_flags = SA_SIGINFO; in main()
/linux/arch/sparc/kernel/
H A 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/tools/testing/selftests/powerpc/tm/
H A 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()
H A 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/arch/sparc/include/uapi/asm/
H A Dsignal.h159 unsigned long sa_flags; member
167 unsigned long sa_flags; member
/linux/tools/testing/selftests/powerpc/signal/
H A Dsig_sc_double_restart.c105 act.sa_flags = SA_RESTART; in test_restart()
113 act.sa_flags = SA_RESTART; in test_restart()
/linux/arch/arm/kernel/
H A 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/arch/s390/kernel/
H A Dsignal.c277 if (ka->sa.sa_flags & SA_ONSTACK) { in get_sigframe()
333 if (ka->sa.sa_flags & SA_RESTORER) in setup_frame()
391 if (ksig->ka.sa.sa_flags & SA_RESTORER) in setup_rt_frame()
434 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in handle_signal()
476 if (!(ksig.ka.sa.sa_flags & SA_RESTART)) { in arch_do_signal_or_restart()
/linux/tools/testing/selftests/powerpc/mm/
H A Dwild_bctr.c128 .sa_flags = SA_SIGINFO in test_wild_bctr()
132 .sa_flags = SA_SIGINFO in test_wild_bctr()
H A Dsubpage_prot.c153 .sa_flags = SA_SIGINFO in test_anon()
189 .sa_flags = SA_SIGINFO in test_file()
/linux/arch/alpha/kernel/
H A 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/arch/sh/kernel/
H A 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/arch/xtensa/kernel/
H A 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()

1234567