File Index
Files and directories
Sign in
FILE

mangle_pstate_invalid_mode_el3t.c

File preview with syntax highlighting.

linux-6.19.14/tools/testing/selftests/arm64/signal/testcases/mangle_pstate_invalid_mode_el3t.c C
 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
15DEFINE_TESTCASE_MANGLE_PSTATE_INVALID_MODE(3t);
~/ Read-only file preview.