summaryrefslogtreecommitdiffstats
path: root/efi-lockdown.patch
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2018-06-13 10:54:20 -0700
committerLaura Abbott <labbott@redhat.com>2018-06-13 10:54:20 -0700
commit5f1fb0c45acc2e69b8b69ad0024294768709e4c4 (patch)
tree8dbd5303170ade6c181c001d6a72566fbf1dd61c /efi-lockdown.patch
parent9e3153d84f252c9d9123ffc4306b1434f4ddfa9a (diff)
downloadkernel-5f1fb0c45acc2e69b8b69ad0024294768709e4c4.tar.gz
kernel-5f1fb0c45acc2e69b8b69ad0024294768709e4c4.tar.xz
kernel-5f1fb0c45acc2e69b8b69ad0024294768709e4c4.zip
Linux v4.17-11782-gbe779f03d563
Diffstat (limited to 'efi-lockdown.patch')
-rw-r--r--efi-lockdown.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/efi-lockdown.patch b/efi-lockdown.patch
index cee6ec7f5..a12721802 100644
--- a/efi-lockdown.patch
+++ b/efi-lockdown.patch
@@ -1737,9 +1737,9 @@ index 13b01351dd1c..4daec17b8215 100644
dentry->d_fsdata = (void *)((unsigned long)real_fops |
DEBUGFS_FSDATA_IS_REAL_FOPS_BIT);
@@ -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));
+ return failed_creating(dentry);
+
+ inode->i_mode = S_IFDIR | S_IRWXU | S_IRUGO | S_IXUGO;
- inode->i_op = &simple_dir_inode_operations;
+ inode->i_op = &debugfs_dir_inode_operations;
inode->i_fop = &simple_dir_operations;