<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/regress/libexec/ld.so/randomdata/ld.so-cookie, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/regress/libexec/ld.so/randomdata/ld.so-cookie?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/regress/libexec/ld.so/randomdata/ld.so-cookie?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2014-02-16T00:33:44Z</updated>
<entry>
<title>Update ld.so-cookie test which is currently broken and gets in the</title>
<updated>2014-02-16T00:33:44Z</updated>
<author>
<name>martynas</name>
<email>martynas@openbsd.org</email>
</author>
<published>2014-02-16T00:33:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e026d09d28b43a8ee26685c712c31793a2521911'/>
<id>urn:sha1:e026d09d28b43a8ee26685c712c31793a2521911</id>
<content type='text'>
way of SSP testing.  For some reason this diff keeps escaping from
cvs commit...

Basic idea:
* Use dl_iterate_phdr() to iterate all loaded ELF program headers.
* Check that we actually find a header for ld.so.
* For ld.so, check that we find a PT_OPENBSD_RANDOMIZE segment.
* For each PT_OPENBSD_RANDOMIZE segment, check that at least one
byte in the memory range is non-zero.

Written by matthew@.
"Please go ahaed" kettenis@.
"Move fast" deraadt@, a week ago.
</content>
</entry>
<entry>
<title>Double check that we're not testing libc's __guard.  Changing ld.so's</title>
<updated>2012-08-17T15:11:12Z</updated>
<author>
<name>matthew</name>
<email>matthew@openbsd.org</email>
</author>
<published>2012-08-17T15:11:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b113c0bf3ac8e642fa6e14ffc88183c98d5edd35'/>
<id>urn:sha1:b113c0bf3ac8e642fa6e14ffc88183c98d5edd35</id>
<content type='text'>
__guard symbol to HIDDEN causes dlsym() to return a pointer to libc's
__guard instead, which can cause the test to wrongly pass even if
ld.so's random data segments are not being initialized properly.
</content>
</entry>
<entry>
<title>Use dlopen("ld.so") instead of dlopen("/usr/libexec/ld.so") so we get</title>
<updated>2012-08-16T20:38:13Z</updated>
<author>
<name>matthew</name>
<email>matthew@openbsd.org</email>
</author>
<published>2012-08-16T20:38:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ccd5238a63fc9ae9b12c98bf727fda4b3a07e81d'/>
<id>urn:sha1:ccd5238a63fc9ae9b12c98bf727fda4b3a07e81d</id>
<content type='text'>
a reference to the already loaded ld.so instead of loading another
instance.
</content>
</entry>
<entry>
<title>Add a test case to verify ld.so's randomdata section is initialized</title>
<updated>2012-08-16T18:19:36Z</updated>
<author>
<name>matthew</name>
<email>matthew@openbsd.org</email>
</author>
<published>2012-08-16T18:19:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9c999f0bd28dada1a6060dc5a10b177aed447e4e'/>
<id>urn:sha1:9c999f0bd28dada1a6060dc5a10b177aed447e4e</id>
<content type='text'>
too, since interpreters will be initialized by a slightly different
code path than executables.
</content>
</entry>
</feed>
