Re: mmap'ed memory in core files ?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Michael Kerrisk <mtk.manpages@...>
Cc: <linux-kernel@...>, <libdc1394-devel@...>
Date: Wednesday, July 2, 2008 - 6:50 am

Hi Michael,

On Tue, Jul 01, 2008 at 08:16:11PM +0200, Michael Kerrisk wrote:

thanks for the info.  I didn't know about /proc/PID/coredump_filter.

that part was promising :

       bit 2  Dump file-backed private mappings.
       bit 3  Dump file-backed shared mappings.

    The default value of coredump_filter is 0x3; this reflects traditional
    Linux behavior and means that only anonymous memory segments are dumped.

Unfortunately, the part that applies to me (I have tested it) is the next one :

    Memory-mapped I/O pages such as frame buffer are never dumped, [...],
    regardless of the coredump_filter value.

Is that a design decision, or a mere finding of the way it is implemented
now ?

So, back to my original question :

Can some kind soul provide me some pointers to the way I should modify
the kernel to make the inclusion of the video1394 mmapped segment in
core files possible ?

best regards

Philippe
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
mmap'ed memory in core files ?, Philippe De Muyter, (Tue Jul 1, 9:21 am)
Re: mmap'ed memory in core files ?, Michael Kerrisk, (Tue Jul 1, 2:16 pm)
Re: mmap'ed memory in core files ?, Philippe De Muyter, (Wed Jul 2, 7:01 am)
Re: mmap'ed memory in core files ?, Philippe De Muyter, (Wed Jul 2, 6:50 am)
Re: mmap'ed memory in core files ?, Christoph Hellwig, (Wed Jul 2, 9:30 am)
Re: mmap'ed memory in core files ?, Michael Kerrisk, (Wed Jul 2, 6:58 am)
Re: mmap'ed memory in core files ?, Hidehiro Kawai, (Wed Jul 2, 11:51 pm)
Re: mmap'ed memory in core files ?, Philippe De Muyter, (Thu Jul 3, 5:37 am)
[PATCH] ieee1394 : dump mmapped video1394 buffers in core fi..., Philippe De Muyter, (Thu Jul 3, 12:52 pm)
Re: [PATCH] ieee1394 : dump mmapped video1394 buffers in cor..., Philippe De Muyter, (Fri Jul 4, 4:49 pm)
Re: mmap'ed memory in core files ?, Philippe De Muyter, (Thu Jul 3, 5:22 am)
Re: mmap'ed memory in core files ?, Hidehiro Kawai, (Fri Jul 4, 1:50 am)
Re: mmap'ed memory in core files ?, Philippe De Muyter, (Fri Jul 4, 7:13 am)
Re: mmap'ed memory in core files ?, Stefan Richter, (Fri Jul 4, 2:33 am)
Re: mmap'ed memory in core files ?, Hugh Dickins, (Fri Jul 4, 10:29 am)
Re: mmap'ed memory in core files ?, Philippe De Muyter, (Fri Jul 4, 7:25 am)
Re: mmap'ed memory in core files ?, Philippe De Muyter, (Wed Jul 2, 7:04 am)
Re: mmap'ed memory in core files ?, Stefan Richter, (Wed Jul 2, 8:24 am)
Re: mmap'ed memory in core files ?, Philippe De Muyter, (Wed Jul 2, 9:16 am)
Re: mmap'ed memory in core files ?, Bron Gondwana, (Tue Jul 1, 5:44 pm)
Re: mmap'ed memory in core files ?, Michael Kerrisk, (Wed Jul 2, 1:14 am)