Bug#630695: LD_PRELOAD not working when running kfreebsd-9 (9.0~svn223109)

2011-07-14 Thread Petr Salinger
As for LD_SHOW_AUXV=yes, I tried different combinations and it is always ignored, no matter what. Thanks for investigating. It might be related to elf notes supplied by kernel. FreeBSD 9 added these defines: #define AT_CANARY 16 /* Canary for SSP. */ #define

Bug#630695: LD_PRELOAD not working when running kfreebsd-9 (9.0~svn223109)

2011-07-14 Thread Robert Millan
2011/7/14 Petr Salinger petr.salin...@seznam.cz: It looks like a collision, namely between AT_STACKPROT x AT_SECURE Good guess Petr, it is indeed AT_SECURE. Here's a possible patch to fix this. I haven't tested it yet. Does this look like the right approach? I also wonder if we should

Bug#630695: LD_PRELOAD not working when running kfreebsd-9 (9.0~svn223109)

2011-07-14 Thread Petr Salinger
It looks like a collision, namely between AT_STACKPROT x AT_SECURE Here's a possible patch to fix this. I haven't tested it yet. Does this look like the right approach? I also wonder if we should hunt down the other Linux-specific ELF notes in that file. I would say we should ignore all

Bug#630695: LD_PRELOAD not working when running kfreebsd-9 (9.0~svn223109)

2011-07-14 Thread Robert Millan
2011/7/14 Petr Salinger petr.salin...@seznam.cz: I also wonder if we should hunt down the other Linux-specific ELF notes in that file. I would say we should ignore all Linux-specific ELF notes. Yes, but that makes the patch more intrusive, increasing the maintenance cost. Is it worth it?

Bug#630695: LD_PRELOAD not working when running kfreebsd-9 (9.0~svn223109)

2011-07-13 Thread Robert Millan
2011/6/16 Robert Millan r...@debian.org: $ fakeroot id -u ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored. 1000 It seems that LD_* variables are selectively ignored by ld.so. The command above results in: $ LD_LIBRARY_PATH=/usr/lib64/libfakeroot

Bug#630695: LD_PRELOAD not working when running kfreebsd-9 (9.0~svn223109)

2011-06-16 Thread Robert Millan
Package: libc0.1 Version: 2.13-7 Severity: normal User: debian-...@lists.debian.org Usertags: kfreebsd $ fakeroot id -u ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored. 1000 -- System Information: Debian Release: wheezy/sid APT prefers unstable APT