On Saturday 26 May 2007 16:44, Tetsuo Handa wrote:
> Andreas Gruenbacher wrote:
> > > Therefore, TOMOYO Linux checks the combination of filename and argv
> > > passed to execve().
> > So you are indeed trying to control the value of argv? Well, good luck
> > with that, but it's totally insane. You are guaranteed to break some
> > applications.
> TOMOYO Linux restricts argv using allow_argv0 syntax.
Alright, so it's configurable. This reduces it from being broken to being a
truly bad idea.
> For example, an administrator may wish to allow users to run /bin/ls without
> applying profiles because /bin/ls won't read/write the content of files.
No, forget that line of reasoning. As soon as you run anything unconfined that
isn't trusted, you have basically lost control. Relying on the fact
that /bin/ls won't do any harm is assuming to much. Features might exist that
allow it to be abused, new features might get added, or there may be bugs.
Just don't do it.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Video 4 Linux]
[Linux for the blind]