termux-packages/x11-packages/hexchat/no-setuid.patch

12 lines
364 B
Diff

diff -uNr hexchat-2.14.2/src/common/server.c hexchat-2.14.2.mod/src/common/server.c
--- hexchat-2.14.2/src/common/server.c 2018-08-29 19:41:08.000000000 +0300
+++ hexchat-2.14.2.mod/src/common/server.c 2019-10-20 23:40:54.023648082 +0300
@@ -1623,7 +1623,6 @@
case 0:
/* this is the child */
- setuid (getuid ());
server_child (serv);
_exit (0);
}