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
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
[firefly-linux-kernel-4.4.55.git]
/
security
/
commoncap.c
diff --git
a/security/commoncap.c
b/security/commoncap.c
index bab0611afc1eed309a04f9cf2ee05575ea98fc9d..2915d8503054c0e41e5bc4de2103f0dad4026371 100644
(file)
--- a/
security/commoncap.c
+++ b/
security/commoncap.c
@@
-446,7
+446,7
@@
static int get_file_caps(struct linux_binprm *bprm, bool *effective, bool *has_c
if (bprm->file->f_path.mnt->mnt_flags & MNT_NOSUID)
return 0;
- dentry = dget(bprm->file->f_dentry);
+ dentry = dget(bprm->file->f_
path.
dentry);
rc = get_vfs_caps_from_disk(dentry, &vcaps);
if (rc < 0) {