Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Sep 2001 23:34:58 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Evan Sarmiento <evms@bu.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: sysent in fork()
Message-ID:  <3B947612.D7AA1A7C@mindspring.com>
References:  <Pine.A41.4.10.10109012040040.77912-100000@acsrs1.bu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B947612.D7AA1A7C>