<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec/rtld-elf/rtld_malloc.c, branch releng/14.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-10-24T17:10:12Z</updated>
<entry>
<title>Purge more stray embedded $FreeBSD$ strings</title>
<updated>2023-10-24T17:10:12Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-09-25T14:54:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=260bab9f1e6f2a770eab029f5b37e6f4fa12edbe'/>
<id>urn:sha1:260bab9f1e6f2a770eab029f5b37e6f4fa12edbe</id>
<content type='text'>
These do not use __FBSDID but instead use bare char arrays.

Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D41957

(cherry picked from commit eba230afba4932f02a1ca44efc797cf7499a5cb0)
</content>
</entry>
<entry>
<title>__crt_aligned_alloc_offset(): fix ov_index for backing allocation address</title>
<updated>2023-09-09T08:26:33Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2023-09-06T13:50:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cbf1bbe5c8b5afedff247dbc20f4bccd888a06e9'/>
<id>urn:sha1:cbf1bbe5c8b5afedff247dbc20f4bccd888a06e9</id>
<content type='text'>
(cherry picked from commit 03a7c36ddbc0ddb1063d2c8a37c64d83e1519c55)
</content>
</entry>
<entry>
<title>rtld_malloc: add __crt_aligned_alloc_offset()</title>
<updated>2023-08-21T14:16:42Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2023-07-22T04:21:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c29ee08204ce4106d4992474005c5f2fb7d5fbf1'/>
<id>urn:sha1:c29ee08204ce4106d4992474005c5f2fb7d5fbf1</id>
<content type='text'>
It is modelled after aligned_alloc(3).  Most importantly, to free the
allocation, __crt_free() can be used.  Additionally, caller may specify
offset into the aligned allocation, so that we return offset-ed from
alignment pointer.

Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D41150
</content>
</entry>
<entry>
<title>rtld_malloc: increase overhead index to uint16</title>
<updated>2023-08-21T14:16:42Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2023-07-25T12:54:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d60130bf32a3c35417f276507dcdfa569397dae3'/>
<id>urn:sha1:d60130bf32a3c35417f276507dcdfa569397dae3</id>
<content type='text'>
Reorder it with magic, to keep alignment.

Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D41150
</content>
</entry>
<entry>
<title>rtld_malloc.c: change return type of cp2op() to void</title>
<updated>2023-08-21T14:16:42Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2023-07-30T01:58:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6bb7f05850efceb01a7050e3c0fd86f9539c0071'/>
<id>urn:sha1:6bb7f05850efceb01a7050e3c0fd86f9539c0071</id>
<content type='text'>
for it to be useful to return unaligned pointer.

Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D41150
</content>
</entry>
<entry>
<title>rtld_malloc: add cp2op() helper</title>
<updated>2023-07-26T14:24:18Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2023-07-22T04:24:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=86c7368f2bcefeb257f7dc40e4296261b295a674'/>
<id>urn:sha1:86c7368f2bcefeb257f7dc40e4296261b295a674</id>
<content type='text'>
converting user allocation address into overhead pointer

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D41150
</content>
</entry>
<entry>
<title>rtld_malloc: only include internal rtld headers when building for rtld</title>
<updated>2023-07-26T14:24:17Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2023-07-22T04:39:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bc7e86106d428c7da328ad7fc9d4cb5f7f303e0e'/>
<id>urn:sha1:bc7e86106d428c7da328ad7fc9d4cb5f7f303e0e</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D41150
</content>
</entry>
<entry>
<title>rtld: remove dup __crt_malloc prototypes</title>
<updated>2023-07-26T14:24:17Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2023-07-22T04:37:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cf6dbdd135072fc2b74e0a10c22474b0282ca122'/>
<id>urn:sha1:cf6dbdd135072fc2b74e0a10c22474b0282ca122</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D41150
</content>
</entry>
<entry>
<title>rtld_malloc: remove outdated comments</title>
<updated>2023-07-26T14:24:17Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2023-07-22T04:13:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a24726a6f3b43473093267e2b4e81d186817dc7d'/>
<id>urn:sha1:a24726a6f3b43473093267e2b4e81d186817dc7d</id>
<content type='text'>
The ovu_magic is not neccessary overlaps with low byte of the ov_next,
for the big endian machines.

There is no range checking in the allocator.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D41150
</content>
</entry>
<entry>
<title>rtld-elf/paths.h: Make it usable outside rtld</title>
<updated>2021-10-21T00:08:54Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2021-10-12T15:50:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=33dba3bb0ec2a0f0a401bed145cc0ef95f37a5c3'/>
<id>urn:sha1:33dba3bb0ec2a0f0a401bed145cc0ef95f37a5c3</id>
<content type='text'>
but still for tightly coupled things like ldd(1)

Rename paths.h to rtld_paths.h.
Add guard for rtld-specific externs declarations.
Add _COMPAT32_BASENAME_RTLD and _COMPAT32_PATH_RTLD.

Reviewed by:	arichardson, jhb
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D32464
</content>
</entry>
</feed>
