On Mon, 2004-11-01 at 14:21 +0100, Thomas HellstrÃm wrote:
> 
> Hmm, correct me If I'm wrong, but after a brief check in the code, it
> seems like the current _DRM_LOCK_IS_HELD() used in  dma buffer
> submission IOCTLS just checks that the lock is indeed held, but not if
> it is held by the current caller. Thus any authorized client should be
> able to sneek in DMA commands while the lock is held by another client
> or the X server. -> potential system crash.

Hence _DRM_LOCK_IS_HELD() always seems to be (supposed to be)
accompanied by another test that verifies the ownership.


-- 
Earthling Michel DÃnzer      |     Debian (powerpc), X and DRI developer
Libre software enthusiast    |   http://svcs.affero.net/rm.php?r=daenzer


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to