Add sbin overlay to system-as-root

This commit is contained in:
topjohnwu
2019-06-24 01:21:33 -07:00
parent 9ec8bc2166
commit a1a1ac0bbb
6 changed files with 100 additions and 40 deletions

View File

@@ -278,7 +278,7 @@ int xdup2(int oldfd, int newfd) {
}
int xdup3(int oldfd, int newfd, int flags) {
int ret = (int) syscall(__NR_dup3, oldfd, newfd, flags);
int ret = dup3(oldfd, newfd, flags);
if (ret == -1) {
PLOGE("dup3");
}