lkml.org 
[lkml]   [2004]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.126 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site