diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2006-07-16 19:23:56 +0300 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2006-10-02 22:43:44 +0300 |
commit | 22860a3c0685a25f982983654303ad02aedc02ec (patch) | |
tree | e0aa094e264ebe4ed2c61dcca1d8be0c05b49428 /src/mach64_common.h | |
parent | cb53fe7c1e45937746e43437ae6adb0355306ae9 (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.h | 2 |
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; |