mudflap wrappers [patch]

Eyal Lebedinsky eyal@eyal.emu.id.au
Tue Apr 29 02:40:00 GMT 2003


"Frank Ch. Eigler" wrote:
> > shmdt() does not supply the size of the object, which is needed
> >       for the check and the unreg. Again I use zero size, can
> >       I do better?
> 
> Sure - you could use the same shmctl() trick you use in shmat().

I do not see how. shmat() had the 'shmid', shmdt() has only the
address. I was thinking that maybe I can look the object up (in
mf) and get the size that I registered before.

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>



More information about the Gcc mailing list