[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vma-iter: support for FreeBSD
From: |
Bruno Haible |
Subject: |
Re: vma-iter: support for FreeBSD |
Date: |
Sun, 08 Oct 2017 17:53:07 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-96-generic; KDE/5.18.0; x86_64; ; ) |
I wrote about the Hurd:
> but this implementation does not show the VMAs from anonymous mmap. Sigh.
> This fixes it.
The same problem exists on FreeBSD: the /proc file system does not show the
VMAs from anonymous mmap. This fixes it: Use sysctl in the first place.
2017-10-08 Bruno Haible <address@hidden>
vma-iter: Improve support for FreeBSD.
* lib/vma-iter.c (vma_iterate_proc): New function, extracted from
vma_iterate.
(vma_iterate): Use it. For FreeBSD, try vma_iterate_bsd first.
0001-vma-iter-Improve-support-for-FreeBSD.patch
Description: Text Data