summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2015-05-09 15:54:49 -0500
committerEric W. Biederman <ebiederm@xmission.com>2015-07-01 10:36:37 -0500
commitfbabfd0f4ee2e8847bf56edf481249ad1bb8c44d (patch)
treebfe4f910e16663db585336bc7744fbbf312b4701 /kernel/sysctl.c
parentceeb0e5d39fcdf4dca2c997bf225c7fc49200b37 (diff)
downloadlinux-fbabfd0f4ee2e8847bf56edf481249ad1bb8c44d.tar.bz2
fs: Add helper functions for permanently empty directories.
To ensure it is safe to mount proc and sysfs I need to check if filesystems that are mounted on top of them are mounted on truly empty directories. Given that some directories can gain entries over time, knowing that a directory is empty right now is insufficient. Therefore add supporting infrastructure for permantently empty directories that proc and sysfs can use when they create mount points for filesystems and fs_fully_visible can use to test for permanently empty directories to ensure that nothing will be gained by mounting a fresh copy of proc or sysfs. Cc: stable@vger.kernel.org Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions