Posix shared memory problem
Lothar Scholz
scholz at scriptolutions.com
Sat May 9 18:33:19 UTC 2009
Hello,
Thanks for solving the posix semaphore problem. But with shared memory
there comes the next issue:
int main() {
int m;
shm_unlink("/barfoo");
m = shm_open("/barfoo", O_RDWR|O_CREAT|O_EXCL, S_IRWXU);
if (m == 1) perror("shm_open error");
}
i always get permission denied error, and i tried many values
for flags and mode? I can only get this working as root but not
as a normal user.
--
Best regards,
Lothar Scholz mailto:scholz at scriptolutions.com
More information about the freebsd-arch
mailing list