<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec/rtld-elf, branch release/10.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F10.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F10.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2014-09-12T16:22:01Z</updated>
<entry>
<title>MFC r270798:</title>
<updated>2014-09-12T16:22:01Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2014-09-12T16:22:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=36b9190bd1d13ee0436ee2f6b0d51493027c80a8'/>
<id>urn:sha1:36b9190bd1d13ee0436ee2f6b0d51493027c80a8</id>
<content type='text'>
Process STT_GNU_IFUNC when doing non-plt relocations.

MFC r270802:
Only do the second pass over non-plt relocations when the first pass
found IFUNCs.

Approved by:	re (gjb)
</content>
</entry>
<entry>
<title>MFC r270803:</title>
<updated>2014-09-01T08:02:23Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2014-09-01T08:02:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d3b4e41d387f2432f9c61d7161d985b5fddbae74'/>
<id>urn:sha1:d3b4e41d387f2432f9c61d7161d985b5fddbae74</id>
<content type='text'>
Document the whole settings needed to build a debug version of rtld.
</content>
</entry>
<entry>
<title>MFC	r270256:</title>
<updated>2014-08-28T18:11:05Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2014-08-28T18:11:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=09ba6e48238c802eebff63b5e32809d7cb4d1c70'/>
<id>urn:sha1:09ba6e48238c802eebff63b5e32809d7cb4d1c70</id>
<content type='text'>
Always check the limits of array index variables before using them.

Obtained from:	DragonFlyBSD
</content>
</entry>
<entry>
<title>MFC r265456, r265578:</title>
<updated>2014-08-07T18:36:47Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2014-08-07T18:36:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9a144e56762b3c60389cccea617146c642d6ffd9'/>
<id>urn:sha1:9a144e56762b3c60389cccea617146c642d6ffd9</id>
<content type='text'>
Add a postinit debugger hook to rtld. This will be used by dtrace(1) to halt
the victim process before its entry point is called, at which point probes
and DOF data are registered with the kernel. The r_debug_state hook cannot
be used for this purpose, as it is called before the program's init routines
are invoked and in particular before DOF data is registered (via drti.o).
</content>
</entry>
<entry>
<title>MFC r266609:</title>
<updated>2014-06-07T02:45:24Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2014-06-07T02:45:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=14683010ac205ebe38bdf613d247876c78d7f77f'/>
<id>urn:sha1:14683010ac205ebe38bdf613d247876c78d7f77f</id>
<content type='text'>
Change the _rtld_atfork() to lock the bind lock in write mode.
</content>
</entry>
<entry>
<title>MFC r266411:</title>
<updated>2014-05-25T00:57:07Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2014-05-25T00:57:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=950c885239abf5a0e205a6ca6883250da9a583f3'/>
<id>urn:sha1:950c885239abf5a0e205a6ca6883250da9a583f3</id>
<content type='text'>
Fix LD_LIBMAP.
</content>
</entry>
<entry>
<title>MFC r264481:</title>
<updated>2014-04-21T02:55:27Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2014-04-21T02:55:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=293daf8ab1191c0851291c52b731c157e727829f'/>
<id>urn:sha1:293daf8ab1191c0851291c52b731c157e727829f</id>
<content type='text'>
Add dwarf annotations to the amd64 _rtld_bind_start to allow debuggers
to unwind around the calls from PLT to binder.
</content>
</entry>
<entry>
<title>MFC r262277:</title>
<updated>2014-02-27T02:36:09Z</updated>
<author>
<name>David Xu</name>
<email>davidxu@FreeBSD.org</email>
</author>
<published>2014-02-27T02:36:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f731b0b6204cff9939783eb3ade53708d76b91ca'/>
<id>urn:sha1:f731b0b6204cff9939783eb3ade53708d76b91ca</id>
<content type='text'>
malloc_aligned() may not leave enough space for pointer to allocated memory,
saving the pointer will overwrite bytes belongs to another memory block
unexpectly, to fix the problem, use (allocated address + sizeof(void *)) as
initial value, and slip to next aligned address, so maximum extra bytes is
sizeof(void *) + align - 1.

Tested by: Andre Albsmeier &lt; mail at ma17 dot ata dot myota dot orgndre &gt;

MFC r262334:

Increase alignment to size of pointer if the alignment is too small.
Some modules do not align data at least to size of pointer, they uses a
smaller alignment, but our pointer should be aligned to its native
boundary, otherwise on some platforms, hardware alignment checking
will cause bus error.
</content>
</entry>
<entry>
<title>MFC: r262136</title>
<updated>2014-02-24T08:21:49Z</updated>
<author>
<name>Christian Brueffer</name>
<email>brueffer@FreeBSD.org</email>
</author>
<published>2014-02-24T08:21:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b37c75aa05cbc2a4adc9b65a6dff4eaf6786bbd1'/>
<id>urn:sha1:b37c75aa05cbc2a4adc9b65a6dff4eaf6786bbd1</id>
<content type='text'>
Remove the 3rd clause ("advertising clause") of the BSD license as
permitted by the University of Berkeley on July 22, 1999.

Reviewed by:	imp
</content>
</entry>
<entry>
<title>MFC r259044:</title>
<updated>2013-12-13T06:06:08Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2013-12-13T06:06:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=10edd290095848624879d9e664293bd6504977cd'/>
<id>urn:sha1:10edd290095848624879d9e664293bd6504977cd</id>
<content type='text'>
For variant II static TLS, properly align tls segments.

MFC r259072:
Cast Elf_Addr to void * to match the free_aligned() argument type.
</content>
</entry>
</feed>
