home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / programm / 4347 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.1 KB

  1. Xref: sparky comp.unix.programmer:4347 comp.unix.misc:3265
  2. Newsgroups: comp.unix.programmer,comp.unix.misc
  3. Path: sparky!uunet!ocsmd!gumby!obi
  4. From: obi@gumby.ocs.com (Kuryan "Obi" Thomas)
  5. Subject: Re: Process & Signal Question
  6. Message-ID: <Bt5tp0.9JI@gumby.ocs.com>
  7. Sender: obi@gumby (Kuryan "Obi" Thomas)
  8. Reply-To: obi@gumby.ocs.com
  9. Organization: Online Computer Systems, Inc.
  10. References:  <1657227@bailey.UUCP>
  11. Date: Tue, 18 Aug 1992 03:29:24 GMT
  12. Lines: 13
  13.  
  14. In article <1657227@bailey.UUCP>, bill@bailey.UUCP (Bill Glidden 882-8369)
  15. writes:
  16. > Make knows the executable is in use because when you fopen or open a file for
  17. > create and it is in use, the operating system returns an error condition to
  18. > the calling program. Of course, I don't recommend this for your situation.
  19.  
  20. A vague memory tells me that on System V machines, demand-paged
  21. executables which are in use (being executed) can't be overwritten. If you
  22. could, horrid things would happen to the running process when it tried to
  23. demand page from the executable. I believe the errno you get if you try to
  24. open such an executable image for writing is ETXTBSY (Text File busy).
  25.  
  26. Could someone confirm or deny this?
  27.