Making a dynamically-linked root
Andrew Gallatin
gallatin at cs.duke.edu
Tue Jun 3 04:57:28 PDT 2003
Mike Makonnen writes:
> On Tue, 3 Jun 2003 07:40:56 -0400 (EDT)
> Andrew Gallatin <gallatin at cs.duke.edu> wrote:
>
> >
> > Webservers and all other applications which run shell scripts exec a
> > shell to interpret that script. Regardless of how the parent is
> > linked, if the exec'ed shell is dynamically linked, there is an added
> > cost to exec'ing it.
>
> and these are usually perl, php, or compiled cgi programs, not /bin/sh.
>
Ok, maybe a webserver is a bad example. But you must admit that
/bin/sh is commonly used outside the startup scripts.
Drew
More information about the freebsd-arch
mailing list