Home
last modified time | relevance | path

Searched refs:UC_STRICT_RESTORE_SS (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/x86/
H A Dsigreturn.c65 * Kernels that set UC_SIGCONTEXT_SS will also set UC_STRICT_RESTORE_SS
70 * if (saved SS is valid || UC_STRICT_RESTORE_SS is set ||
77 #define UC_STRICT_RESTORE_SS 0x4 macro
410 /* UC_STRICT_RESTORE_SS is set iff we came from 64-bit mode. */ in validate_signal_ss()
411 if (!!(ctx->uc_flags & UC_STRICT_RESTORE_SS) != was_64bit) { in validate_signal_ss()
503 if (ctx->uc_flags & UC_STRICT_RESTORE_SS) { in sigtrap()
522 /* Tests recovery if !UC_STRICT_RESTORE_SS */
527 if (!(ctx->uc_flags & UC_STRICT_RESTORE_SS)) { in sigusr2()
528 printf("[FAIL]\traise(2) didn't set UC_STRICT_RESTORE_SS\n"); in sigusr2()
533 ctx->uc_flags &= ~UC_STRICT_RESTORE_SS; in sigusr2()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/x86/
H A Dsigreturn.c65 * Kernels that set UC_SIGCONTEXT_SS will also set UC_STRICT_RESTORE_SS
70 * if (saved SS is valid || UC_STRICT_RESTORE_SS is set ||
77 #define UC_STRICT_RESTORE_SS 0x4 macro
407 /* UC_STRICT_RESTORE_SS is set iff we came from 64-bit mode. */ in validate_signal_ss()
408 if (!!(ctx->uc_flags & UC_STRICT_RESTORE_SS) != was_64bit) { in validate_signal_ss()
500 if (ctx->uc_flags & UC_STRICT_RESTORE_SS) { in sigtrap()
519 /* Tests recovery if !UC_STRICT_RESTORE_SS */
524 if (!(ctx->uc_flags & UC_STRICT_RESTORE_SS)) { in sigusr2()
525 printf("[FAIL]\traise(2) didn't set UC_STRICT_RESTORE_SS\n"); in sigusr2()
530 ctx->uc_flags &= ~UC_STRICT_RESTORE_SS; in sigusr2()
[all...]
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
H A Ducontext.h19 * Kernels that set UC_SIGCONTEXT_SS will also set UC_STRICT_RESTORE_SS
24 * if (saved SS is valid || UC_STRICT_RESTORE_SS is set ||
41 * no longer valid. UC_STRICT_RESTORE_SS will be clear, so the kernel
51 #define UC_STRICT_RESTORE_SS 0x4 macro
/kernel/linux/linux-6.6/arch/x86/include/uapi/asm/
H A Ducontext.h19 * Kernels that set UC_SIGCONTEXT_SS will also set UC_STRICT_RESTORE_SS
24 * if (saved SS is valid || UC_STRICT_RESTORE_SS is set ||
41 * no longer valid. UC_STRICT_RESTORE_SS will be clear, so the kernel
51 #define UC_STRICT_RESTORE_SS 0x4 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
H A Ducontext.h24 #define UC_STRICT_RESTORE_SS 0x4 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-x86/asm/
H A Ducontext.h24 #define UC_STRICT_RESTORE_SS 0x4 macro
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dsignal_64.c92 if (unlikely(!(uc_flags & UC_STRICT_RESTORE_SS) && user_64bit_mode(regs))) in restore_sigcontext()
159 flags |= UC_STRICT_RESTORE_SS; in frame_uc_flags()
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dsignal.c135 if (unlikely(!(uc_flags & UC_STRICT_RESTORE_SS) && user_64bit_mode(regs))) in restore_sigcontext()
450 flags |= UC_STRICT_RESTORE_SS; in frame_uc_flags()

Completed in 5 milliseconds