Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 1998 14:46:35 -0700 (PDT)
From:      John Polstra <jdp@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/sys/kern imgact_elf.c
Message-ID:  <199809152146.OAA01213@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jdp         1998/09/15 14:46:35 PDT

  Modified files:
    sys/kern             imgact_elf.c 
  Log:
  Instead of just the data and stack segments, include all writable
  segments (except memory-mapped devices) in the ELF core file.  This
  is really nice.  You get access to the data areas of all shared
  libraries, and even to files that are mapped read-write.
  
  In the future, it might be good to add a new resource limit in the
  spirit of RLIMIT_CORE.  It would specify the maximum sized writable
  segment to include in core dumps.  Segments larger than that would
  be omitted.  This would be useful for programs that map very large
  files read/write but that still would like to get usable core dumps.
  
  Revision  Changes    Path
  1.32      +199 -68   src/sys/kern/imgact_elf.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809152146.OAA01213>