From: Greg Ungerer Date: Fri, 2 Sep 2005 00:42:52 +0000 (+1000) Subject: [PATCH] uclinux: use MAP_PRIVATE when mmaping code regions in flat binary loader X-Git-Tag: v2.6.14-rc1~1003 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=213b24c93b6c43d96973b9db453bf845c97bbe18 [PATCH] uclinux: use MAP_PRIVATE when mmaping code regions in flat binary loader Use MAP_PRIVATE when calling mmap to get memory for the code region. The flat loader was using MAP_SHARED, but underlying changes to the MMUless mmap means this is now wrong. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed