Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 11 Jun 2017 11:51:14 +0200
Subject: a workaround when mremap() is not functional?

Is there any variation to the musl malloc which would make realloc()
work when the Linux ABI implementation lacks a usable mremap()?

Otherwse realloc() under Linux ABI in FreeBSD fails due to mremap()
being mostly a stub and returning -1/ENOMEM for any growth.

LinuxABI under FreeBSD apparently behaves differently than the
Linux kernel, which can be seen as bugs when the purpose is "Linux

OTOH it would be nice to reduce the strength of the conformity
requirements by musl, to be able to accomodate the extra platform
(possibly could help on other platforms too).


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.