Messages in this thread | | | Date | Tue, 17 Feb 2004 16:59:25 -0500 (EST) | From | Rik van Riel <> | Subject | Re: [RFC] [PATCH] allowing user mounts |
| |
On Tue, 17 Feb 2004, Miklos Szeredi wrote:
> This patch (against 2.6.3-rc4) allows the use of the mount syscall by > non-root users in a controlled, and secure (I hope) way. I'd very > much appreciate any comments,
Just as a curiosity, why not do this in userspace ?
You'll notice that /bin/mount already is a suid application, so you could just add your functionality there, or write your own suid mount application.
As an added bonus, you'd be able to have a more flexible configuration framework then what would ever be accepted into the kernel, without needing to go through the effort of getting anything merged into the kernel.
-- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |