0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 06:18:57 +00:00
termux-packages/x11-packages/putty/no-priv-drop.patch
2022-11-04 10:30:56 +00:00

19 lines
266 B
Diff

--- a/unix/pty.c
+++ b/unix/pty.c
@@ -563,6 +563,7 @@
#endif
}
+#ifndef __ANDROID__
/* Drop privs. */
{
#if HAVE_SETRESUID && HAVE_SETRESGID
@@ -588,6 +589,7 @@
}
#endif
}
+#endif /* __ANDROID__ */
#endif /* NO_PTY_PRE_INIT */