termux-packages/x11-packages/putty/no-priv-drop.patch

20 lines
397 B
Diff
Raw Normal View History

2020-09-23 18:30:15 +02:00
diff -uNr putty-0.73/unix/uxpty.c putty-0.73.mod/unix/uxpty.c
--- putty-0.73/unix/uxpty.c 2019-09-22 12:14:52.000000000 +0300
+++ putty-0.73.mod/unix/uxpty.c 2020-09-23 19:29:25.338141793 +0300
@@ -562,6 +562,7 @@
#endif
}
+#ifndef __ANDROID__
/* Drop privs. */
{
#ifndef HAVE_NO_SETRESUID
@@ -587,6 +588,7 @@
}
#endif
}
+#endif
#endif /* NO_PTY_PRE_INIT */