From owner-freebsd-hackers Mon Sep 3 23:34:20 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.121.12]) by hub.freebsd.org (Postfix) with ESMTP id AD7D137B401 for ; Mon, 3 Sep 2001 23:34:16 -0700 (PDT) Received: from mindspring.com (dialup-209.247.140.38.Dial1.SanJose1.Level3.net [209.247.140.38]) by harrier.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id XAA26863; Mon, 3 Sep 2001 23:34:14 -0700 (PDT) Message-ID: <3B947612.D7AA1A7C@mindspring.com> Date: Mon, 03 Sep 2001 23:34:58 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Evan Sarmiento Cc: freebsd-hackers@freebsd.org Subject: Re: sysent in fork() References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Evan Sarmiento wrote: > > Hey, > > I have a question about sysent. If a modification > to a processes p->p_sysent and associated substructures > are made, are the changes propagated through fork > to children? Yes, for fork(). You probably wanted to ask about exec(), though... the answer for exec() is "it uses the brand on the exec()'ed binary to decide which call table to use". This probably means that you are running into a problem with an unbranded Linux binary being run from another Linux binary... alternately, you might be confusing the path prefix lookup for branded binaries, which causes an path search to look in the /compat/linux directory before looking under /, if what is being run is a Linux binary. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message