<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/csu/boot.h, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/csu/boot.h?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/csu/boot.h?h=jd%2Fsimplify-queueing'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-05-10T13:29:21Z</updated>
<entry>
<title>ld.so boot cleanup support:</title>
<updated>2019-05-10T13:29:21Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2019-05-10T13:29:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c0197e40dd4094880fe205f9c12d3e12e14e7ff3'/>
<id>urn:sha1:c0197e40dd4094880fe205f9c12d3e12e14e7ff3</id>
<content type='text'>
 - put functions and data which are only used before calling the executable's
   start function into their own page-aligned segments for unmapping
   (only done on amd64, arm64, armv7, powerpc, and sparc64 so far)
 - pass .init_array and .preinit_array functions an addition argument which
   is a callback to get a structure which includes a function that frees
   the boot text and data
 - sometimes delay doing RELRO processing: for a shared-object marked
   DF_1_INITFIRST do it after the object's .init_array, for the executable
   do it after the .preinit_array
 - improve test-ld.so to link against libpthread and trigger its initialization
   late
libc changes to use this will come later

ok kettenis@
</content>
</entry>
<entry>
<title>Make alpha less special: _dl_boot_bind() is written to complete</title>
<updated>2018-11-22T21:37:29Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2018-11-22T21:37:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c9db2c6cc9c28bf8ff81d191ed1dd7b77a021120'/>
<id>urn:sha1:c9db2c6cc9c28bf8ff81d191ed1dd7b77a021120</id>
<content type='text'>
relocation of ld.so's GOT without using it, so _reloc_alpha_got()
merely made the call to _dl_boot_bind() from asm simpler...while
itself being a call that required special handling.

diff and muild baking by miod@
ok guenther@
</content>
</entry>
<entry>
<title>remove unused variables</title>
<updated>2017-01-29T22:31:09Z</updated>
<author>
<name>chl</name>
<email>chl@openbsd.org</email>
</author>
<published>2017-01-29T22:31:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=19e3396dabce48cbc9a8a5562e7e6647d6f8bd0a'/>
<id>urn:sha1:19e3396dabce48cbc9a8a5562e7e6647d6f8bd0a</id>
<content type='text'>
ok krw@ guenther@
</content>
</entry>
<entry>
<title>Remove the (now unused) code to determine the page size.  Also get rid of</title>
<updated>2017-01-02T15:25:50Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2017-01-02T15:25:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=423200b7b320647fc3b437d61411cc8572741ec5'/>
<id>urn:sha1:423200b7b320647fc3b437d61411cc8572741ec5</id>
<content type='text'>
the extern declaration of __got_{start,end}.

ok guenther@
</content>
</entry>
<entry>
<title>Replace return by break; requested by guenther@</title>
<updated>2016-12-24T16:00:35Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2016-12-24T16:00:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2ea781393d7639a831dc5da11c245d349638e980'/>
<id>urn:sha1:2ea781393d7639a831dc5da11c245d349638e980</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove code that reprotects the GOT based on the __got_start and __got_end</title>
<updated>2016-12-24T15:55:07Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2016-12-24T15:55:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0b93ea4fad5a14dc6efaa7c660076738bf2a8f51'/>
<id>urn:sha1:0b93ea4fad5a14dc6efaa7c660076738bf2a8f51</id>
<content type='text'>
symbols.  Either the PT_LOAD RWX-&gt;RX case ot PT_GNU_RELRO should cover this
already for anything we care about.  And lld, the llvm linker, doesn't emit
the __got_start and __got_end symbols and there are good reasons to leave it
that way.

ok guenther@
</content>
</entry>
<entry>
<title>A couple more unused variables.</title>
<updated>2016-12-19T18:30:50Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2016-12-19T18:30:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a7d4f26aff9bc0f2cc23076a528a15f5186d45e6'/>
<id>urn:sha1:a7d4f26aff9bc0f2cc23076a528a15f5186d45e6</id>
<content type='text'>
tweak &amp; ok kettenis@
</content>
</entry>
<entry>
<title>retire sparc</title>
<updated>2016-09-01T09:33:30Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2016-09-01T09:33:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=80aa8e27005a03aff60841299da845284ab1738f'/>
<id>urn:sha1:80aa8e27005a03aff60841299da845284ab1738f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Look for a PT_GNU_RELRO section and, if present, mprotect that range</title>
<updated>2016-08-08T22:05:26Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-08-08T22:05:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=45ae28e3c073931e77538a0babb458e29c066364'/>
<id>urn:sha1:45ae28e3c073931e77538a0babb458e29c066364</id>
<content type='text'>
instead of the [__got_start, __got_end) range.

Also, instead of mprotecting the [__plt_start, __plt_end) range,
just scan for sections which are both writable and executable and
mprotect them to read-only.  (This part was stolen from kettenis@)

ok kettenis@
</content>
</entry>
<entry>
<title>Teach mips64 to pass &amp;_DYNAMIC to _dl_boot_bind().</title>
<updated>2016-08-07T02:44:00Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-08-07T02:44:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=55a0c4560399e8996c8f78ea46a1e2c8cb5e23c0'/>
<id>urn:sha1:55a0c4560399e8996c8f78ea46a1e2c8cb5e23c0</id>
<content type='text'>
mips64be testing by deraadt@
</content>
</entry>
</feed>
