diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2015-05-09 22:09:14 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-21 10:10:00 -0700 |
commit | bdbdf7ee9d561da7b4b840435c963344061953d6 (patch) | |
tree | b28ada9ded70b0e552f65f674e3b08f58a2a453a /kernel/sysctl_binary.c | |
parent | c2f633b99857d27333de18f53d123a180672c52b (diff) |
sysctl: Allow creating permanently empty directories that serve as mountpoints.
commit f9bd6733d3f11e24f3949becf277507d422ee1eb upstream.
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.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions