shared memory management under QNX 6.3.0

Hello,
i am wrote an middleware application that creates share memories for
requesting processes on QNX.6.2.1 using the function shm_open(acShMem,
O_RDWR | O_CREAT, 0666), where acShMem is a pointer to a character with a
‘/’ at the beginning (i.e. “/MYSHMEMNAME”).

Now i try to run this application under QNX 6.3.0 and i have following
problem:
when the application calls shm_open(acShMem, O_RDWR | O_CREAT, 0666) for the
6th. time, shm_open() returns -1
with the following value of errno:
errno=22 strerror(errno)=Invalid argument

Could you please explain me this behavior?

PS: my middleware application run fine under QNX 6.2.1

Thanks

Dadji

Hmmm, if shm_open were broken, a lot of other stuff would be broken
too. Maybe they tightend up who can create shared memory where?
Is this running as super user? If not, try it and see if that still
causes the error. Just a wild guess here.

i logged in as root

“maschoen” <maschoen@pobox-dot-com.no-spam.invalid> schrieb im Newsbeitrag
news:elpso1$ma4$1@inn.qnx.com

Hmmm, if shm_open were broken, a lot of other stuff would be broken
too. Maybe they tightend up who can create shared memory where?
Is this running as super user? If not, try it and see if that still
causes the error. Just a wild guess here.