projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
seccomp, filter: add and use bpf_prog_create_from_user from seccomp
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
audit.c
diff --git
a/kernel/audit.c
b/kernel/audit.c
index ab5745ddf9622025594d29a542a8e0ef21a39ce7..1c13e4267de6e78c0ceb566c6517b837ce2b947e 100644
(file)
--- a/
kernel/audit.c
+++ b/
kernel/audit.c
@@
-1928,7
+1928,7
@@
void audit_log_link_denied(const char *operation, struct path *link)
/* Generate AUDIT_PATH record with object. */
name->type = AUDIT_TYPE_NORMAL;
/* Generate AUDIT_PATH record with object. */
name->type = AUDIT_TYPE_NORMAL;
- audit_copy_inode(name, link->dentry,
link->dentry->d_inode
);
+ audit_copy_inode(name, link->dentry,
d_backing_inode(link->dentry)
);
audit_log_name(current->audit_context, name, link, 0, NULL);
out:
kfree(name);
audit_log_name(current->audit_context, name, link, 0, NULL);
out:
kfree(name);