Hi Collin,
> Therefore, I applied the attached patch to vma-iter
> that fixes the test.
Thanks! I verified that it compiles fine (and passes the test) also
on older Haiku from 3 years ago.
> I guess when the original code here was written:
>
>if (info.protection & B_READ_AREA)
>
On Thu, Mar 13, 2025 at 10:23 PM Collin Funk wrote:
>
> On Haiku, test-vma-prot fails with the following:
>
> ../../gltests/test-vma-prot.c:68: assertion 'prot == (VMA_PROT_READ |
> VMA_PROT_WRITE)' failed
> Abort
> FAIL test-vma-prot (exit status: 149)
>
> At this point, the followin
4
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-03-13 Collin Funk
+
+ vma-iter: Detect executable memory segments on Haiku (regr. 2011-01-25).
+ * lib/vma-iter.c (vma_iterate) [__BEOS__ || __HAIKU__]: Use the
+ B_EXECUTE_AREA flag.
+
2025-03-12 Collin Funk
dup3: Fix behavi