[Devel] Re: [patch 9/9] unprivileged mounts: add "no submounts" flag
A. C. Censi
accensi at gmail.com
Tue Jan 15 02:53:42 PST 2008
On Jan 15, 2008 8:41 AM, Miklos Szeredi <miklos at szeredi.hu> wrote:
> > Quoting Miklos Szeredi (miklos at szeredi.hu):
> > > From: Miklos Szeredi <mszeredi at suse.cz>
> > >
> > > Add a new mount flag "nomnt", which denies submounts for the owner.
> > > This would be useful, if we want to support traditional /etc/fstab
> > > based user mounts.
> > >
> > > In this case mount(8) would still have to be suid-root, to check the
> > > mountpoint against the user/users flag in /etc/fstab, but /etc/mtab
> > > would no longer be mandatory for storing the actual owner of the
> > > mount.
> >
> > Ah, I see, so the floppy drive could be mounted as a MNT_NOMNT but
> > MNT_USER mount with mnt_owner set. Makes sense. I'd ask for a better
> > name than 'nomnt', but I can't think of one myself.
>
> Me neither.
>
Why not "nosubmnt"?
--
A. C. Censi
accensi [em] gmail [ponto] com
accensi [em] montreal [ponto] com [ponto] br
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list