<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/bin/date/date.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/bin/date/date.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/bin/date/date.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-08-08T02:17:51Z</updated>
<entry>
<title>date(1): remove -d dst and -t minutes_west</title>
<updated>2019-08-08T02:17:51Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2019-08-08T02:17:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8c02daa01e21b6e630e123942381843926bd172e'/>
<id>urn:sha1:8c02daa01e21b6e630e123942381843926bd172e</id>
<content type='text'>
Part of the kernel timezone removal effort.

With input from deraadt@ and tedu@.

"burn it!" mpi@, ok tedu@ deraadt@
</content>
</entry>
<entry>
<title>When system calls indicate an error they return -1, not some arbitrary</title>
<updated>2019-06-28T13:34:58Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-06-28T13:34:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3aaa63eb46949490a39db9c6d82aacc8ee5d8551'/>
<id>urn:sha1:3aaa63eb46949490a39db9c6d82aacc8ee5d8551</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>
<entry>
<title>add a -f pformat flag to parse the given time with strptime.</title>
<updated>2019-01-21T21:37:15Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2019-01-21T21:37:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3cdedcc696935ed42f26adf9d5c0998f2397130c'/>
<id>urn:sha1:3cdedcc696935ed42f26adf9d5c0998f2397130c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>The time-setting codepath can use pledge "settime" which was added for</title>
<updated>2018-04-25T19:37:09Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2018-04-25T19:37:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3c74b4939c11561afe6acd67f17a374ba300a79b'/>
<id>urn:sha1:3c74b4939c11561afe6acd67f17a374ba300a79b</id>
<content type='text'>
ntpd, but apparently date was never revisited.  "wpath" is for wtmp logging.
"rpath" for the case where -z argument isn't in the standard timezone dir.
discussed with tb and guenther
</content>
</entry>
<entry>
<title>atoll -&gt; strtonum</title>
<updated>2018-02-13T17:28:11Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2018-02-13T17:28:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3be3ac17e15fea8a29a59e1b9279f9a6455e07ae'/>
<id>urn:sha1:3be3ac17e15fea8a29a59e1b9279f9a6455e07ae</id>
<content type='text'>
ok millert@ tb@
</content>
</entry>
<entry>
<title>As we only use the .tv_sec field, simplify gettimeofday(2) -&gt; time(3).</title>
<updated>2017-12-23T20:58:14Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2017-12-23T20:58:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ed1d13df04198c8974c20dae7729d60fb8e0a117'/>
<id>urn:sha1:ed1d13df04198c8974c20dae7729d60fb8e0a117</id>
<content type='text'>
While here, use err(3) instead of errx(3) if adjtime(2) fails.

Discussed/tweaked with/by tb@ and jca@.

ok tb@ jca@
</content>
</entry>
<entry>
<title>Delete useless setlocale(3) in src/bin/.</title>
<updated>2016-10-19T18:20:25Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2016-10-19T18:20:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8351f622847848213a64cbaeb04b6f3bf1b79ae5'/>
<id>urn:sha1:8351f622847848213a64cbaeb04b6f3bf1b79ae5</id>
<content type='text'>
Minor cleanup while here: return from main, static void __dead usage, etc.
Based on a patch from Jan Stary &lt;hans at stare dot cz&gt;.
Feedback and OK tb@, OK millert@.
</content>
</entry>
<entry>
<title>Change all tame callers to namechange to pledge(2).</title>
<updated>2015-10-09T01:37:06Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-10-09T01:37:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0bd1216cbfac4316d823b5f086842b66ddea2018'/>
<id>urn:sha1:0bd1216cbfac4316d823b5f086842b66ddea2018</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tame "stdio rpath wpath".  rpath is for localtime() and mktime(),</title>
<updated>2015-10-07T05:59:36Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-10-07T05:59:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9dcdb68ee76edaf00293aa65ae1a34fb56b8dfe4'/>
<id>urn:sha1:9dcdb68ee76edaf00293aa65ae1a34fb56b8dfe4</id>
<content type='text'>
while wpath is for logwtmp(), a bit pessimistically since it is not clear
what could happen.
This is done AFTER the time is potentially set, since settimeofday() is
not available to us.  Improvements and tests would be welcome.
</content>
</entry>
<entry>
<title>FALLTHROUGH in getopt is incorrect.  While here use strtonum</title>
<updated>2015-04-17T16:47:47Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-04-17T16:47:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=788b78fc9032e594140598b6ce42e2f260db1f83'/>
<id>urn:sha1:788b78fc9032e594140598b6ce42e2f260db1f83</id>
<content type='text'>
to parse tz_minuteswest.
ok millert
</content>
</entry>
</feed>
