MaxsTechReview
6ba159a2f2
fix: let Wine write hooks into code FEX has translated (Ubisoft "Error at hooking API") ( #1163 )
...
fix: let Wine write hooks into code FEX has translated
Wine 11's wineserver writes another process's memory with process_vm_writev,
which the kernel refuses on a page that is not writable. FEX's WoW64 layer
keeps the pages it has translated read-only to catch self-modifying code and
re-protects them right after a program unprotects them, so WriteProcessMemory
and NtWriteVirtualMemory into ntdll failed with a partial copy and Ubisoft
games stopped at "Error at hooking API NtProtectVirtualMemory". Wine only
falls back to /proc/<pid>/mem on ENOSYS or EPERM.
libblsession now completes a single-buffer write that wineserver was refused
with EFAULT through /proc/<pid>/mem, the way Wine wrote before Wine 11. Other
programs and every other error keep the kernel's answer. The iovecs are read
with process_vm_readv, so a bad pointer still returns EFAULT, and offsets are
64-bit in the i386 build.
2026-10-20 00:31:03 -04:00
..
2026-10-13 21:27:42 -04:00
2026-10-14 23:37:35 -04:00
2026-10-18 09:26:01 -04:00
2026-10-13 21:27:42 -04:00
2026-10-13 21:27:42 -04:00
2026-10-04 12:43:57 -04:00
2026-10-14 01:01:49 -04:00
2026-10-18 08:37:09 -04:00
2026-10-13 21:27:42 -04:00
2026-10-14 01:01:49 -04:00
2026-10-12 16:26:24 -04:00
2026-10-09 21:35:37 +00:00
2026-10-19 09:54:19 -04:00
2026-10-17 14:40:39 -04:00
2026-10-13 21:27:42 -04:00
2026-10-13 21:27:42 -04:00
2026-10-19 23:06:48 -04:00
2026-10-17 14:40:39 -04:00
2026-10-19 21:27:25 -04:00
2026-10-08 04:06:23 +00:00
2026-10-16 01:48:00 -04:00
2026-10-16 10:05:02 -04:00
2026-10-13 21:27:42 -04:00
2026-10-20 03:22:41 +00:00
2026-10-12 17:13:07 -04:00
2026-10-18 08:59:54 -04:00
2026-10-10 19:12:51 -04:00
2026-10-18 03:40:17 -04:00
2026-10-18 03:40:17 -04:00
2026-10-10 19:12:20 -04:00
2026-10-19 20:10:54 -04:00
2026-10-18 08:37:09 -04:00
2026-10-13 21:27:42 -04:00
2026-10-19 23:06:48 -04:00
2026-10-18 08:37:09 -04:00
2026-10-13 21:27:42 -04:00
2026-10-13 21:27:42 -04:00
2026-10-10 19:12:20 -04:00
2026-10-18 20:38:08 -04:00
2026-10-17 14:40:39 -04:00
2026-10-15 07:01:01 -04:00
2026-10-14 23:37:35 -04:00
2026-10-08 00:46:34 -04:00
2026-10-18 08:37:09 -04:00
2026-10-13 21:31:26 -04:00
2026-10-15 07:20:09 -04:00
2026-10-12 17:13:07 -04:00
2026-10-15 09:51:02 -04:00
2026-10-16 01:48:00 -04:00
2026-10-18 08:59:54 -04:00
2026-10-17 13:17:05 -04:00
2026-10-17 13:17:05 -04:00
2026-10-14 13:52:07 -04:00
2026-10-16 01:48:00 -04:00
2026-10-14 08:25:08 -04:00
2026-10-13 21:27:42 -04:00
2026-10-04 12:43:57 -04:00
2026-10-17 14:40:39 -04:00
2026-10-13 21:27:42 -04:00
2026-10-19 18:44:10 -04:00
2026-10-17 13:17:05 -04:00
2026-10-18 08:59:54 -04:00
2026-10-17 23:57:52 -04:00
2026-10-17 23:57:52 -04:00
2026-10-09 21:35:37 +00:00
2026-10-15 15:50:26 +00:00
2026-10-18 20:38:48 -04:00
2026-10-16 13:45:35 -04:00
2026-10-13 21:27:42 -04:00
2026-10-18 08:59:54 -04:00
2026-10-15 02:18:26 +00:00
2026-10-17 23:57:52 -04:00
2026-10-17 14:40:39 -04:00
2026-10-11 15:53:01 -04:00
2026-10-18 20:38:48 -04:00
2026-10-16 01:48:00 -04:00
2026-10-18 08:37:09 -04:00
2026-10-19 12:31:23 -04:00
2026-10-17 13:17:05 -04:00
2026-10-18 08:37:09 -04:00
2026-10-17 23:57:52 -04:00
2026-10-17 14:40:39 -04:00
2026-10-09 11:08:17 -04:00
2026-10-13 14:36:56 +00:00
2026-10-13 21:27:42 -04:00
2026-10-03 00:06:09 -04:00
2026-10-20 00:31:03 -04:00
2026-10-16 01:48:00 -04:00
2026-10-16 01:48:00 -04:00
2026-10-16 01:48:00 -04:00
2026-10-16 01:48:00 -04:00
2026-10-15 15:50:26 +00:00
2026-10-18 08:59:54 -04:00
2026-10-14 01:01:49 -04:00
2026-10-13 21:27:42 -04:00
2026-10-18 08:37:09 -04:00
2026-10-16 17:30:21 +00:00
2026-10-19 20:10:54 -04:00
2026-10-19 20:10:54 -04:00
2026-10-13 21:27:42 -04:00