On Fri, 3 Mar 2006, Shlomi Fish wrote: > Hi all! > > 1. Save the script that is attached to this message. > > 2. **As root**, run it in an empty directory. > > 3. As an under-privileged user, enter this directory and type "./prog". > > Result: the program segfaults before printing the "Msg2". My question is - > why? I should note that running the same program as root does not cause a > segfault.
doesn't crash on my 2.4 kernel. note that your attachment was broken - i had to dos2unix it before it was properly extracted. maybe you have soemthing funny like this on your system? anywa, compile with debug info, make sure it generates a core file, and debug it. -- guy "For world domination - press 1, or dial 0, and please hold, for the creator." -- nob o. dy ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
