Re: [PATCH 1/2] core dump: drop VM_ALWAYSDUMP flag
From: Jason Baron
Date: Wed Mar 07 2012 - 13:50:42 EST
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@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/