home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.programmer:4347 comp.unix.misc:3265
- Newsgroups: comp.unix.programmer,comp.unix.misc
- Path: sparky!uunet!ocsmd!gumby!obi
- From: obi@gumby.ocs.com (Kuryan "Obi" Thomas)
- Subject: Re: Process & Signal Question
- Message-ID: <Bt5tp0.9JI@gumby.ocs.com>
- Sender: obi@gumby (Kuryan "Obi" Thomas)
- Reply-To: obi@gumby.ocs.com
- Organization: Online Computer Systems, Inc.
- References: <1657227@bailey.UUCP>
- Date: Tue, 18 Aug 1992 03:29:24 GMT
- Lines: 13
-
- 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?
-