FreeBSD 6.0-p4. Sharedmem in jail doesnot works. I got "Function not implemented".

Source code:


#include <machine/param.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>

int main() {
   unsigned int segment = shmget( IPC_PRIVATE, 10000 , SHM_R | SHM_W );
   perror("");

   printf( "Got segment: %d\n", segment );

return 1;
}



in jail:
$ ./a.out
Function not implemented
Got segment: -1

not in jail:
# ./a.out
Unknown error: 0
Got segment: 196609


what's wrong?
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to