0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 13:03:31 +00:00
termux-packages/packages/dbus/fix-hardcoded-paths.patch
Tee KOBAYASHI 233fff39d5 dbus: Do not use close_range
which is disallowed by seccomp.
2022-09-26 18:44:07 +09:00

13 lines
448 B
Diff

diff -uNr dbus-1.12.16/dbus/dbus-sysdeps-unix.c dbus-1.12.16.mod/dbus/dbus-sysdeps-unix.c
--- dbus-1.12.16/dbus/dbus-sysdeps-unix.c 2019-05-13 12:33:56.000000000 +0300
+++ dbus-1.12.16.mod/dbus/dbus-sysdeps-unix.c 2019-08-15 02:15:37.825982953 +0300
@@ -3602,7 +3602,7 @@
/* And this is the sane fallback. */
if (tmpdir == NULL)
- tmpdir = "/tmp";
+ tmpdir = "@TERMUX_PREFIX@/tmp";
}
_DBUS_UNLOCK (sysdeps);