<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libc/net, branch libressl-v3.2.7</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.2.7</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.2.7'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2020-07-06T13:33:06+00:00</updated>
<entry>
<title>Add support for timeconting in userland.</title>
<updated>2020-07-06T13:33:06+00:00</updated>
<author>
<name>pirofti</name>
<email></email>
</author>
<published>2020-07-06T13:33:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0320e8b397405d62725b086d54c65caf0669f919'/>
<id>urn:sha1:0320e8b397405d62725b086d54c65caf0669f919</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>A comma is not appropriate here, use a semicolon</title>
<updated>2020-04-25T21:06:17+00:00</updated>
<author>
<name>jca</name>
<email></email>
</author>
<published>2020-04-25T21:06:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5ac285f9542fbaa83f719d92c31dc7540b6aa10b'/>
<id>urn:sha1:5ac285f9542fbaa83f719d92c31dc7540b6aa10b</id>
<content type='text'>
Suggested by Evan Silberman, confirmed by jmc@
</content>
</entry>
<entry>
<title>Discourage use of RES_USE_INET6</title>
<updated>2020-04-25T16:23:59+00:00</updated>
<author>
<name>jca</name>
<email></email>
</author>
<published>2020-04-25T16:23:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a6b45674e18ab9626e7297f2b5433e1bc495a0e1'/>
<id>urn:sha1:a6b45674e18ab9626e7297f2b5433e1bc495a0e1</id>
<content type='text'>
Suggested by eric@, input from deraadt@, ok deraadt@ eric@
</content>
</entry>
<entry>
<title>Fix RES_USE_INET6 description</title>
<updated>2020-04-25T14:30:05+00:00</updated>
<author>
<name>jca</name>
<email></email>
</author>
<published>2020-04-25T14:30:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=93346054dd85553cc13072024267ff8ceb9dfd19'/>
<id>urn:sha1:93346054dd85553cc13072024267ff8ceb9dfd19</id>
<content type='text'>
The previous wording implied this option does nothing, which is wrong.
This option does affect the way gethostbyname(3) works on OpenBSD
(return IPv6 addresses if available).  On some systems, it also
introduces IPv4-mapped IPv6 addresses, a "feature" that we don't
support.

ok deraadt@ eric@
</content>
</entry>
<entry>
<title>delete wasteful ;;</title>
<updated>2020-01-22T07:52:37+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2020-01-22T07:52:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d11202953908da685df33971733b768f6dd1b5f7'/>
<id>urn:sha1:d11202953908da685df33971733b768f6dd1b5f7</id>
<content type='text'>
ok tedu
</content>
</entry>
<entry>
<title>mop up resolver.3 rename; ok deraadt</title>
<updated>2019-08-30T20:20:51+00:00</updated>
<author>
<name>jmc</name>
<email></email>
</author>
<published>2019-08-30T20:20:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b0f0fa2ffa3c9540cfd08821cf6c83d4254ea762'/>
<id>urn:sha1:b0f0fa2ffa3c9540cfd08821cf6c83d4254ea762</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mop up for inet_net rename; ok deraadt</title>
<updated>2019-08-30T20:06:07+00:00</updated>
<author>
<name>jmc</name>
<email></email>
</author>
<published>2019-08-30T20:06:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=50afe9f297cae504a291280f90e64160250857e0'/>
<id>urn:sha1:50afe9f297cae504a291280f90e64160250857e0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move 4 manual pages from not-a-function filenames to a correct filename,</title>
<updated>2019-08-30T18:33:17+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2019-08-30T18:33:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=866a264a895fc2596c946fa5da0a02fd4f740319'/>
<id>urn:sha1:866a264a895fc2596c946fa5da0a02fd4f740319</id>
<content type='text'>
and correct Xr.
ok jmc
</content>
</entry>
<entry>
<title>snprintf/vsnprintf return &lt; 0 on error, rather than -1.</title>
<updated>2019-07-03T03:24:04+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2019-07-03T03:24:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bdd1c0627cbfd4015db19da84ab1a24f50d9f6dc'/>
<id>urn:sha1:bdd1c0627cbfd4015db19da84ab1a24f50d9f6dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>When system calls indicate an error they return -1, not some arbitrary</title>
<updated>2019-06-28T13:35:02+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2019-06-28T13:35:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=835d788017c49be8b4986b0f04686da55f2cd0da'/>
<id>urn:sha1:835d788017c49be8b4986b0f04686da55f2cd0da</id>
<content type='text'>
value &lt; 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
</content>
</entry>
</feed>
