Home
last modified time | relevance | path

Searched refs:exec_args (Results 1 – 1 of 1) sorted by relevance

/system/extras/su/
Dsu.cpp133 char* exec_args[argc + 1]; // Having too much space is fine. in main() local
136 exec_args[i] = *argv++; in main()
139 if (i == 0) exec_args[i++] = const_cast<char*>("/system/bin/sh"); in main()
140 exec_args[i] = NULL; in main()
142 execvp(exec_args[0], exec_args); in main()
143 error(1, errno, "failed to exec %s", exec_args[0]); in main()