<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/csu/mips64, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/csu/mips64?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/csu/mips64?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-10-20T15:26:59Z</updated>
<entry>
<title>Use a trap instruction that unconditionally terminates the process.</title>
<updated>2020-10-20T15:26:59Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2020-10-20T15:26:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=80466dde51009dbd49580caccfb3a8784eaac483'/>
<id>urn:sha1:80466dde51009dbd49580caccfb3a8784eaac483</id>
<content type='text'>
OK deraadt@
</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>Work around a limitation of clang integrated assembler on mips64.</title>
<updated>2019-04-19T09:19:22Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2019-04-19T09:19:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ba36fba2f7dd7c5c34bf6a8358bcb85b5d314e36'/>
<id>urn:sha1:ba36fba2f7dd7c5c34bf6a8358bcb85b5d314e36</id>
<content type='text'>
The assembler does not handle undeclared local symbols properly
and generates R_MIPS_CALL16 relocations where it should generate
local GOT references. For now, get along with the problem by
declaring local symbols where necessary.

OK kettenis@ guenther@
</content>
</entry>
<entry>
<title>Separate symbol name and type with a comma for consistency and</title>
<updated>2019-03-23T15:29:55Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2019-03-23T15:29:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9d16eafffdf8c1a15260e2b70d3e82dd3fb6233d'/>
<id>urn:sha1:9d16eafffdf8c1a15260e2b70d3e82dd3fb6233d</id>
<content type='text'>
to make clang happier.

No binary change with gas.
</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>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>
<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>
</feed>
