<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/sys/stack_protector.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/sys/stack_protector.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/sys/stack_protector.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2017-11-29T05:13:57Z</updated>
<entry>
<title>clang doesn't propagate attributes like "asm labels" and "visibility(hidden)"</title>
<updated>2017-11-29T05:13:57Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-11-29T05:13:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ea6088e7d368d53c49ebfdf4520275cec2f78f5b'/>
<id>urn:sha1:ea6088e7d368d53c49ebfdf4520275cec2f78f5b</id>
<content type='text'>
to builtins like mem{set,cpy,move} and __stack_smash_handler.  So, when
building with clang, instead mark those as protected visibility to get rid
of the PLT relocations.  We can't take the address of them then, but that's
ok: it's a build-time error not a run-time error.

ok kettenis@
</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>use strlcat instead of strlcpy with modified arguments. ok deraadt@</title>
<updated>2015-12-01T17:05:25Z</updated>
<author>
<name>canacar</name>
<email>canacar@openbsd.org</email>
</author>
<published>2015-12-01T17:05:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2282c45e4851e04974b8eb804bb5490e29a61b45'/>
<id>urn:sha1:2282c45e4851e04974b8eb804bb5490e29a61b45</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rather than using syslog(3) (which pulls in snprintf), creating the report</title>
<updated>2015-11-25T00:16:40Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-11-25T00:16:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0e278963f8f4a4e987b326a4bf9030162061a41e'/>
<id>urn:sha1:0e278963f8f4a4e987b326a4bf9030162061a41e</id>
<content type='text'>
string using simpler strings functions and use sendsyslog2() directly.
Also, use the LOG_CONS flag so that single-user reports are more clear.
Use a buffer size of 1024 (from bluhm)
discussed with guenther and matthew
ok millert
</content>
</entry>
<entry>
<title>Split the intra-thread functionality from kill(2) into its own syscall</title>
<updated>2015-11-10T04:30:59Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-11-10T04:30:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=60d4950662688e997ad441a67807aa227b539842'/>
<id>urn:sha1:60d4950662688e997ad441a67807aa227b539842</id>
<content type='text'>
thrkill(2), rolling the kill(2) syscall number with the ABI change to
avoid breaking binaries during during the transition.  thrkill(2) includes
a 'tcb' argument that eliminates the need for locking in pthread_kill()
and simplifies pthread_cancel().  Switch __stack_smash_handler() to use
thrkill(2) and explicitly unblock SIGABRT.

Minor bump to both libc and libpthread: make sure you install a new kernel!

ok semarie@
</content>
</entry>
<entry>
<title>libc.so can't be unloaded, so move the hidden atexit() and pthread_atfork()</title>
<updated>2015-11-10T04:14:03Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-11-10T04:14:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6897476f8d3f1ad745809cc8163365f785e57a2d'/>
<id>urn:sha1:6897476f8d3f1ad745809cc8163365f785e57a2d</id>
<content type='text'>
stubs for the executable from crtbegin.o into libc, which lets them be
excluded from static links that don't use them.
For this, drop the normal crt{begin,end}S.o from libc.so: the .init and .fini
sections for libc aren't called at the right times anyway, so it's good that
they're unused.  libc.so just needs __guard_local and the .note.openbsd.ident
section, so add them to stack_protector.c for now (this will be improved)

"good time" deraadt@
</content>
</entry>
<entry>
<title>Pull in namespace.h when building all .c files using gcc's -include option,</title>
<updated>2015-09-10T18:13:46Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-09-10T18:13:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e6f98e3a163d69d2a20131b8c80e6fad49fe7683'/>
<id>urn:sha1:e6f98e3a163d69d2a20131b8c80e6fad49fe7683</id>
<content type='text'>
so that we can provide asm labels for the memcpy/memset/__stack_smash_handler
calls that it generates ab initio.  Eliminate direct #includes of it.  Make
sure it's a dependency of all objects (unnecessary for asm, but close enough).

ok deraadt@
</content>
</entry>
<entry>
<title>Move to the &lt;limits.h&gt; universe.</title>
<updated>2015-01-16T16:48:51Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-01-16T16:48:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=aea60bee5e9bad0aab62f480f19c2fb34c068de4'/>
<id>urn:sha1:aea60bee5e9bad0aab62f480f19c2fb34c068de4</id>
<content type='text'>
review by millert, binary checking process with doug, concept with guenther
</content>
</entry>
<entry>
<title>Do not need __guard[] anymore since we are now relying on __guard_local</title>
<updated>2013-12-28T18:42:42Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2013-12-28T18:42:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b42c354f9d2b5ded302c9a6495f932144a89e87e'/>
<id>urn:sha1:b42c354f9d2b5ded302c9a6495f932144a89e87e</id>
<content type='text'>
for a while already
ok miod kettenis
</content>
</entry>
</feed>
