0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-21 22:09:42 +00:00
Files
termux-packages/root-packages/frida/no-pidfd_open-syscall.patch
Henrik Grimler 9cefd364da updpkg(root/frida): 17.2.11
frida version 17 has moved over from plain Makefiles to meson, and we
more or less needed to port the package again from scratch.
2025-07-14 11:56:41 +02:00

15 lines
497 B
Diff

--- ../frida-core.orig/lib/base/linux.vala 2025-07-11 09:34:31.046128020 +0000
+++ ./subprojects/frida-core/lib/base/linux.vala 2025-07-14 05:48:35.752938907 +0000
@@ -51,10 +51,7 @@
}
public static PidFileDescriptor from_pid (uint pid) throws Error {
- int fd = pidfd_open (pid, 0);
- if (fd == -1)
- throw_pidfd_error (pid, errno);
- return new PidFileDescriptor (fd, pid);
+ throw_pidfd_error (pid, errno);
}
public FileDescriptor getfd (int targetfd) throws Error {