Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <99d54d7e-92d1-e643-7eea-e2c8e8d5675e@redhat.com>
Date: Fri, 27 Jun 2025 16:15:05 +0000 (UTC)
From: Joseph Myers <josmyers@...hat.com>
To: Florian Weimer <fweimer@...hat.com>
cc: Alejandro Colomar <alx@...nel.org>, libc-alpha@...rceware.org, 
    bug-gnulib@....org, musl@...ts.openwall.com, 
    наб <nabijaczleweli@...ijaczleweli.xyz>, 
    Douglas McIlroy <douglas.mcilroy@...tmouth.edu>, 
    Paul Eggert <eggert@...ucla.edu>, Robert Seacord <rcseacord@...il.com>, 
    Elliott Hughes <enh@...gle.com>, Bruno Haible <bruno@...sp.org>, 
    JeanHeyd Meneide <phdofthehouse@...il.com>, Rich Felker <dalias@...c.org>, 
    Adhemerval Zanella Netto <adhemerval.zanella@...aro.org>, 
    Laurent Bercot <ska-dietlibc@...rnet.org>, Andreas Schwab <schwab@...e.de>, 
    Thorsten Glaser <tg@...bsd.de>, Eric Blake <eblake@...hat.com>, 
    Vincent Lefevre <vincent@...c17.net>, Mark Harris <mark.hsj@...il.com>, 
    Collin Funk <collin.funk1@...il.com>, 
    Wilco Dijkstra <Wilco.Dijkstra@....com>, DJ Delorie <dj@...hat.com>, 
    Cristian Rodríguez <cristian@...riguez.im>, 
    Siddhesh Poyarekar <siddhesh@...plt.org>, Sam James <sam@...too.org>, 
    Mark Wielaard <mark@...mp.org>, "Maciej W. Rozycki" <macro@...hat.com>, 
    Martin Uecker <ma.uecker@...il.com>, 
    Christopher Bazley <chris.bazley.wg14@...il.com>, eskil@...ession.se, 
    Daniel Krügler <daniel.kruegler@...glemail.com>, 
    Kees Cook <keescook@...omium.org>, 
    Valdis Klētnieks <valdis.kletnieks@...edu>
Subject: Re: alx-0029r5 - Restore the traditional realloc(3) specification

On Fri, 27 Jun 2025, Florian Weimer wrote:

> From an implementation perspective, we need clarification that the
> allocation functions (except aligned_alloc) may reduce the alignment of
> the returned pointer to a power of two greater or equal to the requested
> size, for allocation sizes that are less than the fundamental alignment.

That was already changed in C23 (see N2293, accepted October 2018), 
reversing the previous rule from C90 DR#075.

-- 
Joseph S. Myers
josmyers@...hat.com

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.