diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2013-01-26 01:32:10 +0100 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2013-01-27 07:23:05 +0100 |
commit | 2b8576cb09a7b1b581c253554bf9e05d3adce7d6 (patch) | |
tree | acba53f712c463a2bba3416145e705876a8d6c90 /ipc | |
parent | userns: Allow the userns root to mount ramfs. (diff) | |
download | linux-2b8576cb09a7b1b581c253554bf9e05d3adce7d6.tar.xz linux-2b8576cb09a7b1b581c253554bf9e05d3adce7d6.zip |
userns: Allow the userns root to mount tmpfs.
There is no backing store to tmpfs and file creation rules are the
same as for any other filesystem so it is semantically safe to allow
unprivileged users to mount it. ramfs is safe for the same reasons so
allow either flavor of tmpfs to be mounted by a user namespace root
user.
The memory control group successfully limits how much memory tmpfs can
consume on any system that cares about a user namespace root using
tmpfs to exhaust memory the memory control group can be deployed.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions