ugh. This just isn't working out.
Sure, inverting the default value of VM_IO is much safer, because
the penalty for getting it wrong is broken coredumps and ptrace,
rather than kernel crashes.
But there are still many areas which need changing, and thinking
about. Stuff like ftape_mmap, sound_mmap, packet_mmap, mmap_mem,
mmap_zero, ...
I'm wondering if we can automagically determine whether the
mapping is safe to peek and coredump within the mmap and mremap
functions themselves? All this would take is the ability to
determine that the entire vma is backed by valid page structs.
Is there a fast and portable way of doing this?
-
-
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/