summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2017-03-27 11:21:25 +0200
committerThomas Hellstrom <thellstrom@vmware.com>2017-03-30 11:43:39 +0200
commitfe25deb7737ce6c0879ccf79c99fa1221d428bf2 (patch)
tree8e5091f95dc74616cb5aab8560f8a0b7d1b8e577 /arch
parent63774069d9527a1aeaa4aa20e929ef5e8e9ecc38 (diff)
downloadlinux-stable-fe25deb7737ce6c0879ccf79c99fa1221d428bf2.tar.gz
linux-stable-fe25deb7737ce6c0879ccf79c99fa1221d428bf2.tar.bz2
linux-stable-fe25deb7737ce6c0879ccf79c99fa1221d428bf2.zip
drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces
Previously, when a surface was opened using a legacy (non prime) handle, it was verified to have been created by a client in the same master realm. Relax this so that opening is also allowed recursively if the client already has the surface open. This works around a regression in svga mesa where opening of a shared surface is used recursively to obtain surface information. Cc: <stable@vger.kernel.org> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions