Files
twx-linux/drivers
Thomas Hellstrom ad4ae2feef drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces
commit fe25deb773 upstream.

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.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-04-12 12:38:33 +02:00
..
…
…
2017-03-12 06:37:27 +01:00
…
…
…
…
…
…
…
…
2017-03-26 12:13:18 +02:00
…
…
…
…
2017-01-12 11:22:47 +01:00
2017-03-30 09:35:19 +02:00
2017-02-23 17:43:10 +01:00
…
…
…
…
…
…
…
…
2017-04-08 09:53:32 +02:00
…
2017-04-08 09:53:31 +02:00
…
…
…
…
…
…
…
2017-03-30 09:35:17 +02:00
2017-03-30 09:35:20 +02:00
…
…
…