Re: sysent in fork()

2001-09-04 Thread Terry Lambert

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 [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



sysent in fork()

2001-09-01 Thread Evan Sarmiento

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?

Thanks,

Evan



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message