The DRM_IOCTL_VIA_DMA_INIT can be called as a normal user. This is of course easy to change, but Mesa 3D uses it to check whether AGP DMA has been initialized and if not, uses the PCI path. Either a separate user-callable IOCTL that checks wether AGP DMA has been initialized is needed or a check for caller privileges is needed for VIA_INIT_DMA and VIA_CLEANUP_DMA functions, whereas VIA_DMA_INITIALIZED should be allowed as normal user. Suggestions are appreciated. /Thomas
Fixed in CVS as of 20041222, by means of extra security checks within the IOCTL main. /Thomas
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.