From bffbfeed7a595dcbe5843a77d84c409a0225b4e1 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 6 Jun 2014 20:41:42 -0700 Subject: Add the missing issetugid binary compatibility stub. Bug: 14569474 Change-Id: I3bedc1a0acf356af76424ceaf62ae7e85239f617 --- libc/bionic/ndk_cruft.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.1