Re: [PATCH] drm: Check for lessee in DROP_MASTER ioctl

2018-01-31 Thread Daniel Vetter
On Tue, Jan 30, 2018 at 11:55:01AM -0800, Keith Packard wrote: > Daniel Vetter writes: > > > On Thu, Jan 18, 2018 at 05:51:59PM -0800, Keith Packard wrote: > >> Don't let a lessee control what the current DRM master is set to; > >> that's the job of the "real" master. Otherwise,

Re: [PATCH] drm: Check for lessee in DROP_MASTER ioctl

2018-01-31 Thread Daniel Vetter
On Tue, Jan 30, 2018 at 11:55:01AM -0800, Keith Packard wrote: > Daniel Vetter writes: > > > On Thu, Jan 18, 2018 at 05:51:59PM -0800, Keith Packard wrote: > >> Don't let a lessee control what the current DRM master is set to; > >> that's the job of the "real" master. Otherwise, the lessee would

Re: [PATCH] drm: Check for lessee in DROP_MASTER ioctl

2018-01-30 Thread Keith Packard
Daniel Vetter writes: > On Thu, Jan 18, 2018 at 05:51:59PM -0800, Keith Packard wrote: >> Don't let a lessee control what the current DRM master is set to; >> that's the job of the "real" master. Otherwise, the lessee would >> disable all access to master operations for the

Re: [PATCH] drm: Check for lessee in DROP_MASTER ioctl

2018-01-30 Thread Keith Packard
Daniel Vetter writes: > On Thu, Jan 18, 2018 at 05:51:59PM -0800, Keith Packard wrote: >> Don't let a lessee control what the current DRM master is set to; >> that's the job of the "real" master. Otherwise, the lessee would >> disable all access to master operations for the owner and all lessees

Re: [PATCH] drm: Check for lessee in DROP_MASTER ioctl

2018-01-30 Thread Daniel Vetter
On Thu, Jan 18, 2018 at 05:51:59PM -0800, Keith Packard wrote: > Don't let a lessee control what the current DRM master is set to; > that's the job of the "real" master. Otherwise, the lessee would > disable all access to master operations for the owner and all lessees > under it. > > This

Re: [PATCH] drm: Check for lessee in DROP_MASTER ioctl

2018-01-30 Thread Daniel Vetter
On Thu, Jan 18, 2018 at 05:51:59PM -0800, Keith Packard wrote: > Don't let a lessee control what the current DRM master is set to; > that's the job of the "real" master. Otherwise, the lessee would > disable all access to master operations for the owner and all lessees > under it. > > This

[PATCH] drm: Check for lessee in DROP_MASTER ioctl

2018-01-18 Thread Keith Packard
Don't let a lessee control what the current DRM master is set to; that's the job of the "real" master. Otherwise, the lessee would disable all access to master operations for the owner and all lessees under it. This matches the same check made in the SET_MASTER ioctl. Signed-off-by: Keith

[PATCH] drm: Check for lessee in DROP_MASTER ioctl

2018-01-18 Thread Keith Packard
Don't let a lessee control what the current DRM master is set to; that's the job of the "real" master. Otherwise, the lessee would disable all access to master operations for the owner and all lessees under it. This matches the same check made in the SET_MASTER ioctl. Signed-off-by: Keith