diff options
| author | Miklos Szeredi <[email protected]> | 2017-07-20 09:08:21 +0000 |
|---|---|---|
| committer | Miklos Szeredi <[email protected]> | 2017-07-20 09:08:21 +0000 |
| commit | 1d88f183734c0d916428911df006e645a6162cab (patch) | |
| tree | dec3cc4ead42891e7f52418ddb939a2d4c359d71 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | ovl: remove unneeded check for IS_ERR() (diff) | |
| download | kernel-1d88f183734c0d916428911df006e645a6162cab.tar.gz kernel-1d88f183734c0d916428911df006e645a6162cab.zip | |
ovl: fix xattr get and set with selinux
inode_doinit_with_dentry() in SELinux wants to read the upper inode's xattr
to get security label, and ovl_xattr_get() calls ovl_dentry_real(), which
depends on dentry->d_inode, but d_inode is null and not initialized yet at
this point resulting in an Oops.
Fix by getting the upperdentry info from the inode directly in this case.
Reported-by: Eryu Guan <[email protected]>
Fixes: 09d8b586731b ("ovl: move __upperdentry to ovl_inode")
Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions
