Messages in this thread | | | Date | Wed, 7 Mar 2012 13:50:37 -0500 | From | Jason Baron <> | Subject | Re: [PATCH 1/2] core dump: drop VM_ALWAYSDUMP flag |
| |
On Wed, Mar 07, 2012 at 09:59:58AM -0800, Roland McGrath wrote: > On Wed, Mar 7, 2012 at 9:00 AM, Jason Baron <jbaron@redhat.com> wrote: > > + if (vma_name) { > > + if ((strcmp(vma_name, "[vdso]") == 0) || > > + (strcmp(vma_name, "[vectors]") == 0) || > > + (strcmp(vma_name, "[vsyscall]") == 0)) > > That's just disgusting.
well, sure, we can provide an arch interface, for this check. I'm more concerned with the general idea. If it seems ok, I can re-do this bit with an arch interface.
Thanks,
-Jason -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |