From: Thomas Hellstrom Date: Wed, 19 Mar 2014 09:45:11 +0000 (+0100) Subject: drm/vmwgfx: Tighten security around surface sharing v2 X-Git-Tag: v3.15-rc1~51^2~25^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d10aab8f0658d624e5aafcd52b70afa23a75e5e;p=pandora-kernel.git drm/vmwgfx: Tighten security around surface sharing v2 If using legacy (non-prime) surface sharing, only allow surfaces to be shared between clients with the same master. This will block malicious clients from peeking at contents at surfaces from other (possibly vt-switched) masters. v2: s/legacy_client/primary_client/ Signed-off-by: Thomas Hellstrom Reviewed-by: Brian Paul --- Reading git-diff-tree failed