Re: exec-shield workaround take 4

2004-04-14 Thread Mike McCormack
Peter Riocreux wrote: In fact I spoke too soon - the "Notify Error" multiplied in one (of v. many) runs and it got itself in an loop that seemed to be headed for infinite status, repeating the message: -- Notify Error: 1-Shm76 0xbf118b78 6 --

Re: exec-shield workaround take 4

2004-04-14 Thread Peter Riocreux
With this latest (version 4) of the patch my app now gives every impression of working fine. It starts, spawns children, and appears to run correctly to completion, including dealing with a license manager on a remote machine. If used interactively, some of the fonts are a bit ropey, but I haven't

Re: exec-shield workaround take 4

2004-04-14 Thread Mike McCormack
Mike Hearn wrote: On Wed, 14 Apr 2004 18:44:45 +0900, Mike McCormack wrote: Anybody have a FreeBSD machine to test this on? If it still uses syscalls surely that won't work on anything other than Linux? It doesn't use syscalls any more, so it has a chance of working on some other platform... I

Re: exec-shield workaround take 4

2004-04-14 Thread Mike Hearn
On Wed, 14 Apr 2004 18:44:45 +0900, Mike McCormack wrote: > Anybody have a FreeBSD machine to test this on? If it still uses syscalls surely that won't work on anything other than Linux?

exec-shield workaround take 4

2004-04-14 Thread Mike McCormack
Hi again, Here's a fix for the bug that Peter found. The calculation of the reserve area was correct, however the environment was not being cleared correctly, so memory was being reserved for the wrong .exe file. Anybody have a FreeBSD machine to test this on? Mike ---