diff options
author | Laura Abbott <labbott@redhat.com> | 2018-06-06 09:56:34 -0700 |
---|---|---|
committer | Laura Abbott <labbott@redhat.com> | 2018-06-06 09:56:34 -0700 |
commit | 037431cf9030428f4bb11096f7855584fbd6871e (patch) | |
tree | a0b2cb8e2c709719c8200e222218194dba540311 /efi-lockdown.patch | |
parent | dc16ce7d36f111450d683d352f78257338a98135 (diff) | |
download | kernel-037431cf9030428f4bb11096f7855584fbd6871e.tar.gz kernel-037431cf9030428f4bb11096f7855584fbd6871e.tar.xz kernel-037431cf9030428f4bb11096f7855584fbd6871e.zip |
Linux v4.17-3754-g135c5504a600
Diffstat (limited to 'efi-lockdown.patch')
-rw-r--r-- | efi-lockdown.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/efi-lockdown.patch b/efi-lockdown.patch index c80bdb38f..96536be76 100644 --- a/efi-lockdown.patch +++ b/efi-lockdown.patch @@ -1738,10 +1738,10 @@ index 13b01351dd1c..4daec17b8215 100644 inode->i_fop = proxy_fops; dentry->d_fsdata = (void *)((unsigned long)real_fops | DEBUGFS_FSDATA_IS_REAL_FOPS_BIT); -@@ -513,7 +539,7 @@ struct dentry *debugfs_create_dir(const char *name, struct dentry *parent) - return failed_creating(dentry); - - inode->i_mode = S_IFDIR | S_IRWXU | S_IRUGO | S_IXUGO; +@@ -515,7 +541,7 @@ struct dentry *debugfs_create_dir(const char *name, struct dentry *parent) + if (!parent) + parent = debugfs_mount->mnt_root; + inode->i_mode = S_IFDIR | ((d_inode(parent)->i_mode & 0770)); - inode->i_op = &simple_dir_inode_operations; + inode->i_op = &debugfs_dir_inode_operations; inode->i_fop = &simple_dir_operations; |