home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / admin / 4843 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.4 KB

  1. Xref: sparky comp.unix.admin:4843 comp.unix.questions:10652 comp.unix.shell:3773
  2. Path: sparky!uunet!pmafire!news.dell.com!swrinde!sdd.hp.com!wupost!gumby!destroyer!ncar!vexcel!copper!slate!mbarkah
  3. From: mbarkah@slate.mines.colorado.edu (Ade Barkah)
  4. Newsgroups: comp.unix.admin,comp.unix.questions,comp.unix.shell
  5. Subject: Re: How to prevent a large core-dump
  6. Message-ID: <1992Sep2.155211.10164@slate.mines.colorado.edu>
  7. Date: 2 Sep 92 15:52:11 GMT
  8. References: <1992Sep2.94728.26099@ms.uky.edu>
  9. Distribution: na
  10. Organization: Colorado School of Mines
  11. Lines: 25
  12.  
  13. kherron@ms.uky.edu (Kenneth Herron) writes:
  14. : msb@sq.sq.com (Mark Brader) writes:
  15. : >>     echo > core
  16. : >>     chmod 0 core
  17. : >> Then the program will not produce a core, since the file "core" already
  18. : >> exists, but is unwritable (see signal(2)).
  19. : >Fine for most purposes, probably including the original query, but wait
  20. : >until the day that it's a setuid-root program whose core dumps you want
  21. : >to prevent!
  22. : >    mkdir core
  23. : You won't get a core dump if the executable is stripped.  Am I the only
  24. : one who's noticed this?
  25.  
  26. But, but, you can't debug no more when it's stripped... so how's
  27. one supposed to fix that core dump ? :)
  28.  
  29. -Ade.
  30. -- 
  31. Internet  : mbarkah@slate.mines.colorado.edu    (NeXT Mailable)
  32. CompuServe: 74160,3404
  33. FIDO_net  : Ade Barkah [1:104/108@fido.org]
  34. SNAIL_net : 1800 West Campus Road, Golden, CO 80401
  35.