debugfs: add mode, uid and gid options
authorLudwig Nussel <ludwig.nussel@suse.de>
Wed, 25 Jan 2012 10:52:28 +0000 (11:52 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Jan 2012 19:28:49 +0000 (11:28 -0800)
commitd6e486868cde585842d55ba3b6ec57af090fc343
tree37ec47c6e7a28ed21807899eae3e24dd38a3cc93
parent9875bb480cc89d9b690f7028aadf7e58454f0dae
debugfs: add mode, uid and gid options

Cautious admins may want to restrict access to debugfs. Currently a
manual chown/chmod e.g. in an init script is needed to achieve that.
Distributions that want to make the mount options configurable need
to add extra config files. By allowing to set the root inode's uid,
gid and mode via mount options no such hacks are needed anymore.
Instead configuration becomes straight forward via fstab.

Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/filesystems/debugfs.txt
fs/debugfs/inode.c
This page took 0.024671 seconds and 5 git commands to generate.