<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/csu/aarch64, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/csu/aarch64?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/csu/aarch64?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-10-19T17:57:40Z</updated>
<entry>
<title>replace ad-hoc illegal instruction with the architecturally defined one</title>
<updated>2020-10-19T17:57:40Z</updated>
<author>
<name>naddy</name>
<email>naddy@openbsd.org</email>
</author>
<published>2020-10-19T17:57:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5bbf88322ed6a7a68da69a643f5f3b793160f0cd'/>
<id>urn:sha1:5bbf88322ed6a7a68da69a643f5f3b793160f0cd</id>
<content type='text'>
("permanently undefined")
ok deraadt@ kettenis@
</content>
</entry>
<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>Now that the kernel skips the two instructions immediately following</title>
<updated>2020-02-18T12:19:11Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-02-18T12:19:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5ecc9681133f1894e81c385eddd09981f78f1193'/>
<id>urn:sha1:5ecc9681133f1894e81c385eddd09981f78f1193</id>
<content type='text'>
a syscall, replace the double nop with a dsb nsh; isb; sequence which
stops the CPU from speculating any further.  This fix was suggested
by Anthony Steinhauser.

ok deraadt@
</content>
</entry>
<entry>
<title>Insert two nop instructions after each svc #0 instruction in userland.</title>
<updated>2020-01-26T02:19:43Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-01-26T02:19:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0c401ffc2a2550c32105ce180746b0a95071123b'/>
<id>urn:sha1:0c401ffc2a2550c32105ce180746b0a95071123b</id>
<content type='text'>
The will be replaced by a speculation barrier as soon as we teach the
kernel to skip over these two instructions when returning from a
system call.

ok patrick@, deraadt@
</content>
</entry>
<entry>
<title>Fix address calculation for _DYNAMIC.  We want to address of _DYNAMIC itself,</title>
<updated>2018-07-24T09:27:44Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2018-07-24T09:27:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4e61412a9215922e6ef944624481c07968eba071'/>
<id>urn:sha1:4e61412a9215922e6ef944624481c07968eba071</id>
<content type='text'>
not the address of its GOT entry.  The current code mixed the high bits of
the GOT entry address with the low bits of the true address.  This only
worked by accident for small binaries where _DYNAMIC and its GOT entry
happen to reside on the same page.

ok guenther@, mortimer@
</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 passing &amp;_DYNAMIC to _dl_boot_bind; makes -static -pie work.</title>
<updated>2017-01-24T01:43:32Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2017-01-24T01:43:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8a7435558acf8bc1d6f85f86c409ddd01e843c0c'/>
<id>urn:sha1:8a7435558acf8bc1d6f85f86c409ddd01e843c0c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add support for AArch64.</title>
<updated>2017-01-11T13:59:02Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2017-01-11T13:59:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b2749fa90657b3dae4d137753a983e6522a895c7'/>
<id>urn:sha1:b2749fa90657b3dae4d137753a983e6522a895c7</id>
<content type='text'>
</content>
</entry>
</feed>
