Re: [RCF] [PATCH] unprivileged mount/umount

Miklos Szeredi
2005-05-04T14:34:46Z

> > This (lightly tested) patch against 2.6.12-rc* adds some
> > infrastructure and basic functionality for unprivileged mount/umount
> > system calls.
>
> most of this unprivileged mount policy can be handled by a suid
> userspace helper (e.g. pmount)

Yes. This patch was created because certain people (including myself
to some extent) don't like that approach.

> what are the pros/cons of handling that in the kernel?

pro:

- mount would still work in "suidless" private namespace

con:

- kernel bloat

I'm sure there are others, they just elude me for the moment :)

Thanks,
Miklos