home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 19958 next >
Encoding:
Internet Message Format  |  1992-12-11  |  1.5 KB

  1. Xref: sparky comp.os.linux:19958 comp.unix.bsd:10105
  2. Newsgroups: comp.os.linux,comp.unix.bsd
  3. Path: sparky!uunet!cs.utexas.edu!usc!enterpoop.mit.edu!ira.uka.de!math.fu-berlin.de!informatik.tu-muenchen.de!lrz-muenchen.de!regent!lmsys!mrz!busybit!jochen
  4. From: jochen@busybit.mrz.sub.org (Jochen Fahrner)
  5. Subject: Re: [386bsd]  cp something to /bin/cp and cp core dumps; bug or feature?
  6. X-Md4-Signature: 5629c2ad0e0f4736342a3bf6f68a4646
  7. Organization: Busybit's Software Labor, D-8068 Pfaffenhofen
  8. Distribution: comp
  9. Date: 8 Dec 92 18:56:02
  10. Message-ID: <JOCHEN.92Dec8185602@busybit.mrz.sub.org>
  11. In-Reply-To: burgess@hrd769.brooks.af.mil's message of 2 Dec 1992 16:21:18 -0600
  12. References: <Byn6uL.2oM@ra.nrl.navy.mil> <1992Dec2.185331.57@unislc.uucp>
  13.     <1fjcsuINN2vf@hrd769.brooks.af.mil>
  14. Sender: jochen@busybit.mrz.lm.sub.org (Jochen Fahrner)
  15. Lines: 18
  16.  
  17. In article <1fjcsuINN2vf@hrd769.brooks.af.mil> burgess@hrd769.brooks.af.mil (Dave Burgess) writes:
  18.  
  19.      I have also noticed something that bothers me a little bit.  I was ftping
  20.    a bunch of files from point A to point B and managed to ftp /usr/bin/ftp.
  21.    The execed ftp core dumped.
  22.  
  23.      Why?
  24.  
  25.    I have seen the same thing with several other programs (cp, for example).
  26.    What umbilical link is there between a running program and its image on
  27.    disk?
  28.  
  29. Why is it possible to overwrite a program which is currently executing
  30. in memory ? I don't know BSD, but in SYSV this is impossible.
  31.  
  32. Jochen
  33. -- 
  34. Jochen Fahrner, D-8068 Pfaffenhofen, jochen@busybit.mrz.sub.org
  35.