1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * Copyright (C) 2019 ARM Limited 4 * 5 * Try to mangle the ucontext from inside a signal handler, toggling 6 * the mode bit to escalate exception level: this attempt must be spotted 7 * by Kernel and the test case is expected to be termninated via SEGV. 8 */ 9 10 #include "test_signals_utils.h" 11 #include "testcases.h" 12 13 #include "mangle_pstate_invalid_mode_template.h" 14 15 DEFINE_TESTCASE_MANGLE_PSTATE_INVALID_MODE(1t); 16
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.