Commit c2586d4e authored by Stefan Bader's avatar Stefan Bader

Revert "UBUNTU: SAUCE: apparmor: Don't audit denied access of special apparmor .null file"

This reverts commit 38567b0e.

BugLink: https://bugs.launchpad.net/bugs/1666897Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
parent 9c34cd79
......@@ -443,9 +443,6 @@ static int common_file_perm(const char *op, struct file *file, u32 mask)
struct aa_label *label;
int error = 0;
if (file->f_path.dentry == aa_null.dentry)
return -EACCES;
label = aa_begin_current_label(NO_UPDATE);
error = aa_file_perm(op, label, file, mask);
aa_end_current_label(label);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment