evm: add interface to read and write EVM state (ENABLE/DISABLE/FIX).
The state of EVM can be change by writing to the <securityfs>/evm_state,
and can be check by reading from the interface.
To change the state of EVM write:
0 - for disabling
1 - for enabling
2 - for FIX mode
Notice that evm have to be initialized before you use the interface.
To enable this option you have to set a proper option in Kconfig.
Signed-off-by: Janusz Kozerski <j.kozerski@samsung.com>
Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
5 files changed