[uClibc] Re: [gentoo-hardened] uClibc-0.9.23/bardened-gcc-3.3.2 status

Peter S. Mazinger ps.m at gmx.net
Tue Dec 9 19:43:56 UTC 2003


On Tue, 9 Dec 2003, Alexander Gabert wrote:

> hi Peter,
> 
> would you be able to submit your finale patches for the uclibc you
> modified?

You could wait a little, the pie patches could go into 0.9.24 (if Erik 
will do it), else take the patches I have sent to the uclibc list 
yesterday as tar.bz2 (not the separated ones sent earlier). The flipturn 
patch from gentoo is mostly included into uClibc cvs, the remaining part 
is attached.
I am enforcing NOELFRELOCS like behaviour in uClibc (I have it in 
PaX/grsec too like this), this could not be conformant to what you want 
to do. Really tested is the config with CTOR_DTOR enabled, the disabled 
version works on "Hello world" as ET_DYN, no other tests done.

> I would love to include it in the Gentoo uclibc to make it able to be 
> used with our unique propolice implementation!
The propolice implementation is what you've done with move-to-glibc, not 
the new ssp_x86 (waiting further more for an answer on the file you've 
sent me ;-( )

I have also sent all my specs/patches (not really sorted) for reference to 
solar (3.5MB compressed), he will probably put them online, all were 
tested with ET_DYN/propolice.

> Thanks very much in advance,
> 
> Alexander

Peter

> 
> On Tue, 2003-12-09 at 00:23, Peter S. Mazinger wrote:
> > Hello!
> > 
> > Sorry for cross-posting, 
> > 
> > I have rebuilt a full system (x86) with uClibc and hardened-gcc 
> > (ET_DYN/PIE and stack-protection 3.3.2-5) binaries and booted into it 
> > (kernel built with -fstack-protector). Only the packages with assembler 
> > code have problems with ET_DYN/PIE, grub has problems with 
> > stack-protection.
> > 
> > Peter
> 


-- 
Peter S. Mazinger <ps.m at gmx.net>   ID: 0xA5F059F2    NIC: IXUYHSKQLI
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2

____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu
-------------- next part --------------
diff -ur -x '*.[oa]' /tmp/uClibc-0.9.23/libc/misc/gnu/obstack.c /opt/src/buildroot/build_i386/uClibc-0.9.23/libc/misc/gnu/obstack.c
--- libc/misc/gnu/obstack.c	2003-09-03 03:23:15.000000000 -0400
+++ /opt/src/buildroot/build_i386/uClibc-0.9.23/libc/misc/gnu/obstack.c	2003-11-14 14:06:19.000000000 -0500
@@ -466,6 +466,7 @@
 /* #  if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC */
 #  ifdef __UCLIBC_HAS_GETTEXT_AWARENESS__
 #   include <libintl.h>
+#   include <locale.h>
 #   ifndef _
 #    define _(Str) __dcgettext (NULL, Str, LC_MESSAGES)
 #   endif


More information about the uClibc mailing list