diff options
author | Jo Van Bulck <[email protected]> | 2023-10-05 17:38:51 +0200 |
---|---|---|
committer | Dave Hansen <[email protected]> | 2023-12-08 10:05:27 -0800 |
commit | a4c39ef4ed43103caef80029cd30427a9ff342d8 (patch) | |
tree | 0016e73939172a984f8a4c2379d28c8668e5b3e6 /scripts/gdb/linux/utils.py | |
parent | 9fd552ee32c6c1e27c125016b87d295bea6faea7 (diff) |
selftests/sgx: Ensure test enclave buffer is entirely preserved
Attach the "used" attribute to instruct the compiler to preserve the static
encl_buffer, even if it appears it is not entirely referenced in the enclave
code, as expected by the external tests manipulating page permissions.
Signed-off-by: Jo Van Bulck <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Acked-by: Kai Huang <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Link: https://lore.kernel.org/all/20231005153854.25566-11-jo.vanbulck%40cs.kuleuven.be
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions