commit | d9a2e5d788d39f7593e2af5e1a365e2b9300679f | [log] [tgz] |
---|---|---|
author | Dmitry Kasatkin <d.kasatkin@samsung.com> | Wed Jul 02 15:12:26 2014 +0300 |
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | Tue Sep 09 10:28:44 2014 -0400 |
tree | cf1f4fba8aa27d2e80cd8ac9036ecab28295c6b1 | |
parent | 3034a146820c26fe6da66a45f6340fe87fe0983a [diff] |
integrity: prevent flooding with 'Request for unknown key' If file has IMA signature, IMA in enforce mode, but key is missing then file access is blocked and single error message is printed. If IMA appraisal is enabled in fix mode, then system runs as usual but might produce tons of 'Request for unknown key' messages. This patch switches 'pr_warn' to 'pr_err_ratelimited'. Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>