On Thu, 2 Jun 2005, Natanael Copa wrote:

> Looks like my uclibc hardened environment is broken.
> 
> I had built a bunch of packages. I deinstalled them (around 9th May). I
> did an "emerge sync" a few days ago and then installed all the pacakges
> with "emerge -Duk" so that the already compiled packages were just
> reinstalled. The packages were installed sucessfully.
> 
> But now vim and less have started to segfault:
> 
> nc alpine # less
> Segmentation fault
> 
> With strace:
> ...
> read(3, "\32\0010\0&\0\17\0\235\1&\5", 12) = 12
> read(3, "xterm|xterm terminal emulator (X"..., 48) = 48
> read(3, "\0\1\0\0\1\0\0\0\1\0\0\0\0\1\1\0\0\0\0\0\0\0\1\0\0\1\0"..., 38)
> = 38
> read(3, "P\0\10\0\30\0\377\377\377\377\377\377\377\377\377\377\377"...,
> 30) = 30read(3,
> "\0\0\4\0\6\0\10\0\31\0\36\0&\0*\0.\0\377\3779\0J\0L\0P"..., 826) = 826
> read(3, "\33[Z\0\7\0\r\0\33[%i%p1%d;%p2%dr\0\33[3g\0\33["..., 1318) = 1318
> read(3, "\1\0\0\0\1\0\3\0\6\0", 10)     = 10
> read(3, "\1", 1)                        = 1
> read(3, "\0", 1)                        = 1
> read(3, "\377\377\0\0\3\0", 6)          = 6
> read(3, "AX\0XM\0", 6)                  = 6
> close(3)                                = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
> 
> I can recompile ncurses, vim, less, vim-core but it still segfaults.

ncurses, less are ok.
vim was nuked about a week ago, it is not related to hardened, bug the vim 
maintainers about that.

> 
> So I tried to recompile uclibc. It does compile but it fails on testing
> vfork:
> -------

if you would read the uclibc ebuild , you would see following line:
vfork test fails in sandbox (both glibc/uclibc)

Peter

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

-- 
[email protected] mailing list

Reply via email to