[PATCH] drm: Fix an unwanted master inheritance v2

Emil Velikov emil.l.velikov at gmail.com
Fri Dec 4 06:16:01 PST 2015


On 2 December 2015 at 17:24, Thomas Hellstrom <thellstrom at vmware.com> wrote:
> A client calling drmSetMaster() using a file descriptor that was opened
> when another client was master would inherit the latter client's master
> object and all its authenticated clients.
>
> This is unwanted behaviour, and when this happens, instead allocate a
> brand new master object for the client calling drmSetMaster().
>
> Fixes a BUG() throw in vmw_master_set().
>
> Cc: <stable at vger.kernel.org>
> Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
Looks a lot better thanks!

Fwiw
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>

-Emil


More information about the dri-devel mailing list