shmget inside "handle" method for a dlmod share object

Fabio Rafael da Rosa <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello All,
I'm having a problem with dlmod, and, as I could not find anything related
to this on google, I came here to check if that happened to someone else.
I implemented  a new MIB , and created and so for loading with dlmod.
Everything works, except that I can't use shmget inside any handle_* method
on the shared object.
It works properly at init_* method (i can get the shmid and invoke shmat),
but, it fails if I use it inside a handle_* method.
The code fails with the following message:
Operation not permited

Did anyone have this problem already?

Thanks in advance.

Regards

-- 
Fabio Rafael da Rosa
[email protected]

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.