summaryrefslogtreecommitdiff
path: root/drivers/Kconfig
diff options
context:
space:
mode:
authorJo Van Bulck <jo.vanbulck@cs.kuleuven.be>2023-10-05 18:38:51 +0300
committerDave Hansen <dave.hansen@linux.intel.com>2023-12-08 21:05:27 +0300
commita4c39ef4ed43103caef80029cd30427a9ff342d8 (patch)
tree0016e73939172a984f8a4c2379d28c8668e5b3e6 /drivers/Kconfig
parent9fd552ee32c6c1e27c125016b87d295bea6faea7 (diff)
downloadlinux-a4c39ef4ed43103caef80029cd30427a9ff342d8.tar.xz
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 <jo.vanbulck@cs.kuleuven.be> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Acked-by: Kai Huang <kai.huang@intel.com> Link: https://lore.kernel.org/all/a2732938-f3db-a0af-3d68-a18060f66e79@cs.kuleuven.be/ Link: https://lore.kernel.org/all/20231005153854.25566-11-jo.vanbulck%40cs.kuleuven.be
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions