From owner-freebsd-stable@FreeBSD.ORG Mon Feb 27 09:32:54 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B7F516A420 for ; Mon, 27 Feb 2006 09:32:54 +0000 (GMT) (envelope-from agava-develop@yandex.ru) Received: from smtp1.yandex.ru (smtp1.yandex.ru [213.180.200.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1967443D53 for ; Mon, 27 Feb 2006 09:32:52 +0000 (GMT) (envelope-from agava-develop@yandex.ru) Received: from guns.agava.net ([81.200.14.42]:32977 "EHLO [192.168.4.194]" smtp-auth: "agava-develop" TLS-CIPHER: TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S2077678AbWB0Jcm (ORCPT ); Mon, 27 Feb 2006 12:32:42 +0300 Message-ID: <4402C731.3030306@yandex.ru> Date: Mon, 27 Feb 2006 12:32:33 +0300 From: Ivan Kolosovskiy User-Agent: Thunderbird 1.5 (X11/20060215) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: sharedmem in jail. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2006 09:32:54 -0000 FreeBSD 6.0-p4. Sharedmem in jail doesnot works. I got "Function not implemented". Source code: #include #include #include #include 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?