2018-09-11 23:25:32 +02:00
|
|
|
diff -uNr xorg-server-1.20.1/os/backtrace.c xorg-server-1.20.1.mod/os/backtrace.c
|
|
|
|
--- xorg-server-1.20.1/os/backtrace.c 2018-08-07 19:31:05.000000000 +0300
|
2018-10-08 20:44:50 +02:00
|
|
|
+++ xorg-server-1.20.1.mod/os/backtrace.c 2018-10-08 21:07:16.834261640 +0300
|
2018-10-03 00:30:00 +02:00
|
|
|
@@ -244,14 +244,13 @@
|
|
|
|
/* CHILD */
|
|
|
|
char parent[16];
|
|
|
|
|
|
|
|
- seteuid(0);
|
|
|
|
close(STDIN_FILENO);
|
|
|
|
close(STDOUT_FILENO);
|
|
|
|
dup2(pipefd[1], STDOUT_FILENO);
|
2018-09-10 00:42:26 +02:00
|
|
|
closefrom(STDERR_FILENO);
|
|
|
|
|
|
|
|
snprintf(parent, sizeof(parent), "%d", getppid());
|
|
|
|
- execle("/usr/bin/pstack", "pstack", parent, NULL);
|
2022-04-05 06:48:20 +02:00
|
|
|
+ execle("@TERMUX_PREFIX@/bin/pstack", "pstack", parent, NULL);
|
2018-09-10 00:42:26 +02:00
|
|
|
exit(1);
|
|
|
|
}
|
|
|
|
else {
|