Re: [PATCH] private mounts
From: Pavel Machek
Date: Wed Apr 27 2005 - 18:02:04 EST
Hi!
> > The userland tools don't need to know. They just need to not be suid.
>
> But I'd want to continue distribute the non-crippled kernel module
> too, with suid fusermount. Then fusermount _has_ to know which kernel
> module is currently active.
Add a mount flag and make kernel refuse mount on unknown flags?
> > Ok, here I say it is ugly (but not that it's crap). And the reason is,
> > that there is a permission system, with some semantics, and then various
> > filesystems adapt it in varous ways to fit what they want. So every
> > filesystem ends up with it's onw little different behaviour.
> >
> > That being said, fuse does just about the same as NFS, samba and others
> > and I don't really see the reason why it couldn't be integrated. But
> > I am not the one to decide.
>
> Every opinion counts.
>
> I'm not trying to convince people that the current solution is
> perfect. What I'm saying that it's
>
> a) not harmful
>
> b) it makes non-privileged mounts possible
>
> And b) is _the_ most important feature IMO, so the argument for
> stripping it out has to be very good.
Well, you'll have problems with suid programs suddenly not being able
to access files. nfs gets away with it, but nfs is perceived as
"broken" anyway...
Pavel
--
Boycott Kodak -- for their patent abuse against Java.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/