diff options
| author | Thiago Jung Bauermann <[email protected]> | 2017-06-08 01:49:12 +0000 |
|---|---|---|
| committer | Mimi Zohar <[email protected]> | 2017-06-21 18:37:12 +0000 |
| commit | 915d9d255defeba80e1331a2b8bb8a79c0ca4db7 (patch) | |
| tree | 1c17768e0bd34096069dee66cb1998a6f0f9f6b8 /drivers/fpga/fpga-mgr.c | |
| parent | ima: Simplify policy_func_show. (diff) | |
| download | kernel-915d9d255defeba80e1331a2b8bb8a79c0ca4db7.tar.gz kernel-915d9d255defeba80e1331a2b8bb8a79c0ca4db7.zip | |
ima: Log the same audit cause whenever a file has no signature
If the file doesn't have an xattr, ima_appraise_measurement sets cause to
"missing-hash" while if there's an xattr but it's a digest instead of a
signature it sets cause to "IMA-signature-required".
Fix it by setting cause to "IMA-signature-required" in both cases.
Signed-off-by: Thiago Jung Bauermann <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
