Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324395
b: refs/heads/master
c: 82aceae
h: refs/heads/master
i:
  324393: 1c33190
  324391: aac0c22
v: v3
  • Loading branch information
Kees Cook authored and Greg Kroah-Hartman committed Aug 27, 2012
1 parent b73a01c commit e6bb767
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9db48aaf18d675ac41f550c9384154e0c00de2ef
refs/heads/master: 82aceae4f0d42f03d9ad7d1e90389e731153898f
4 changes: 2 additions & 2 deletions trunk/Documentation/filesystems/debugfs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Debugfs is typically mounted with a command like:
mount -t debugfs none /sys/kernel/debug

(Or an equivalent /etc/fstab line).
The debugfs root directory is accessible by anyone by default. To
restrict access to the tree the "uid", "gid" and "mode" mount
The debugfs root directory is accessible only to the root user by
default. To change access to the tree the "uid", "gid" and "mode" mount
options can be used.

Note that the debugfs API is exported GPL-only to modules.
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/debugfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <linux/magic.h>
#include <linux/slab.h>

#define DEBUGFS_DEFAULT_MODE 0755
#define DEBUGFS_DEFAULT_MODE 0700

static struct vfsmount *debugfs_mount;
static int debugfs_mount_count;
Expand Down

0 comments on commit e6bb767

Please sign in to comment.