Commit 435f9726 authored by Philippe De Muyter's avatar Philippe De Muyter Committed by Stefan Richter

ieee1394: dump mmapped iso buffers in core files

Currently, core files do not contain the mmapped memory of the video1394
or dv1394 devices, which contain the actual video input, making it
impossible to analyse the cause of abnormal program termination for
image analysis or (de)compression software.  Fix that.
Signed-off-by: default avatarPhilippe De Muyter <phdm@macqel.be>

Also affects users of the rawiso ioctl API of raw1394.
Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 3aea50a3
...@@ -274,7 +274,7 @@ int dma_region_mmap(struct dma_region *dma, struct file *file, ...@@ -274,7 +274,7 @@ int dma_region_mmap(struct dma_region *dma, struct file *file,
vma->vm_ops = &dma_region_vm_ops; vma->vm_ops = &dma_region_vm_ops;
vma->vm_private_data = dma; vma->vm_private_data = dma;
vma->vm_file = file; vma->vm_file = file;
vma->vm_flags |= VM_RESERVED; vma->vm_flags |= VM_RESERVED | VM_ALWAYSDUMP;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment