Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 25 Feb 2021 11:22:32 -0800
From: Alan Coopersmith <>
To:, David Goldblatt <>
Subject: Re: Sized deallocation for C

On 2/25/21 10:59 AM, David Goldblatt wrote:
> Current Sized-Deallocation Support

The libumem library included with Solaris and illumos as a user-space
implementation of the kernel's slab allocator also does this, requiring
the size be specified in calls to umem_free:

> 5. Implementations may provide extensions to query the usable size of an allocation

Implementations that don't already do this and are thinking of adding it
should consider the fairly common malloc_usable_size() API, already found
in the GNU, FreeBSD, and Solaris libc implementations.

	-Alan Coopersmith-     
	 Oracle Solaris Engineering -

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.