aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/generic.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2015-05-10 03:09:14 +0000
committerEric W. Biederman <[email protected]>2015-07-01 15:36:39 +0000
commitf9bd6733d3f11e24f3949becf277507d422ee1eb (patch)
tree79d33823e26cb5be0af93bae37b2abca3fdaa5dc /fs/proc/generic.c
parentfs: Add helper functions for permanently empty directories. (diff)
downloadkernel-f9bd6733d3f11e24f3949becf277507d422ee1eb.tar.gz
kernel-f9bd6733d3f11e24f3949becf277507d422ee1eb.zip
sysctl: Allow creating permanently empty directories that serve as mountpoints.
Add a magic sysctl table sysctl_mount_point that when used to create a directory forces that directory to be permanently empty. Update the code to use make_empty_dir_inode when accessing permanently empty directories. Update the code to not allow adding to permanently empty directories. Update /proc/sys/fs/binfmt_misc to be a permanently empty directory. Cc: [email protected] Signed-off-by: "Eric W. Biederman" <[email protected]>
Diffstat (limited to 'fs/proc/generic.c')
0 files changed, 0 insertions, 0 deletions