<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/hidden, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/hidden?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/hidden?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-10-09T16:31:03Z</updated>
<entry>
<title>Correct error returns, do not print eror message to stdout (there</title>
<updated>2020-10-09T16:31:03Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2020-10-09T16:31:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4eced852f4647b762f7fdc2001aeeeaf25762d86'/>
<id>urn:sha1:4eced852f4647b762f7fdc2001aeeeaf25762d86</id>
<content type='text'>
is a dlerror() function for that) and mark dladdr() as PROTO_NORMAL
to be able to call it from a malloc.c MALLOC_STATS leak reporting
project I'm working on. ok kettenis@
</content>
</entry>
<entry>
<title>Partly revert previous commit, these changes we not supposed to go in.</title>
<updated>2020-10-09T16:08:18Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2020-10-09T16:08:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=311cf48f31eb1bae2643847d958041f83d71bc0a'/>
<id>urn:sha1:311cf48f31eb1bae2643847d958041f83d71bc0a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>As noted by tb@ previous commit only removed an unused fucntion.</title>
<updated>2020-10-09T16:01:48Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2020-10-09T16:01:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8d0b0dbd89d917f475263e4c5c2c9581814d6b2d'/>
<id>urn:sha1:8d0b0dbd89d917f475263e4c5c2c9581814d6b2d</id>
<content type='text'>
So redo previous commit properly:
Use random value for canary bytes; ok tb@.
</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>libc's authentication privsep layer performed insufficient username</title>
<updated>2019-12-04T09:50:47Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-12-04T09:50:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b458275529e8596f47627eed71b534f261a8b363'/>
<id>urn:sha1:b458275529e8596f47627eed71b534f261a8b363</id>
<content type='text'>
validation.  Repair work mostly by markus and millert, first of all
solving the primary problem, then adding some additional validation
points.  And then futher validation in login and su.
This will be 6.5/021_libcauth.patch.sig and 6.6/010_libcauth.patch.sig
Reported by Qualys
</content>
</entry>
<entry>
<title>Allow the caller of asr functions to create and use a specific context.</title>
<updated>2019-10-24T05:57:41Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2019-10-24T05:57:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=af4d66b37c7394d6b39d0566d15c37785a0448b1'/>
<id>urn:sha1:af4d66b37c7394d6b39d0566d15c37785a0448b1</id>
<content type='text'>
Diff from eric@ and florian@, commiting on their behalf since they are absent
and we want to ride the minor shlib bump.
</content>
</entry>
<entry>
<title>Complete the ld.so boot cleanup: move most libc initialization from</title>
<updated>2019-06-02T01:03:01Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2019-06-02T01:03:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5c7d06e56e289f4145af6fe3394d5d581f2679bd'/>
<id>urn:sha1:5c7d06e56e289f4145af6fe3394d5d581f2679bd</id>
<content type='text'>
_csu_finish() to _libc_preinit(), which is an .init_array function
in shared libc (and mark it INITFIRST) or a .preinit_array function
in static libc, grabbing the _dl_cb callback there from ld.so.  Then
in _csu_finish(), invoke the dl_clean_boot() callback to free ld.so's
startup bits before main() gets control.

Other cleanups this permits:
 - move various startup structures into .data.rel.ro
 - the dl* stubs in libc can be strong and call the callbacks provided
   via _dl_cb
 - no longer need to conditionalize dlctl() calls on presence of _DYNAMIC

original concept and full diff ok kettenis@
ok deraadt@
</content>
</entry>
<entry>
<title>Inroduce malloc_conceal() and calloc_conceal(). Similar to their</title>
<updated>2019-05-10T15:03:24Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2019-05-10T15:03:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e03a31515fc3008507a9ab3997d0ac6226da8bb6'/>
<id>urn:sha1:e03a31515fc3008507a9ab3997d0ac6226da8bb6</id>
<content type='text'>
counterparts but return memory in pages marked MAP_CONCEAL and on
free() freezero() is actually called.
</content>
</entry>
<entry>
<title>Move sigwait(3) from libpthread to libc</title>
<updated>2019-01-12T00:16:03Z</updated>
<author>
<name>jca</name>
<email>jca@openbsd.org</email>
</author>
<published>2019-01-12T00:16:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=13e54a3ce65615faaf13e4717a510eb52bfb2efe'/>
<id>urn:sha1:13e54a3ce65615faaf13e4717a510eb52bfb2efe</id>
<content type='text'>
POSIX wants it in libc, that's where the function can be found on other
systems.  Reported by naddy@, input from naddy@ and guenther@.
"looks ok" guenther@, ok deraadt@

Note: riding the libc/libpthread major cranks earlier today.
</content>
</entry>
<entry>
<title>mincore() is a relic from the past, exposing physical machine information</title>
<updated>2019-01-11T18:46:30Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-01-11T18:46:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=54e4f6b9a1dc183e1dc7c4a722c2646aa309246a'/>
<id>urn:sha1:54e4f6b9a1dc183e1dc7c4a722c2646aa309246a</id>
<content type='text'>
about shared resources which no program should see.  only a few pieces of
software use it, generally poorly thought out.  they are being fixed, so
mincore() can be deleted.
ok guenther tedu jca sthen, others
</content>
</entry>
</feed>
