<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/csu/amd64/md_init.h, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/csu/amd64/md_init.h?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/csu/amd64/md_init.h?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2016-03-20T02:32:39Z</updated>
<entry>
<title>Rearrange C runtime bits: now that ld.so exports environ and __progname,</title>
<updated>2016-03-20T02:32:39Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-03-20T02:32:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5af055cd66b5450a4935ae30e5716331ca3b13d5'/>
<id>urn:sha1:5af055cd66b5450a4935ae30e5716331ca3b13d5</id>
<content type='text'>
move their definitions and initialization in static links to libc.a
Make crt0 always invoke a new func _csu_finish() in libc to process the auxv
and to either register the ld.so cleanup function (in dynamic links) or
initialize environ and __progname and do MC_DISABLE_KBIND (in static links).
In libc, get pagesize from auxv; cache that between getpagesize() and
sysconf(_SC_PAGESIZE)

ok mpi@ "good time" deraadt@
</content>
</entry>
<entry>
<title>In static binaries, invoke kbind() once to disable it.</title>
<updated>2015-09-01T05:40:06Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-09-01T05:40:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0a8a9c346022d9ea9d2d120f75edf8549c4915cf'/>
<id>urn:sha1:0a8a9c346022d9ea9d2d120f75edf8549c4915cf</id>
<content type='text'>
With much assistance from miod@
ok deraadt@@
</content>
</entry>
<entry>
<title>Introduce new csu0 variant for -static -pie binaries to use called</title>
<updated>2014-12-22T03:51:08Z</updated>
<author>
<name>kurt</name>
<email>kurt@openbsd.org</email>
</author>
<published>2014-12-22T03:51:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b7d44ead2528d548ebe369571fb766478149400a'/>
<id>urn:sha1:b7d44ead2528d548ebe369571fb766478149400a</id>
<content type='text'>
rcsu0.o where the initial 'r' is for relocatable. rcsu0.o performs
self-relocation on static pie binaries by calling a slightly modified
copy of ld.so's _dl_boot_bind() in boot.h.

The first arch implementatation is also included for amd64 where
__start calls _dl_boot_bind() and then calls ___start(). Includes
parts from kettenis@ to help get R_X86_64_64 relocations working
and proper handling for undefined weak symbols.

This is the first part of several to get static pie self-relocating
binaries working. binutils, gcc and kernel changes are forthcoming
to complete the solution, then per-arch implementations are needed
for MD_RCRT0_START in csu.

okay kettenis@ pascal@ deraadt@
</content>
</entry>
<entry>
<title>Merge the per-arch crt0.c files into common_elf/crt0.c, with MD macros in</title>
<updated>2013-12-03T06:21:40Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2013-12-03T06:21:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=453b49cd27aaae4d675fbaa755fa5bd0af309909'/>
<id>urn:sha1:453b49cd27aaae4d675fbaa755fa5bd0af309909</id>
<content type='text'>
the md_init.h files.

Worked out with and ok miod@; ok matthew@
</content>
</entry>
<entry>
<title>Make sure everything run from .init and .fini sections gets a properly aligned</title>
<updated>2011-03-30T19:15:03Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2011-03-30T19:15:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e76b0f7db23de89a573b3094b08a35b4d1f81c80'/>
<id>urn:sha1:e76b0f7db23de89a573b3094b08a35b4d1f81c80</id>
<content type='text'>
stack.

ok deraadt@, fgsch@
</content>
</entry>
<entry>
<title>things for amd64; from art@</title>
<updated>2004-01-28T01:44:44Z</updated>
<author>
<name>mickey</name>
<email>mickey@openbsd.org</email>
</author>
<published>2004-01-28T01:44:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=118f6189edb47d41d3a0badafe95d9585c0d1c57'/>
<id>urn:sha1:118f6189edb47d41d3a0badafe95d9585c0d1c57</id>
<content type='text'>
</content>
</entry>
</feed>
