summaryrefslogtreecommitdiff
path: root/lib/drmtest.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-01-19 22:06:48 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-01-19 22:06:48 +0100
commit862de5636f545a071f29f60ae0a4ab1370f5cf8b (patch)
tree1111e1f1023d25da539cc904b17b6e1797c45958 /lib/drmtest.h
parent70082e3677711bc01330ba3483fbdce5779f915d (diff)
lib: extract igt_drop_root
Useful in other tests. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/drmtest.h')
-rw-r--r--lib/drmtest.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/drmtest.h b/lib/drmtest.h
index a8de2b49..0240a053 100644
--- a/lib/drmtest.h
+++ b/lib/drmtest.h
@@ -357,4 +357,7 @@ void igt_enable_prefault(void);
/* suspend and auto-resume system */
void igt_system_suspend_autoresume(void);
+/* dropping priviledges */
+void igt_drop_root(void);
+
#endif /* DRMTEST_H */