Re: [RFC] Privilege dropping security module

From: Pavel Machek
Date: Thu Oct 01 2009 - 06:42:32 EST


On Thu 2009-10-01 09:15:37, Andy Spencer wrote:
> > Yeah, and now your ~/.ssh/identity is being uploaded to remote server.
>
> The given policy sets the home directory (including ~/.ssh/) to `X'
> which does not include read access, so ~/.ssh/identity should be safe.
> There are some other problems with this particular policy though, /tmp/
> is still readable for example.
>
>
> > I believe people are already sandboxing apps with selinux...
>
> Yes, some people (including myself) are already using selinux, tomoyo,
> smack, etc, for sandboxing. However, I think those have some
> disadvantages that I'm trying to address.

Ok, I guess advantages over selinux (etc) are probably worth it for
changelog on submission...

> > ...and subterfugue certainly does what you want, using ptrace... no
> > kernel mods needed and should already be secure.
>
> subterfugue does look interesting, but it seems like it would be pretty
> slow and hasn't been unmaintained since 2001.

It is userland code, it should not have rotted that much.
Pavel


--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/