Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 6543 Details for
Bug 12236
sandbox eating all ram on mips (and other archs?)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to make the sandbox work on mips and possibly other archs
createlocaldecs.patch (text/plain), 1020 bytes, created by
Torgeir Hansen
on 2002-12-16 12:28:03 UTC
(
hide
)
Description:
Patch to make the sandbox work on mips and possibly other archs
Filename:
MIME Type:
Creator:
Torgeir Hansen
Created:
2002-12-16 12:28:03 UTC
Size:
1020 bytes
patch
obsolete
>--- create-localdecls.orig Mon Aug 26 19:40:31 2002 >+++ create-localdecls Mon Dec 16 18:47:33 2002 >@@ -12,10 +12,13 @@ > > OUTFILE='localdecls.h' > >+# if your arch needs to dlopen() glibc, add it here separated by space :] >+BROKEN_RTLD_ARCHLIST="mips" >+ > echo '/* This file is automatically generated *' > $OUTFILE > echo ' * Modify create-localdecls instead of this */' >> $OUTFILE > echo >> $OUTFILE >-echo '#ifndef __LOCALDECLS_H_' > $OUTFILE >+echo '#ifndef __LOCALDECLS_H_' >> $OUTFILE > echo '#define __LOCALDECLS_H_' >> $OUTFILE > echo >> $OUTFILE > >@@ -45,6 +48,16 @@ > if test "$VERSION" = 'libc.so.5' ; then > echo '#define BROKEN_RTLD_NEXT' >> $OUTFILE > echo '#define LIBC 5' >> $OUTFILE >+else >+ # for the arch's that need to dlopen() libc to fetch real funcs! >+ # 16.12.02 -Torgeir Hansen <torgeir@trenger.ro> >+ MYARCH=`/bin/uname -m` >+ for x in $BROKEN_RTLD_ARCHLIST; do >+ if [ $x = $MYARCH ]; then >+ echo '#define BROKEN_RTLD_NEXT' >> $OUTFILE >+ fi >+ done >+ > fi > > if test "$VERSION" = 'libc.so.6' ; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 12236
: 6543