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
@@ -45,6 +45,7 @@ gem_pipe_control_store_loop
gem_pread_after_blit
gem_pwrite
gem_readwrite
gem_reloc_overflow
gem_reloc_vs_gpu
gem_reg_read
gem_render_linear_blits