<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libc/net, branch libressl-v3.4.2</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.4.2</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.4.2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2021-09-01T15:59:22+00:00</updated>
<entry>
<title>inet_ntop(3) needs sys/socket.h for AF_INET / AF_INET6 so add the header</title>
<updated>2021-09-01T15:59:22+00:00</updated>
<author>
<name>claudio</name>
<email></email>
</author>
<published>2021-09-01T15:59:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ce20d9da7cf2b33fb5fe08a56d11a15d32fe0bb4'/>
<id>urn:sha1:ce20d9da7cf2b33fb5fe08a56d11a15d32fe0bb4</id>
<content type='text'>
to the list. While here remove some of the headers from inet_net_ntop(3)
for balance.
</content>
</entry>
<entry>
<title>Prevent an overflow in inet_net_pton(3) when the passed in buffer is</title>
<updated>2021-01-19T16:43:44+00:00</updated>
<author>
<name>florian</name>
<email></email>
</author>
<published>2021-01-19T16:43:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=abe4474fe83b5b1572f8cce65830046c69389bd1'/>
<id>urn:sha1:abe4474fe83b5b1572f8cce65830046c69389bd1</id>
<content type='text'>
too small in the AF_INET6 case.
Spotted by Brad House (brad AT brad-house.com) with the c-ares
regression test.

The man page says
     Caution: The dst field should be zeroed before calling inet_net_pton() as
     the function will only fill the number of bytes necessary to encode the
     network number in network byte order.

Which seems to suggest that the function should work if the passed in
storage is big enough to hold the prefix, which might be smaller than
sizeof(in6_addr).

Input &amp; OK tb
</content>
</entry>
<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>
</feed>
