Re: wine/loader preloader.c

2004-09-26 Thread Hans Leidekker
Mike Hearn wrote: Hehe, OK. Somebody should write down the Zen of Unix so future followers of its teachings can learn :) [ Sorry, this is off-topic ] Eric Raymond tries to do exactly that in his book called 'The Art of Unix Programming': http://www.catb.org/~esr/writings/taoup/ Notice there's a

Re: wine/loader preloader.c

2004-09-25 Thread Mike Hearn
On Fri, 24 Sep 2004 09:48:07 -0700, Alexandre Julliard wrote: > No, it makes no difference, you also need to link it differently to > make it relocatable. Ah OK, I didn't realise that. I thought -fPIE was the only thing necessary to allow the kernel to map it anywhere. >> There is a patch in bug

Re: wine/loader preloader.c

2004-09-24 Thread Alexandre Julliard
Mike Hearn <[EMAIL PROTECTED]> writes: > What's the reasoning for this change? I thought the preloader should > not be built as a PIE because otherwise the kernel could map it into > one of the areas we need to reserve. No, it makes no difference, you also need to link it differently to make it r

Re: wine/loader preloader.c

2004-09-24 Thread Mike Hearn
Hi Alexandre! What's the reasoning for this change? I thought the preloader should not be built as a PIE because otherwise the kernel could map it into one of the areas we need to reserve. More to the point, the people trying to do this are thinking it will increase security. It won't, even tho

Re: wine/loader preloader.c

2004-06-26 Thread Dmitry Timoshkov
"Mike Hearn" <[EMAIL PROTECTED]> wrote: > On Sat, 2004-06-26 at 08:25 -0500, Mike McCormack wrote: > > I think a better fix is to define it if it's missing. > > This commit by Alexandre should fix the segfaults people have been > seeing on Fedora Core 2. > > Either of the two patches just sent a

Re: wine/loader preloader.c

2004-06-26 Thread Mike Hearn
On Sat, 2004-06-26 at 08:25 -0500, Mike McCormack wrote: > I think a better fix is to define it if it's missing. This commit by Alexandre should fix the segfaults people have been seeing on Fedora Core 2. Either of the two patches just sent are correct BTW, Red Hat 9/Fedora Core 1 do not place AT

Re: wine/loader preloader.c

2004-06-26 Thread Saulius Krasuckas
On Sat, 26 Jun 2004, Michael Stefaniuc wrote: > On Red Hat Linux 9 there is no AT_SYSINFO_EHDR in /usr/include/elf.h > thus breaking compilation there. I confirm it: on Red Hat Linux 8 the definition is missing also.

Re: wine/loader preloader.c

2004-06-26 Thread Michael Stefaniuc
gt; Patch: http://cvs.winehq.org/patch.py?id=12717 > > Old revision New revision Changes Path > 1.6 1.7 +62 -20 wine/loader/preloader.c bye michael -- Michael Stefaniuc Tel.: +49-711-96437-199 System Administration Fax.: +4