[uClibc]gentoo sandbox and uclibc

Julien Herfurth jherfurth at arafox.com
Mon Jun 9 19:50:02 UTC 2003


On Mon, 2003-06-09 at 19:25, Erik Andersen wrote:
> On Sun Jun 08, 2003 at 12:24:50PM +0200, Julien Herfurth wrote:
> > Hi all,
> > 
> > I'm trying to set up a simple building and packaging system to create
> > uclibc based iso images. In this build system I want to use the gentoo
> > sandbox when installing files in the packaging directory, to avoid
> > creating files outside allowed path. I'm using the latest development
> > image. sandbox compiles fine and works fine provided that you comment
> > any
> > 
> > #if (GLIBC_MINOR >= 1)
> > 
> > in libsandbox.c if you use large file support. The sandbox wrap a set of
> > system calls and check their arguments. It then allow or deny the call.
> > A very nice tool when you build a lot of things from sources.
> 
> I must be missing something.  Why would you make such a change?
> Wouldn't it be far better to simply enable UCLIBC_HAS_LFS to make
> uClibc support all the large file functions?

It is only a quick and dirty hack because I don't know too much about
uClibc yet. I will do that and submit to gentoo dev team.

Thanks for the answer,

Julien



More information about the uClibc mailing list