Messages in this thread | | | Date | Fri, 18 Mar 2005 13:47:56 +1100 | From | Paul Mackerras <> | Subject | Re: binfmt_elf padzero problems |
| |
Andrew Morton writes:
> I guess if the bss has zero length then we can skip the zeroing of the end > of the page at the end of bss, as long as we're dead sure that we didn't > accidentally instantiate a single page on behalf of that zero-length bss.
There is another thing I noticed about the bss code, which is that it doesn't give the bss the permissions from the PT_LOAD segment, rather it just uses VM_DATA_DEFAULT_FLAGS. That doesn't matter at the moment but may matter in future for ppc32.
Paul. - 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/
| |