Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Apr 1996 18:12:21 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        smpatel@umiacs.umd.edu (Sujal Patel)
Cc:        peter@jhome.DIALix.COM, current@FreeBSD.ORG
Subject:   Re: Changes for vfork()
Message-ID:  <199604220112.SAA16344@phaeton.artisoft.com>
In-Reply-To: <Pine.NEB.3.92.960421021554.203A-100000@xi.dorm.umd.edu> from "Sujal Patel" at Apr 21, 96 02:19:20 am

next in thread | previous in thread | raw e-mail | index | archive | help
> > Note that there are some programs still using these features..  tcsh,
> > for one, uses the shared address space semantics to update some statistics
> > in the parent.
> 
> This is an absolutely horrible thing for a user program to do.  The
> vfork() call was never intended to allow you to update the parent's
> address space and as the man page states, should never be used in such a
> way.  Besides, FreeBSD doesn't have an implementation that supports this
> anyway :)  If tcsh (I think it's actually csh) *really* wants to update
> some of the parents address space on FreeBSD, it should use rfork()
> instead IMO.

The inevitble response to "you aren't supposed to use that interface
to do that thing" is "how then am I supposed to do that thing", where
"you are not supposed to" is not an acceptable answer.

8-).


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



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