Date: Mon, 27 Feb 2006 12:32:33 +0300 From: Ivan Kolosovskiy <agava-develop@yandex.ru> To: freebsd-stable@freebsd.org Subject: sharedmem in jail. Message-ID: <4402C731.3030306@yandex.ru>
next in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4402C731.3030306>