Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Copyright (C) 2019 ARM Limited
0004  *
0005  * Try to mangle the ucontext from inside a signal handler, toggling
0006  * the mode bit to escalate exception level: this attempt must be spotted
0007  * by Kernel and the test case is expected to be termninated via SEGV.
0008  */
0009 
0010 #include "test_signals_utils.h"
0011 #include "testcases.h"
0012 
0013 #include "mangle_pstate_invalid_mode_template.h"
0014 
0015 DEFINE_TESTCASE_MANGLE_PSTATE_INVALID_MODE(1h);