[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] GlueSTiK and mem protection



On Wed, 2 Jun 1999 20:11:19 -0400 (EDT), Scott Bigham wrote:

>On 2 Jun 1999, Lonny Pursell wrote:
>
>> Does Scott Bigham read this mailing list?
>
>I'm here.  My TT is still in storage; set-up time for my next job has
>been a lot longer than we expected, and until I get settled somewhere,
>I don't really have space to set it up.
>
>.From the title, I'd guess you're talking about GlueSTiK's habit of
>writing directly into other process' memory space -- the same as STiK
>and STiNG do.

No not that.  I've been testing mint with mem protection enabled
and my client dies.  After looking over the GlueSTiK source
(and I am no "C" guru) it seems to me the CIB{} structure is
allocated with kmalloc() ?  After talking with Frank about
kernal memeory allocation this is why my client dies.
I traced the crash in my client right up to where it calls
cngetinfo() which indeed returns a pointer, but into some
block that is kernal ram?  As soon as my client attempts to
fetch the local port from this pointer I have trouble.

Am I wrong here?

__________________________________________________________________
Atari Computer User: Lonny Pursell        E-Mail: atari@bright.net
WWW: http://www.bright.net/~atari/       IRC: lp @ #Atari @ IRCnet