home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!wupost!eclnews!achilles!pete
- From: pete@achilles.arl (Peter Flugstad,,,)
- Subject: Re: Process & Signal Question
- Message-ID: <1992Aug18.145412.6352@wuecl.wustl.edu>
- Sender: usenet@wuecl.wustl.edu (Usenet Administrator)
- Nntp-Posting-Host: achilles
- Reply-To: pete@achilles.arl
- Organization: Washington University, School of Engineering, St. Louis MO
- References: <Bt5tp0.9JI@gumby.ocs.com>
- Date: Tue, 18 Aug 1992 14:54:12 GMT
- Lines: 21
-
- In article 9JI@gumby.ocs.com, obi@gumby.ocs.com (Kuryan "Obi" Thomas) writes:
- >In article <1657227@bailey.UUCP>, bill@bailey.UUCP (Bill Glidden 882-8369)
- >writes:
- >> Make knows the executable is in use because when you fopen or open a file for
- >> create and it is in use, the operating system returns an error condition to
- >> the calling program. Of course, I don't recommend this for your situation.
- >
- >A vague memory tells me that on System V machines, demand-paged
- >executables which are in use (being executed) can't be overwritten. If you
- >could, horrid things would happen to the running process when it tried to
- >demand page from the executable. I believe the errno you get if you try to
- >open such an executable image for writing is ETXTBSY (Text File busy).
- >
- >Could someone confirm or deny this?
-
-
- I don't know about Sys V, but Sun OS 4.1.1 lets you do this. On several occasions I have
- installed a new executable for a running program and it's almost always resulted in
- Bus Errors... Nothing worse than that though...
-
-
-