<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/share/mk/bsd.lib.mk, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/share/mk/bsd.lib.mk?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/share/mk/bsd.lib.mk?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-05-26T17:44:23Z</updated>
<entry>
<title>The EXCLUDE_REGEX needs some tweaking for 6.6 and 6.7 syspatch builds.</title>
<updated>2020-05-26T17:44:23Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2020-05-26T17:44:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=93d663b312f0726d57c052cef24e7209031180b7'/>
<id>urn:sha1:93d663b312f0726d57c052cef24e7209031180b7</id>
<content type='text'>
ok robert
</content>
</entry>
<entry>
<title>new variable NOLIBSTATIC= prevents installation of a static library,</title>
<updated>2019-04-02T12:55:05Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-04-02T12:55:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fac73c73f4589c9cc4ac1fdb4c11c1065012f818'/>
<id>urn:sha1:fac73c73f4589c9cc4ac1fdb4c11c1065012f818</id>
<content type='text'>
in cases where you don't want it installed, or it isn't built.
ok jsg
</content>
</entry>
<entry>
<title>Remove commented-out historical ranlib operation, which would be</title>
<updated>2019-04-02T11:30:07Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-04-02T11:30:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a3594efadc28c803f6fd5b0a72540efd52d01641'/>
<id>urn:sha1:a3594efadc28c803f6fd5b0a72540efd52d01641</id>
<content type='text'>
duplicate work.
</content>
</entry>
<entry>
<title>Remove -S from install commands</title>
<updated>2019-02-24T12:57:13Z</updated>
<author>
<name>kn</name>
<email>kn@openbsd.org</email>
</author>
<published>2019-02-24T12:57:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d125f36660e746ef78f30e303c3b69861c0c6aaa'/>
<id>urn:sha1:d125f36660e746ef78f30e303c3b69861c0c6aaa</id>
<content type='text'>
As of usr.bin/xinstall/install.c revision 1.68, -S is a no-op and
install(1) will always create files safely, thus clean the option usage
from the tree.

Diff from Lauri Tirkkonen &lt;lotheac at iki dot fi&gt;, thanks.
</content>
</entry>
<entry>
<title>when building syspatches with lld exclude more non-existent object files</title>
<updated>2019-02-20T08:51:09Z</updated>
<author>
<name>robert</name>
<email>robert@openbsd.org</email>
</author>
<published>2019-02-20T08:51:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=84d34c3af18d8e33e09768bf181d6617941bfcea'/>
<id>urn:sha1:84d34c3af18d8e33e09768bf181d6617941bfcea</id>
<content type='text'>
ok ajacoutot@, tb@
</content>
</entry>
<entry>
<title>During build, delete all old library relink files to save disk space.</title>
<updated>2019-02-11T17:53:00Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-02-11T17:53:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1eb3bc347a5431b278a3f792ecda77749f7fbe98'/>
<id>urn:sha1:1eb3bc347a5431b278a3f792ecda77749f7fbe98</id>
<content type='text'>
It is not typical for "make build" to do pruning of the base system, but
... not sure where else we can do this
ok kettenis
</content>
</entry>
<entry>
<title>Define SOLIB when assembling for a shared-object library</title>
<updated>2018-12-30T21:55:07Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2018-12-30T21:55:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=40386848786ba37e3be796c27fd745ce9223fa19'/>
<id>urn:sha1:40386848786ba37e3be796c27fd745ce9223fa19</id>
<content type='text'>
ok tedu@
</content>
</entry>
<entry>
<title>Ensure that the install media are built with a consistent set of</title>
<updated>2018-10-18T14:25:14Z</updated>
<author>
<name>naddy</name>
<email>naddy@openbsd.org</email>
</author>
<published>2018-10-18T14:25:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=24a45e1d21b3bcd575dc9946cfef718801289ebb'/>
<id>urn:sha1:24a45e1d21b3bcd575dc9946cfef718801289ebb</id>
<content type='text'>
compiler flags.  Pass DIST_CFLAGS from the crunchgen-generated .mk
file.

Compile the install media with -fno-unwind-tables to avoid emitting
.eh_frame sections.  This saves substantial space on amd64.

with/ok kettenis@
</content>
</entry>
<entry>
<title>Add RETGUARD to clang for amd64. This security mechanism uses per-function</title>
<updated>2018-06-06T00:14:29Z</updated>
<author>
<name>mortimer</name>
<email>mortimer@openbsd.org</email>
</author>
<published>2018-06-06T00:14:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e688c2b0648a80551cf7353d9f455c7cbb98f13c'/>
<id>urn:sha1:e688c2b0648a80551cf7353d9f455c7cbb98f13c</id>
<content type='text'>
random cookies to protect access to function return instructions, with the
effect that the integrity of the return address is protected, and function
return instructions are harder to use in ROP gadgets.

On function entry the return address is combined with a per-function random
cookie and stored in the stack frame. The integrity of this value is verified
before function return, and if this check fails, the program aborts. In this way
RETGUARD is an improved stack protector, since the cookies are per-function. The
verification routine is constructed such that the binary space immediately
before each ret instruction is padded with int03 instructions, which makes these
return instructions difficult to use in ROP gadgets. In the kernel, this has the
effect of removing approximately 50% of total ROP gadgets, and 15% of unique
ROP gadgets compared to the 6.3 release kernel. Function epilogues are
essentially gadget free, leaving only the polymorphic gadgets that result from
jumping into the instruction stream partway through other instructions. Work to
remove these gadgets will continue through other mechanisms.

Remaining work includes adding this mechanism to assembly routines, which must
be done by hand. Many thanks to all those who helped test and provide feedback,
especially deaadt, tb, espie and naddy.

ok deraadt@
</content>
</entry>
<entry>
<title>Set soname when building shared libraries.</title>
<updated>2017-11-14T10:02:56Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2017-11-14T10:02:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=56074f6a794d715bd8b269105e2be02b18e164d5'/>
<id>urn:sha1:56074f6a794d715bd8b269105e2be02b18e164d5</id>
<content type='text'>
ok guenther@
</content>
</entry>
</feed>
