Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: f00d797 ("EVM: Allow userspace to signal an RSA key has been loaded") Signed-off-by: Mimi Zohar <[email protected]>
- Loading branch information