From: Christopher Yeoh Date: Thu, 2 Feb 2012 01:04:09 +0000 (+1030) Subject: Fix race in process_vm_rw_core X-Git-Tag: v3.3-rc3~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cdb878dcb359fd1137e9abdee9322f5e9bcfdf8;p=pandora-kernel.git Fix race in process_vm_rw_core This fixes the race in process_vm_core found by Oleg (see http://article.gmane.org/gmane.linux.kernel/1235667/ for details). This has been updated since I last sent it as the creation of the new mm_access() function did almost exactly the same thing as parts of the previous version of this patch did. In order to use mm_access() even when /proc isn't enabled, we move it to kernel/fork.c where other related process mm access functions already are. Signed-off-by: Chris Yeoh Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed