| Index: third_party/crashpad/crashpad/util/posix/drop_privileges.cc
|
| diff --git a/third_party/crashpad/crashpad/util/posix/drop_privileges.cc b/third_party/crashpad/crashpad/util/posix/drop_privileges.cc
|
| index 3fb0ab4a562645fdcde464f9fd3da1e22a9d84e9..5c809904d39bf298acc3006ac4c6a2f753fc16c5 100644
|
| --- a/third_party/crashpad/crashpad/util/posix/drop_privileges.cc
|
| +++ b/third_party/crashpad/crashpad/util/posix/drop_privileges.cc
|
| @@ -71,7 +71,7 @@ void DropPrivileges() {
|
| CHECK_EQ(setegid(egid), -1);
|
| }
|
| }
|
| -#elif defined(OS_LINUX)
|
| +#elif defined(OS_LINUX) || defined(OS_ANDROID)
|
| PCHECK(setresgid(gid, gid, gid) == 0) << "setresgid";
|
| PCHECK(setresuid(uid, uid, uid) == 0) << "setresuid";
|
|
|
|
|