Re: [Dri-devel] quick question about 1 line of code

2001-06-09 Thread Gareth Hughes
[EMAIL PROTECTED] wrote: > > In the below line of code, which file contains the definition of DRM(), > and is it a macro , and if so what exactly does it do to the function alloc() > ? > > radeon_cp.c:entry = DRM(alloc)( sizeof(drm_radeon_freelist_t), The new templated architecture

[Dri-devel] Question about compiling within a driver directory (.../GL/mesa/src/drv/driver)

2001-06-09 Thread adoniz
Can I compile the files in a driver directory alone, without having to do the whole DRI or X11 tree ? Then grab the driver_dri.so file and throw it in the modules directory and restart X11 for it to take effect ? This assumes that the only changes are within the driver directory, and not

[Dri-devel] quick question about 1 line of code

2001-06-09 Thread adoniz
In the below line of code, which file contains the definition of DRM(), and is it a macro , and if so what exactly does it do to the function alloc() ? radeon_cp.c:entry = DRM(alloc)( sizeof(drm_radeon_freelist_t), Free, encrypted, secure Web-based email at www.hushmail.com

[Dri-devel] [SECURITY] bugs in DRM trusting user data

2001-06-09 Thread Mike A. Harris
Hey guys, this is from the Stanford checker guys, forwarded from an original posting on linux-kernel. Looks like 4.1.0 DRI in the mga and i810 drivers at least may have some security issues whereby it trusts data copied from userspace and uses it as array indicies or for other purposes. No doubt