[PATCH 12/16] drm/vmwgfx: Tighten security around surface sharing v2

2014-03-27 Thread Thomas Hellstrom
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

[PATCH 12/16] drm/vmwgfx: Tighten security around surface sharing

2014-03-25 Thread Thomas Hellstrom
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. Signed-off-by: Thomas Hellstrom Reviewed-by: Brian Paul --- drive