On Tue, 2012-10-09 at 15:42 +0400, Dmitry V. Levin wrote:
On Tue, Oct 09, 2012 at 12:51:44PM +0200, Tomas Mraz wrote:
The attached patch allows specification of size of the tmpfs mount in pam_namespace.
Wouldn't it allow passing other tmpfs mount options as well? In that case, calling it "size" would be misleading.
It would as a side-effect, however there is no proper escaping done, so some of the possible tmpfs mount options cannot be passed (at least some kind of escaping for ':' would be needed). It would have to be done in more complicated way if it should allow proper passing of all options.