<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/arch/alpha, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/arch/alpha?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/arch/alpha?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-10-18T14:28:16Z</updated>
<entry>
<title>SYS___threxit cannot fail, but this integration looks like a gadget.</title>
<updated>2020-10-18T14:28:16Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-10-18T14:28:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=13df69822c46036ceeeafb612b360459feebf6db'/>
<id>urn:sha1:13df69822c46036ceeeafb612b360459feebf6db</id>
<content type='text'>
Put a hard-trap instruction after the syscall instruction.
ok kettenis mortimer
</content>
</entry>
<entry>
<title>Add support for timeconting in userland.</title>
<updated>2020-07-06T13:33:05Z</updated>
<author>
<name>pirofti</name>
<email>pirofti@openbsd.org</email>
</author>
<published>2020-07-06T13:33:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d82e6535c6efd8305182f77041b2246ccfae1196'/>
<id>urn:sha1:d82e6535c6efd8305182f77041b2246ccfae1196</id>
<content type='text'>
This diff exposes parts of clock_gettime(2) and gettimeofday(2) to
userland via libc eliberating processes from the need for a context
switch everytime they want to count the passage of time.

If a timecounter clock can be exposed to userland than it needs to set
its tc_user member to a non-zero value. Tested with one or multiple
counters per architecture.

The timing data is shared through a pointer found in the new ELF
auxiliary vector AUX_openbsd_timekeep containing timehands information
that is frequently updated by the kernel.

Timing differences between the last kernel update and the current time
are adjusted in userland by the tc_get_timecount() function inside the
MD usertc.c file.

This permits a much more responsive environment, quite visible in
browsers, office programs and gaming (apparently one is are able to fly
in Minecraft now).

Tested by robert@, sthen@, naddy@, kmos@, phessler@, and many others!

OK from at least kettenis@, cheloha@, naddy@, sthen@
</content>
</entry>
<entry>
<title>Stop exporting the internal _mcount symbol as that's only referenced</title>
<updated>2019-10-26T18:47:10Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2019-10-26T18:47:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=589b4acdbba65d6ecc6e77d9aac5e27618bc75fb'/>
<id>urn:sha1:589b4acdbba65d6ecc6e77d9aac5e27618bc75fb</id>
<content type='text'>
by the ASM stub, which is also in libc.  The compiler only generates
invocations of the latter.

ok mpi@ deraadt@ kettenis@
</content>
</entry>
<entry>
<title>Clear the sign bit in the QNAN constants used by strtof, strtod and strtold,</title>
<updated>2018-05-28T03:20:25Z</updated>
<author>
<name>jmatthew</name>
<email>jmatthew@openbsd.org</email>
</author>
<published>2018-05-28T03:20:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4f3262728f75ab09c39d31185a1ebdf9938b762e'/>
<id>urn:sha1:4f3262728f75ab09c39d31185a1ebdf9938b762e</id>
<content type='text'>
so passing "nan" and "-nan" produces a NaN with the right sign.
Bug reported and diff provided by George Koehler.
ok kettenis@
</content>
</entry>
<entry>
<title>Instead of trying to handle ffs() with the normal rename-mark-hidden-and-alias</title>
<updated>2018-01-18T08:23:44Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2018-01-18T08:23:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ae3cb403620ab940fbaabb3055fac045a63d56b7'/>
<id>urn:sha1:ae3cb403620ab940fbaabb3055fac045a63d56b7</id>
<content type='text'>
dance, mark it protected.  This works better for both gcc and clang: gcc
blocks overriding of internal calls, while clang permits inlining again.

ok otto@
</content>
</entry>
<entry>
<title>Copy files from ../librthread in preparation for moving functionality</title>
<updated>2017-08-15T06:13:24Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-08-15T06:13:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7e321ac128fdcd388c62dfa54aca790ebbd73ce1'/>
<id>urn:sha1:7e321ac128fdcd388c62dfa54aca790ebbd73ce1</id>
<content type='text'>
from libpthread to libc.  No changes to the build yet, just making it
easier to review the substantive diffs.

ok beck@ kettenis@ tedu@
</content>
</entry>
<entry>
<title>RELRO means the __{got,plt}_{start,end} symbols are superfluous</title>
<updated>2017-02-27T07:15:22Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-02-27T07:15:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=02543f93d91566c7d63b279168a8a5df095e207d'/>
<id>urn:sha1:02543f93d91566c7d63b279168a8a5df095e207d</id>
<content type='text'>
ok kettenis@
</content>
</entry>
<entry>
<title>Wrap fpgetround() so internal calls to it (seen on arm, powerpc, and sh)</title>
<updated>2016-07-26T19:07:09Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-07-26T19:07:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=29cc2a2d1d99869c4cfa9c708e043103e2d7d805'/>
<id>urn:sha1:29cc2a2d1d99869c4cfa9c708e043103e2d7d805</id>
<content type='text'>
go direct instead of through the PLT.

ok millert@ kettenis@
</content>
</entry>
<entry>
<title>...and delete the GP setup.  Should have been in previous commit</title>
<updated>2016-05-16T16:25:06Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-05-16T16:25:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=19c8d385c9fd97b9106fa8747ef413f4ae026b72'/>
<id>urn:sha1:19c8d385c9fd97b9106fa8747ef413f4ae026b72</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Eliminate cerror: use PAL_rdunique to get the TCB address directly</title>
<updated>2016-05-16T16:20:58Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-05-16T16:20:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=adca6c91ab6a27e87d4c7f763f08e16a9322cdcf'/>
<id>urn:sha1:adca6c91ab6a27e87d4c7f763f08e16a9322cdcf</id>
<content type='text'>
ok deraadt@ kettenis@
</content>
</entry>
</feed>
