]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
UBUNTU: SAUCE: ima: Downgrade error to warning
authorTim Gardner <tim.gardner@canonical.com>
Wed, 15 Feb 2017 13:14:28 +0000 (06:14 -0700)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 5 Sep 2017 12:33:32 +0000 (07:33 -0500)
BugLink: http://bugs.launchpad.net/bugs/1656908
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
security/integrity/ima/ima_fs.c

index ad491c51e8339c8f497b218c7b007b7c12a98ce4..707ead8eef4d4c9a5295995021b0f680b36cee3b 100644 (file)
@@ -287,7 +287,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;
        }