commit | bffbfeed7a595dcbe5843a77d84c409a0225b4e1 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Jun 06 20:41:42 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri Jun 06 20:41:42 2014 -0700 |
tree | 2df025b90853eeeef5f8dc7b623617f96ecc8914 | |
parent | 19718f0cd605f55df26823c67b62ceab6fe99a00 [diff] [blame] |
Add the missing issetugid binary compatibility stub. Bug: 14569474 Change-Id: I3bedc1a0acf356af76424ceaf62ae7e85239f617
diff --git a/libc/bionic/ndk_cruft.cpp b/libc/bionic/ndk_cruft.cpp index b73c47e..15a3206 100644 --- a/libc/bionic/ndk_cruft.cpp +++ b/libc/bionic/ndk_cruft.cpp
@@ -245,4 +245,9 @@ return __getdents64(fd, dirp, count); } +// This is a BSDism that we never implemented correctly. Used by Firefox. +extern "C" int issetugid() { + return 0; +} + #endif