summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-06-06 20:41:42 -0700
committerElliott Hughes <enh@google.com>2014-06-06 20:41:42 -0700
commitbffbfeed7a595dcbe5843a77d84c409a0225b4e1 (patch)
tree2df025b90853eeeef5f8dc7b623617f96ecc8914
parent19718f0cd605f55df26823c67b62ceab6fe99a00 (diff)
downloadbionic-bffbfeed7a595dcbe5843a77d84c409a0225b4e1.zip
bionic-bffbfeed7a595dcbe5843a77d84c409a0225b4e1.tar.gz
bionic-bffbfeed7a595dcbe5843a77d84c409a0225b4e1.tar.bz2
Add the missing issetugid binary compatibility stub.
Bug: 14569474 Change-Id: I3bedc1a0acf356af76424ceaf62ae7e85239f617
-rw-r--r--libc/bionic/ndk_cruft.cpp5
1 files changed, 5 insertions, 0 deletions
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 @@ extern "C" int getdents(unsigned int fd, dirent* dirp, unsigned int count) {
return __getdents64(fd, dirp, count);
}
+// This is a BSDism that we never implemented correctly. Used by Firefox.
+extern "C" int issetugid() {
+ return 0;
+}
+
#endif