[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vma-iter: Improvements for BSD platforms
From: |
Bruno Haible |
Subject: |
Re: vma-iter: Improvements for BSD platforms |
Date: |
Wed, 27 Sep 2017 01:52:39 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-93-generic; KDE/5.18.0; x86_64; ; ) |
I pushed two more improvements of this module:
2017-09-26 Bruno Haible <address@hidden>
vma-iter: Improvements for Linux and BSD platforms.
- Add support for DragonFly BSD.
- Make it more reliable on Linux, GNU/kFreeBSD, FreeBSD, NetBSD.
* lib/vma-iter.c (struct rofile, rof_open, rof_peekchar, rof_close):
Read the entire file into memory in a single system call.
(vma_iterate): Update. Read from /proc on DragonFly BSD like on FreeBSD.
* lib/vma-iter.h (VMA_ITERATE_SUPPORTED): Define also on DragonFly BSD.
2017-09-26 Bruno Haible <address@hidden>
vma-iter: Provide the protection flags on FreeBSD.
* lib/vma-iter.c (vma_iterate) [FreeBSD]: When reading from /proc,
skip three fields between the addresses and the protection flags.
0001-vma-iter-Provide-the-protection-flags-on-FreeBSD.patch
Description: Text Data
0002-vma-iter-Improvements-for-Linux-and-BSD-platforms.patch
Description: Text Data