🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs.2bsd
Article #142

VIRUS_VFORK -- define it!

#142
From: Ted Nolan
Date: Sat, 04 Aug 1984 06:17
25 lines
1915 bytes
<all v's are forked>

In configuring a kernal for 2.9, the guidelines tell you that defining
VIRUS_VFORK may not be a good idea on systems that swap heavily, so
we decided not to define it.  

It turns out however, that csh uses a vfork and that csh is somehow tied
up in the shell escapes of a whole lot of programs (even those that give 
you a shell according to your SHELL environment var).  This has the
unpleasant consequence of rendering shell escapes from any of the
newer programs impossible.  Even worse, if you use csh, you will be
unable to do any non builtin command.  One fix would be to recompile
csh with a fork instead of a vfork, but given that the documentation
states that using vforks changes the way processes look in memory and
given the way the shells are known to play with memory themselves, we
decided the safest thing to do was go ahead and define VIRUS_VFORK.
You will have to do one or the other.

-- 
-------------------------------------------------------------------------------
Ted Nolan                               ...decvax!mcnc!ncsu!ncrcae!usceast!ted
6536 Brookside Circle                   ...akgua!usceast!ted
Columbia, SC 29206
      ("We pray for one last landing on the globe that gave us birth..")
-------------------------------------------------------------------------------
Technical Details
Message-ID: <2098@usceast.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!zehntel!dual!amd!decwrl!decvax!mcnc!ncsu!ncrcae!usceast!ted

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site usceast.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!zehntel!dual!amd!decwrl!decvax!mcnc!ncsu!ncrcae!usceast!ted
From: ted@usceast.UUCP (Ted Nolan)
Newsgroups: net.bugs.2bsd
Subject: VIRUS_VFORK -- define it!
Message-ID: <2098@usceast.UUCP>
Date: Sat, 4-Aug-84 02:17:16 EDT
Article-I.D.: usceast.2098
Posted: Sat Aug  4 02:17:16 1984
Date-Received: Mon, 30-Jul-84 01:32:24 EDT
Organization: Csci Dept, U of S. Carolina, Columbia
Lines: 25