<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/sys, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/sys?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/sys?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2021-03-09T15:08:23Z</updated>
<entry>
<title>Early daemons like dhcpleased(8), slaacd(8), unwind(8), resolvd(8)</title>
<updated>2021-03-09T15:08:23Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2021-03-09T15:08:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5fc6fc53eed51b106058ed08dbfbec744f12aebd'/>
<id>urn:sha1:5fc6fc53eed51b106058ed08dbfbec744f12aebd</id>
<content type='text'>
are started before syslogd(8).  This resulted in ugly sendsyslog(2)
dropped logs and the real message was lost.
Create a temporary stash for log messages within the kernel.  It
has a limited size of 100 messages, and each message is truncated
to 8192 bytes.  When the stash is exhausted, the well-known dropped
message is generated with a counter.  After syslogd(8) has setup
everything, it sends a debug line through libc to flush the kernel
stash.  Then syslogd receives all messages from the kernel before
the usual logs.
OK deraadt@ visa@
</content>
</entry>
<entry>
<title>document ENOTSUP wxallowed/wxneeded behaviour more clearly; ok kurt</title>
<updated>2021-03-02T17:43:04Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2021-03-02T17:43:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fd874303f21d95e37c4b1c2e7e2d403ce351bd90'/>
<id>urn:sha1:fd874303f21d95e37c4b1c2e7e2d403ce351bd90</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Referece trpt(8) from the SO_DEBUG section of getsockopt(2).</title>
<updated>2021-02-04T18:51:01Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2021-02-04T18:51:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=25c653a31002f33b0f9f406fd0ae4377b1a9959a'/>
<id>urn:sha1:25c653a31002f33b0f9f406fd0ae4377b1a9959a</id>
<content type='text'>
OK claudio@ visa@
</content>
</entry>
<entry>
<title>Missing return value; ok jmc@</title>
<updated>2021-01-20T19:44:48Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2021-01-20T19:44:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2e5c20414ff91e70d7dba4ec647a83703c5e31b2'/>
<id>urn:sha1:2e5c20414ff91e70d7dba4ec647a83703c5e31b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>kernel, sysctl(8): remove dead variable: tickadj</title>
<updated>2021-01-13T16:28:49Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2021-01-13T16:28:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9589ba9d8c337eade22f8e39fd77554e71d63034'/>
<id>urn:sha1:9589ba9d8c337eade22f8e39fd77554e71d63034</id>
<content type='text'>
The global "tickadj" variable is a remnant of the old NTP adjustment
code we used in the kernel before the current timecounter subsystem
was imported from FreeBSD circa 2004 or 2005.

Fifteen years hence it is completely vestigial and we can remove it.
We probably should have removed it long ago but I guess it slipped
through the cracks.  FreeBSD removed it in 2002:

https://cgit.freebsd.org/src/commit/?id=e1d970f1811e5e1e9c912c032acdcec6521b2a6d

NetBSD and DragonflyBSD can probably remove it, too.

We export tickadj via the kern.clockrate sysctl(2), so update sysctl.2
and sysctl(8) accordingly.  Hypothetically this change could break
someone's sysctl(8) parsing script.  I don't think that's very likely.

ok mvs@
</content>
</entry>
<entry>
<title>Make consistent reference to pathname.</title>
<updated>2021-01-03T18:10:27Z</updated>
<author>
<name>rob</name>
<email>rob@openbsd.org</email>
</author>
<published>2021-01-03T18:10:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e992327fc31d0277a6f8518613a7db1b9face78b'/>
<id>urn:sha1:e992327fc31d0277a6f8518613a7db1b9face78b</id>
<content type='text'>
OK schwarze@, jmc@, deraadt@
</content>
</entry>
<entry>
<title>Document kern.video.record.</title>
<updated>2020-12-29T12:28:23Z</updated>
<author>
<name>mglocker</name>
<email>mglocker@openbsd.org</email>
</author>
<published>2020-12-29T12:28:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=cdf311310f1bca9abe45729faa364c27320bf917'/>
<id>urn:sha1:cdf311310f1bca9abe45729faa364c27320bf917</id>
<content type='text'>
With help/input from jmc@ and kn@.

ok jmc@
</content>
</entry>
<entry>
<title>EVFILT_EXCEPT operates on sockets (emil engler)</title>
<updated>2020-11-14T10:16:15Z</updated>
<author>
<name>jmc</name>
<email>jmc@openbsd.org</email>
</author>
<published>2020-11-14T10:16:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7447bb90f625d7cb6f76e9f039c21a8128bcb1e0'/>
<id>urn:sha1:7447bb90f625d7cb6f76e9f039c21a8128bcb1e0</id>
<content type='text'>
or pseudo terminals (visa);

ok mpi visa
</content>
</entry>
<entry>
<title>double word fixes;</title>
<updated>2020-11-05T16:04:39Z</updated>
<author>
<name>jmc</name>
<email>jmc@openbsd.org</email>
</author>
<published>2020-11-05T16:04:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d50eda91847a59e3a1c927321b76844c4742de60'/>
<id>urn:sha1:d50eda91847a59e3a1c927321b76844c4742de60</id>
<content type='text'>
</content>
</entry>
<entry>
<title>clock_gettime.2: overhaul manpage</title>
<updated>2020-10-25T00:54:51Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2020-10-25T00:54:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=018d9bc21737ff29df69832acedefe06041857b4'/>
<id>urn:sha1:018d9bc21737ff29df69832acedefe06041857b4</id>
<content type='text'>
The clock_gettime.2 page is clumsy.  It will be easier to use if it is
reorganized to emphasize clock_gettime(2), a general and widely used
interface, over clock_settime(2), a special-purpose and rarely used
interface.

While doing that I found a bunch of other things I wanted to tweak
or improve:

- Simplify the NAME summary.  No need to mention "calibration" or "date".
- "now", "res", and "clock" are better argument names than "tp"
  and "clock_id".
- The CLOCK_* list is a bunch of fragments.  Rewrite the list to
  make it easier to understand what the clocks represent and how
  they behave.
- Mention clock_settime(2) *after* the list of clocks.  Almost nobody
  needs to use it.  It shouldn't lead the page alongside clock_gettime(2).
- Drop the adjtime(2) reference.  We could mention it in a CAVEATS
  section but it definitely doesn't belong here in the DESCRIPTION.
- Drop the useless init(8) reference.
- Add a bunch of EXAMPLES demonstrating how to actually use each clock.
- Clean up the ERRORS.
- Update the cross references.
- Add a HISTORY for the interfaces and each clock.

High-level structural ideas from jmc@ and schwarze@.  Edited by jmc@.

ok jmc@, probably ok schwarze@
</content>
</entry>
</feed>
