From owner-freebsd-current@FreeBSD.ORG Fri Dec 4 18:26:53 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D827106568B for ; Fri, 4 Dec 2009 18:26:53 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id DE51F8FC1D for ; Fri, 4 Dec 2009 18:26:52 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1NGcrj-0001CV-Jc; Fri, 04 Dec 2009 21:26:51 +0300 From: Boris Samorodov To: Kostik Belousov References: <20226798@bb.ipt.ru> <20091204173502.GJ43143@deviant.kiev.zoral.com.ua> Date: Fri, 04 Dec 2009 21:26:51 +0300 In-Reply-To: <20091204173502.GJ43143@deviant.kiev.zoral.com.ua> (Kostik Belousov's message of "Fri, 4 Dec 2009 19:35:02 +0200") Message-ID: <21986596@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-current@freebsd.org Subject: Re: amd64 host + i386 jail + ls -l = core dumped X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2009 18:26:53 -0000 On Fri, 4 Dec 2009 19:35:02 +0200 Kostik Belousov wrote: > On Fri, Dec 04, 2009 at 06:36:49PM +0300, Boris Samorodov wrote: > > Loaded symbols for /libexec/ld-elf.so.1 > > #0 0x2814316f in __sys___acl_get_link () from /lib/libc.so.7 > > (gdb) bt > > #0 0x2814316f in __sys___acl_get_link () from /lib/libc.so.7 > > #1 0x2814303c in acl_get_link_np () from /lib/libc.so.7 > > #2 0x0804c2f9 in ?? () > > #3 0xffffcb83 in ?? () > > #4 0x00000004 in ?? () > > [...] > It seems that struct acl does not need translation. And another block > of acl-related syscalls do not touch it. > Please try the patch below. After application of the patch, cd to > sys/compat/freebsd32 directory and do make sysent. Then, rebuild > the kernel as usual. OK, I tried it, no go. I'll double check tomorrow if I made a mistake while patching/building/installing the kernel. Thanks! -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve