[PATCH Yakkety SRU ] UBUNTU: SAUCE: ima: Downgrade error to warning
Tim Gardner
tim.gardner at canonical.com
Wed Feb 15 13:17:21 UTC 2017
BugLink: http://bugs.launchpad.net/bugs/1656908
Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
---
security/integrity/ima/ima_fs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/security/integrity/ima/ima_fs.c b/security/integrity/ima/ima_fs.c
index c07a384..a463021 100644
--- a/security/integrity/ima/ima_fs.c
+++ b/security/integrity/ima/ima_fs.c
@@ -273,7 +273,7 @@ static ssize_t ima_read_policy(char *path)
rc = kernel_read_file_from_path(path, &data, &size, 0, READING_POLICY);
if (rc < 0) {
- pr_err("Unable to open file: %s (%d)", path, rc);
+ pr_warn("Unable to open file: %s (%d)", path, rc);
return rc;
}
--
2.7.4
More information about the kernel-team
mailing list