Messages in this thread | | | From | Keith Packard <> | Subject | Re: [PATCH 3/4] drm: Check mode object lease status in all master ioctl paths | Date | Sun, 09 Apr 2017 19:06:36 -0600 |
| |
Daniel Vetter <daniel@ffwll.ch> writes:
> I think it'd be good if we could consolidate all the lease checking into > drm_mode_object_find (respectively __drm_mode_object_find). We'd need to > wire up the fpriv to be able to do that, but we could upstream that patch > right away before anything else. That should take care of most of the > checks in this patch here.
Hrm. Without some major changes, the effect of this will be to have the lessee see only the objects which it holds a lease on. I think that's OK as the lessor will be doing object filtering for its clients, however it's not what Dave and I discussed, so I just want to make him aware that the kernel is going to be simpler than originally planned. We had originally discussed having the lessee see the un-leased objects, but to have them reported with different status.
-- -keith [unhandled content-type:application/pgp-signature] | |