lib: extract igt_drop_root

Useful in other tests.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2014-01-19 22:06:48 +01:00
parent 70082e3677
commit 862de5636f
3 changed files with 16 additions and 13 deletions
+3
View File
@@ -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 */