<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/stdio/vasprintf.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/stdio/vasprintf.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/stdio/vasprintf.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-01-25T00:19:25Z</updated>
<entry>
<title>I am retiring my old email address;  replace it with my OpenBSD one.</title>
<updated>2019-01-25T00:19:25Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2019-01-25T00:19:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=bf198cc6eba0ca1f6d79f71e8e2243d386241fa8'/>
<id>urn:sha1:bf198cc6eba0ca1f6d79f71e8e2243d386241fa8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use recallocarray() to avoid leaving detritus in memory when resizing</title>
<updated>2017-03-17T14:53:08Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2017-03-17T14:53:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=977aa0f22cea0809e6a84289ed753ba3f0b53fa7'/>
<id>urn:sha1:977aa0f22cea0809e6a84289ed753ba3f0b53fa7</id>
<content type='text'>
buffers.  We don't bother doing this for objects containing pointers,
but focus on controllable data.
ok millert
</content>
</entry>
<entry>
<title>Only reallocate the buffer to fit for medium-size allocations where</title>
<updated>2017-03-16T14:32:02Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2017-03-16T14:32:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2abfd297431aae8f6c9b952fbefe1d953c3ffdaa'/>
<id>urn:sha1:2abfd297431aae8f6c9b952fbefe1d953c3ffdaa</id>
<content type='text'>
we expanded the buffer to a single page.  The final realloc() can
be expensive for large buffers and is not realled needed.  OK deraadt@
</content>
</entry>
<entry>
<title>Use a macro for the initial length of the buffer instead of 127; OK deraadt@</title>
<updated>2017-03-14T16:46:05Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2017-03-14T16:46:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=327226135d5332449d5471b2002b4524f95811ff'/>
<id>urn:sha1:327226135d5332449d5471b2002b4524f95811ff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove NULL-checks before free() and a few related dead assignments.</title>
<updated>2015-12-28T22:08:18Z</updated>
<author>
<name>mmcc</name>
<email>mmcc@openbsd.org</email>
</author>
<published>2015-12-28T22:08:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b4c66e9d35799de272ab90c8189d8cc311f97053'/>
<id>urn:sha1:b4c66e9d35799de272ab90c8189d8cc311f97053</id>
<content type='text'>
ok and valuable input from millert@
</content>
</entry>
<entry>
<title>Add framework for resolving (pun intended) libc namespace issues, using</title>
<updated>2015-08-31T02:53:56Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-08-31T02:53:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9b9d2a55a62c8e82206c25f94fcc7f4e2765250e'/>
<id>urn:sha1:9b9d2a55a62c8e82206c25f94fcc7f4e2765250e</id>
<content type='text'>
wrapper .h files and asm labels to let internal calls resolve directly and
not be overridable or use the PLT.  Then, apply that framework to most of
the functions in stdio.h, string.h, err.h, and wchar.h.  Delete the
should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here.

tests clean on i386, amd64, sparc64, powerpc, and mips64

naming feedback from kettenis@ and millert@
ok kettenis@
</content>
</entry>
<entry>
<title>All these files include &lt;stdlib.h&gt;, so do not need to cast</title>
<updated>2015-08-20T21:49:29Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-08-20T21:49:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fa713987d76a93563f4184563f8d4ffc677f4041'/>
<id>urn:sha1:fa713987d76a93563f4184563f8d4ffc677f4041</id>
<content type='text'>
malloc/calloc/realloc* returns.
</content>
</entry>
<entry>
<title>Fix the handle locking in stdio to use flockfile/funlockfile</title>
<updated>2009-11-09T00:18:27Z</updated>
<author>
<name>kurt</name>
<email>kurt@openbsd.org</email>
</author>
<published>2009-11-09T00:18:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c5acf43a359ac8e21498420ba26e0d56c2821a31'/>
<id>urn:sha1:c5acf43a359ac8e21498420ba26e0d56c2821a31</id>
<content type='text'>
internally when and where required.  Macros in &lt;stdio.h&gt; are updated
to automatically call the underlying functions when the process is
threaded to obtain the necessary locking.  A private mutex is added
to protect __sglue, the internal list of FILE handles, and another
to protect the one-time initialization.  Some routines in libc that
use getc() change to use getc_unlocked() as they're either protected
by their own lock or aren't thread-safe routines anyway.

committing on behalf of and okay guenther@ now that we have install
media space available.
</content>
</entry>
<entry>
<title>Back out previous commit, as it caused too much growth for the install</title>
<updated>2009-10-22T01:23:16Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2009-10-22T01:23:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7ff09c5c6c97039a5c7f7864c46007f47d652b03'/>
<id>urn:sha1:7ff09c5c6c97039a5c7f7864c46007f47d652b03</id>
<content type='text'>
media to fit
</content>
</entry>
<entry>
<title>Fix the handle locking in stdio to use flockfile/funlockfile</title>
<updated>2009-10-21T16:04:23Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2009-10-21T16:04:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9962e7fd037872c423544f61cba1c901b045363a'/>
<id>urn:sha1:9962e7fd037872c423544f61cba1c901b045363a</id>
<content type='text'>
internally when and where required.  Macros in &lt;stdio.h&gt; are updated
to automatically call the underlying functions when the process is
threaded to obtain the necessary locking.  A private mutex is added
to protect __sglue, the internal list of FILE handles, and another
to protect the one-time initialization.  Some routines in libc that
use getc() change to use getc_unlocked() as they're either protected
by their own lock or aren't thread-safe routines anyway.

ok kurt@, earlier version tested by sthen@ and jj@
</content>
</entry>
</feed>
