<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/csu/arm, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/csu/arm?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/csu/arm?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>Anthony Steinhauser reports that 32-bit arm cpus have the same speculation</title>
<updated>2020-03-13T09:31:24Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-03-13T09:31:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f74a2b77455090a00a6234c40c5f02aa52986a5b'/>
<id>urn:sha1:f74a2b77455090a00a6234c40c5f02aa52986a5b</id>
<content type='text'>
problems as 64-bit models.  To resolve the syscall speculation, as a first
step "nop; nop" was added after all occurances of the syscall ("swi 0")
instruction.  Then the kernel was changed to jump over the 2 extra instructions.
In this final step, those pair of nops are converted into the speculation-blocking
sequence ("dsb nsh; isb").
Don't try to build through these multiple steps, use a snapshot instead.
Packages matching the new ABI will be out in a while...
ok kettenis
</content>
</entry>
<entry>
<title>Anthony Steinhauser reports that 32-bit arm cpus have the same speculation</title>
<updated>2020-03-11T13:09:29Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-03-11T13:09:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=afaa629c2449cf45f3998658bc9ce86c63099379'/>
<id>urn:sha1:afaa629c2449cf45f3998658bc9ce86c63099379</id>
<content type='text'>
problems as 64-bit models.  For the syscall instruction issue, add nop;nop
after swi 0, in preparation for jumping over a speculation barrier here later.
</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>Use a long branch (using movw/movt) to implement MD_SECT_CALL_FUNC.</title>
<updated>2017-02-26T15:20:58Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2017-02-26T15:20:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=08c612f178f469b0f8f2b00e2ab61610e3556188'/>
<id>urn:sha1:08c612f178f469b0f8f2b00e2ab61610e3556188</id>
<content type='text'>
Necessary (but perhaps not suffcient) to build large binaries on arm.

ok guenther@
</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>Simplify code that sets up a stack frame for running .init code to be more</title>
<updated>2016-10-03T22:13:30Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2016-10-03T22:13:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=306c523a48caa279c9d206c6b255f25839cac41b'/>
<id>urn:sha1:306c523a48caa279c9d206c6b255f25839cac41b</id>
<content type='text'>
AEABI-like.

ok tom@, jsg@
</content>
</entry>
<entry>
<title>Implement self-relocation for -static -pie on arm.  Also removes some</title>
<updated>2016-09-08T18:56:58Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2016-09-08T18:56:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=dfd75ee2a3128c0a7d2b0f51c6f5b6b1aefd869c'/>
<id>urn:sha1:dfd75ee2a3128c0a7d2b0f51c6f5b6b1aefd869c</id>
<content type='text'>
unecessary code from the normal startup code and do some general cleanup to
make the code more readable.

ok guenther@, jsg@
</content>
</entry>
</feed>
