diff options
author | Mimi Zohar <zohar@linux.ibm.com> | 2021-04-26 18:13:45 -0400 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2021-05-20 19:48:30 -0400 |
commit | 49219d9b8785ba712575c40e48ce0f7461254626 (patch) | |
tree | 745008ece0fc7da7b66141a4358d4e19552dd7dc /scripts/Kbuild.include | |
parent | d07f6ca923ea0927a1024dfccafc5b53b61cfecc (diff) | |
download | linux-49219d9b8785ba712575c40e48ce0f7461254626.tar.gz |
evm: fix writing <securityfs>/evm overflow
EVM_SETUP_COMPLETE is defined as 0x80000000, which is larger than INT_MAX.
The "-fno-strict-overflow" compiler option properly prevents signaling
EVM that the EVM policy setup is complete. Define and read an unsigned
int.
Fixes: f00d79750712 ("EVM: Allow userspace to signal an RSA key has been loaded")
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'scripts/Kbuild.include')
0 files changed, 0 insertions, 0 deletions