public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] what is sandbox ?
@ 2005-07-11  4:14 Antonio Coralles
  2005-07-11  5:41 ` Zac Medico
  0 siblings, 1 reply; 2+ messages in thread
From: Antonio Coralles @ 2005-07-11  4:14 UTC (permalink / raw
  To: gentoo-user

I've just read that word a couple of times now - but after sanbox was
installed on my system becuause of the latest portage upgrade - i'm
really courios to know what this tool is about ...

Maybe someone can tell me more than http://gentoo-wiki.com/Sandbox ...
Antonio
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] what is sandbox ?
  2005-07-11  4:14 [gentoo-user] what is sandbox ? Antonio Coralles
@ 2005-07-11  5:41 ` Zac Medico
  0 siblings, 0 replies; 2+ messages in thread
From: Zac Medico @ 2005-07-11  5:41 UTC (permalink / raw
  To: gentoo-user

Antonio Coralles wrote:
> I've just read that word a couple of times now - but after sanbox was
> installed on my system becuause of the latest portage upgrade - i'm
> really courios to know what this tool is about ...
> 
> Maybe someone can tell me more than http://gentoo-wiki.com/Sandbox ...
> Antonio

When a program is run with a shared library in the LD_PRELOAD environment variable it allows system calls to be overridden.  See the ld.so manpage for details.  Sandbox overrides execve and all the basic file operations and in order to act as a file security manager for an untrusted process and every program that it spawns.

There is a script called sandboxshell (emerge sandboxshell) that helps you to run any program you want inside of a sandbox.  Other interesting LD_PRELOAD hacks are fakeroot which fools programs into believing that they run as root and checkinstall/installwatch which logs files installed by "make install" so that they can be uninstalled later.

Zac
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-11  5:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-11  4:14 [gentoo-user] what is sandbox ? Antonio Coralles
2005-07-11  5:41 ` Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox