From: Thomas Hellstrom Date: Thu, 27 Feb 2014 11:56:08 +0000 (+0100) Subject: drm/vmwgfx: Reinstate and tighten security around legacy master model X-Git-Tag: v3.15-rc1~51^2~25^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64190bded3c84ed988ff620ec2f4cd858b53426c;p=pandora-kernel.git drm/vmwgfx: Reinstate and tighten security around legacy master model The following restrictions affect clients connecting using legacy nodes: *) Masters that have dropped master privilieges are not considered authenticated until they regain master privileges. *) Clients whose master have dropped master privileges block interruptibly on ioctls requiring authentication until their master regains master privileges. If their master exits, they are killed. This is primarily designed to prevent clients authenticated with one master to access data from clients authenticated with another master. (Think fast user-switching or data sniffers enabled while X is vt-switched). Signed-off-by: Thomas Hellstrom Reviewed-by: Brian Paul --- Reading git-diff-tree failed