m68k: Do not set global share for non-kernel shared pages
authorAlexander Stein <alexander.stein@systec-electronic.com>
Mon, 23 Jan 2012 14:45:56 +0000 (15:45 +0100)
committerGreg Ungerer <gerg@uclinux.org>
Tue, 7 Feb 2012 01:25:57 +0000 (11:25 +1000)
If the SG bit is set in MMUTR the page is accessible for all
userspace processes (ignoring the ASID). So a process might randomly
access a page from a different process which had a shared page
(from shared memory) in its context.

Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>

No differences found