summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-06-03 02:36:24 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2020-06-03 02:36:24 +0200
commitd9afbb3509900a953f5cf90bc57e793ee80c1108 (patch)
treef882d48ad8e0b728f8eeb5502b71e4540c2dc92f /security
parentMerge tag 'selinux-pr-20200601' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
parentcapabilities: add description for CAP_SETFCAP (diff)
downloadlinux-d9afbb3509900a953f5cf90bc57e793ee80c1108.tar.xz
linux-d9afbb3509900a953f5cf90bc57e793ee80c1108.zip
Merge branch 'next-general' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
Pull lockdown update from James Morris: "An update for the security subsystem to allow unprivileged users to see the status of the lockdown feature. From Jeremy Cline" Also an added comment to describe CAP_SETFCAP. * 'next-general' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: capabilities: add description for CAP_SETFCAP lockdown: Allow unprivileged users to see lockdown status
Diffstat (limited to 'security')
-rw-r--r--security/lockdown/lockdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/lockdown/lockdown.c b/security/lockdown/lockdown.c
index 5a952617a0eb..87cbdc64d272 100644
--- a/security/lockdown/lockdown.c
+++ b/security/lockdown/lockdown.c
@@ -150,7 +150,7 @@ static int __init lockdown_secfs_init(void)
{
struct dentry *dentry;
- dentry = securityfs_create_file("lockdown", 0600, NULL, NULL,
+ dentry = securityfs_create_file("lockdown", 0644, NULL, NULL,
&lockdown_ops);
return PTR_ERR_OR_ZERO(dentry);
}