Searched refs:altstack (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/tools/testing/selftests/x86/ |
D | sigaltstack.c | 89 static void test_sigaltstack(void *altstack, unsigned long size) in test_sigaltstack() argument 91 if (setup_altstack(altstack, size)) in test_sigaltstack() 113 void *altstack; in main() local 117 altstack = mmap(NULL, at_minstack_size + SIGSTKSZ, PROT_READ | PROT_WRITE, in main() 119 if (altstack == MAP_FAILED) in main() 123 test_sigaltstack(altstack, ENFORCED_MINSIGSTKSZ + 1); in main() 125 test_sigaltstack(altstack, at_minstack_size + SIGSTKSZ); in main()
|
D | amx.c | 395 void *altstack; in alloc_altstack() local 397 altstack = mmap(NULL, size, PROT_READ | PROT_WRITE, in alloc_altstack() 400 if (altstack == MAP_FAILED) in alloc_altstack() 403 return altstack; in alloc_altstack() 432 void *altstack; in test_dynamic_sigaltstack() local 449 altstack = alloc_altstack(enough_size); in test_dynamic_sigaltstack() 458 setup_altstack(altstack, small_size, SUCCESS_EXPECTED); in test_dynamic_sigaltstack() 467 setup_altstack(altstack, enough_size, SUCCESS_EXPECTED); in test_dynamic_sigaltstack() 477 setup_altstack(altstack, small_size, FAIL_EXPECTED); in test_dynamic_sigaltstack()
|
/linux-6.12.1/Documentation/arch/x86/ |
D | xstate.rst | 69 sigaltstack(2) results in -ENOMEM if the requested altstack is too small
|