<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/gen/syslog_r.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/gen/syslog_r.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/gen/syslog_r.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2017-08-08T14:23:23Z</updated>
<entry>
<title>Kernel sendsyslog(2), libc syslog(3), and syslogd(8) restrict and</title>
<updated>2017-08-08T14:23:23Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2017-08-08T14:23:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e868d397dfe9a0ad08af2286a64c84f20225fb56'/>
<id>urn:sha1:e868d397dfe9a0ad08af2286a64c84f20225fb56</id>
<content type='text'>
truncate the length of a syslog message to 8192 bytes.  Use one
global define LOG_MAXLINE for all of them.
OK deraadt@ millert@
</content>
</entry>
<entry>
<title>Since sendsyslog(2) handles the LOG_CONS parameter, the variable</title>
<updated>2017-08-07T23:49:13Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2017-08-07T23:49:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e2b646928595d142ea0281d5bc8e9a93d471b504'/>
<id>urn:sha1:e2b646928595d142ea0281d5bc8e9a93d471b504</id>
<content type='text'>
conp in syslog(3) is unused.  Remove dead code.
OK jca@ deraadt@
</content>
</entry>
<entry>
<title>Rename TBUF_LEN and FMT_LEN to _SIZE as they contain a NUL byte.</title>
<updated>2017-07-20T16:58:25Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2017-07-20T16:58:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=600aaf0ece970f356e36c37a626bf6328d9fa4c6'/>
<id>urn:sha1:600aaf0ece970f356e36c37a626bf6328d9fa4c6</id>
<content type='text'>
Change FMT_SIZE to 1024+1 for consistency.  Do not loop over the
format string if there is no output space left.
OK deraadt@ millert@
</content>
</entry>
<entry>
<title>Use the reentrant strerror_r() instead of strerror() to expand %m.</title>
<updated>2016-10-19T16:09:24Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2016-10-19T16:09:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6ac5adf8471ec1c4d2d0eccf88866b4654fddb19'/>
<id>urn:sha1:6ac5adf8471ec1c4d2d0eccf88866b4654fddb19</id>
<content type='text'>
Previously, syslog_r() would avoid calling strerror() since the latter
is not reentrant.  OK bluhm@
</content>
</entry>
<entry>
<title>remove unused variable</title>
<updated>2016-03-27T16:28:56Z</updated>
<author>
<name>chl</name>
<email>chl@openbsd.org</email>
</author>
<published>2016-03-27T16:28:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9394dafdadfa55a2a635a21482c84bee3daaae76'/>
<id>urn:sha1:9394dafdadfa55a2a635a21482c84bee3daaae76</id>
<content type='text'>
ok millert@
</content>
</entry>
<entry>
<title>Rename the system call sendsyslog2 to sendsyslog.  Keep the old one</title>
<updated>2016-03-21T22:41:28Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2016-03-21T22:41:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=46afc4a47fab5533b885a0604dcf35228f31933f'/>
<id>urn:sha1:46afc4a47fab5533b885a0604dcf35228f31933f</id>
<content type='text'>
as osendsyslog for a while.  The three argument variant is the only
one that will stay.
input kettenis@;  OK deraadt@
</content>
</entry>
<entry>
<title>environ and __progname are not declared in a public header; declare them</title>
<updated>2016-03-13T18:34:20Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-03-13T18:34:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e422429247bd689ad82a15ebdacdfc785b980b1d'/>
<id>urn:sha1:e422429247bd689ad82a15ebdacdfc785b980b1d</id>
<content type='text'>
in libc's hidden/stdlib.h instead of in each .c file that needs one

ok deraadt@ gsoares@ mpi@
</content>
</entry>
<entry>
<title>Remove the "error" variable; we no longer fall back to writing to</title>
<updated>2016-02-19T23:49:38Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2016-02-19T23:49:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f96efd98d499e15da2203be9a3ad6133cb1e4702'/>
<id>urn:sha1:f96efd98d499e15da2203be9a3ad6133cb1e4702</id>
<content type='text'>
/dev/console so the value of "error" is never read.  Also mention
that sendsyslog2 can fail due to ENOBUFS in the comment.  OK deraadt@
</content>
</entry>
<entry>
<title>Add a syscall stub for sendsyslog2(2), and use it in syslog_r(3), passing</title>
<updated>2015-11-25T00:01:21Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-11-25T00:01:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c96b83afdd79382f9cb6af574ddea3e1bdf764f4'/>
<id>urn:sha1:c96b83afdd79382f9cb6af574ddea3e1bdf764f4</id>
<content type='text'>
LOG_CONS to the kernel.  As a result, the /dev/console opening code can
be removed.
ok kettenis millert beck
</content>
</entry>
<entry>
<title>Do not include a timestamp in the syslog message.  There is no need --</title>
<updated>2015-10-31T02:57:16Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-10-31T02:57:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1778bf5bfab38adeb6a507dfbd135daf8f1fbf3e'/>
<id>urn:sha1:1778bf5bfab38adeb6a507dfbd135daf8f1fbf3e</id>
<content type='text'>
syslogd will fill it in immediately upon reception on the other side of
sendsyslog(2).  Our libc only talks to our syslogd, which will fix the
timestamp before forwarding.  syslog_r has done this for a long time
already.
ok tedu bluhm
</content>
</entry>
</feed>
