<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/csu/hppa, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/csu/hppa?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/csu/hppa?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-10-15T16:30:21Z</updated>
<entry>
<title>crt0 MD _dl_exit() performs syscall to SYS_exit directly, but then</title>
<updated>2020-10-15T16:30:21Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-10-15T16:30:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2bc3a8c076b486ad5cb1adf52ac1373fba054b0a'/>
<id>urn:sha1:2bc3a8c076b486ad5cb1adf52ac1373fba054b0a</id>
<content type='text'>
some of these functions were returning.  That makes the +1word address
a fairly strong and easily located gadget.  Put a hard-trap
instruction after the syscall.  This remains a gadget for 'terminal
system' calls (such as execve), but hey that's why we have pledge w/o
"exec" throughout the tree.
Quite surprisingly, hppa's delay-slot load of SYS_exit makes it the
safest of the bunch, not that this helps anyone.
ok kettenis
</content>
</entry>
<entry>
<title>use symbolic SYS_exit instead of the value 1</title>
<updated>2020-10-14T22:11:18Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-10-14T22:11:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9c558c1181d4532fa3a04595bff127adc23ef057'/>
<id>urn:sha1:9c558c1181d4532fa3a04595bff127adc23ef057</id>
<content type='text'>
ok kettenis
</content>
</entry>
<entry>
<title>_dl_printf is no longer referenced by RELOC_{JMPREL,DYN,GOT}; delete the stub</title>
<updated>2017-08-11T20:13:30Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-08-11T20:13:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=344baaa7369214af57d570c2005bb07927710f77'/>
<id>urn:sha1:344baaa7369214af57d570c2005bb07927710f77</id>
<content type='text'>
ok kettenis@
</content>
</entry>
<entry>
<title>Our certbegin/certend is always PIC, so remove the non-PIC MD_SECT_CALL_FUNC()</title>
<updated>2017-02-26T22:26:42Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2017-02-26T22:26:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=920eed1a4a939da04e8d182d011fb3796a8790e6'/>
<id>urn:sha1:920eed1a4a939da04e8d182d011fb3796a8790e6</id>
<content type='text'>
implementations.

ok guenther@
</content>
</entry>
<entry>
<title>Fix misspelling in comment</title>
<updated>2017-01-21T01:43:16Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-01-21T01:43:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=87e2f33be64be7aa86d5a259b3cbaf7571076be0'/>
<id>urn:sha1:87e2f33be64be7aa86d5a259b3cbaf7571076be0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Declare the symbols that label the .ctors, .dtors, .eh_frame, and .jcr</title>
<updated>2017-01-21T00:45:13Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-01-21T00:45:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b3fe29f4687edf2be8c3fc3433d38bd40593a33b'/>
<id>urn:sha1:b3fe29f4687edf2be8c3fc3433d38bd40593a33b</id>
<content type='text'>
sections as extern hidden arrays of indefinite size, so that the compiler
(well, clang) doesn't believe it knows the exact contents and thus optimize
things into infinite loops.  Actually set the symbols to be in the sections
and insert the leading and trailing values via __asm().

Problem pointed out by patrick@
testing and ok kettenis@
</content>
</entry>
<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>crt0.c is already setting environ, so don't set it in MD_START_SETUP</title>
<updated>2016-03-13T18:35:02Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-03-13T18:35:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d5d4315e3de48ca679294ba47062c7faaac64e04'/>
<id>urn:sha1:d5d4315e3de48ca679294ba47062c7faaac64e04</id>
<content type='text'>
ok kettenis@ mpi@
</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>Set up the linkage table register (%r19) before calling _dl_boot_bind.</title>
<updated>2014-12-23T12:25:43Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2014-12-23T12:25:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ed3c11e09db899537f0ef6708a7134947b327f25'/>
<id>urn:sha1:ed3c11e09db899537f0ef6708a7134947b327f25</id>
<content type='text'>
</content>
</entry>
</feed>
