termux-packages/packages/dopewars/setregid.patch

12 lines
294 B
Diff
Raw Normal View History

2021-02-13 12:41:23 +01:00
--- ../serverside.c.orig 2021-02-12 21:30:27.870154851 +0000
+++ ./src/serverside.c 2021-02-12 21:31:05.391626081 +0000
@@ -1807,7 +1807,7 @@
2019-11-26 08:29:15 +01:00
*/
void DropPrivileges()
{
-#ifndef CYGWIN
+#if !defined(CYGWIN) && !defined(__ANDROID__)
2021-02-13 12:41:23 +01:00
#ifdef HAVE_ISSETUGID
if (issetugid() == 0) return;