Searched hist:"2 b8576cb09a7b1b581c253554bf9e05d3adce7d6" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/mm/ |
H A D | shmem.c | diff 2b8576cb09a7b1b581c253554bf9e05d3adce7d6 Fri Jan 25 18:32:10 CST 2013 Eric W. Biederman <ebiederm@xmission.com> 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>
|