aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2017-03-27 05:21:25 -0400
committerThomas Hellstrom <thellstrom@vmware.com>2017-03-30 05:43:39 -0400
commitfe25deb7737ce6c0879ccf79c99fa1221d428bf2 (patch)
tree8e5091f95dc74616cb5aab8560f8a0b7d1b8e577 /net/unix/af_unix.c
parent63774069d9527a1aeaa4aa20e929ef5e8e9ecc38 (diff)
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions