Skip to content

Instantly share code, notes, and snippets.

@mcm
Last active September 7, 2015 05:30
Show Gist options
  • Save mcm/75f3bee45af30e295788 to your computer and use it in GitHub Desktop.
Save mcm/75f3bee45af30e295788 to your computer and use it in GitHub Desktop.
--- a/common/compat.c
+++ b/common/compat.c
@@ -816,7 +816,7 @@ getauxval (unsigned long type)
extern int __libc_enable_secure;
secure = __libc_enable_secure;
-#elif defined(HAVE_ISSETUGID)
+#elif defined(HAVE_ISSETUGID) && !defined(__APPLE__)
secure = issetugid ();
#elif defined(OS_UNIX)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment