tests: add gem_reloc_overflow to check wrapping

This adds a test to make sure that the execbuffer validation routine is
checking for invalid addresses, single entry overflow, and multi-entry
wrapping overflow.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Kees Cook
2013-03-15 11:09:07 -07:00
committed by Daniel Vetter
parent 7da0af8855
commit c3bfd738c7
3 changed files with 156 additions and 0 deletions
+1
View File
@@ -84,6 +84,7 @@ TESTS_progs = \
gem_pipe_control_store_loop \
gem_unfence_active_buffers \
gem_unref_active_buffers \
gem_reloc_overflow \
gem_reloc_vs_gpu \
drm_vma_limiter \
drm_vma_limiter_cpu \