summaryrefslogtreecommitdiff
path: root/src/mach64_common.h
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2006-07-16 19:23:56 +0300
committerGeorge Sapountzis <gsap7@yahoo.gr>2006-10-02 22:43:44 +0300
commit22860a3c0685a25f982983654303ad02aedc02ec (patch)
treee0aa094e264ebe4ed2c61dcca1d8be0c05b49428 /src/mach64_common.h
parentcb53fe7c1e45937746e43437ae6adb0355306ae9 (diff)
Bug 6242: [mach64] Use private DMA buffers.
Map the DMA buffers read-only. This eliminates a security problem where a client can alter the contents of the DMA buffer after submission to the DRM.
Diffstat (limited to 'src/mach64_common.h')
-rw-r--r--src/mach64_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mach64_common.h b/src/mach64_common.h
index 1fb765a5..f1f765a4 100644
--- a/src/mach64_common.h
+++ b/src/mach64_common.h
@@ -111,7 +111,7 @@ typedef struct {
} drmMach64Vertex;
typedef struct {
- int idx;
+ void *buf;
int pitch;
int offset;
int format;