<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/powerpc, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/powerpc?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/powerpc?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2021-03-15T15:49:20Z</updated>
<entry>
<title>Don't put an extern variable (ppc_kvm_stolen) into vmparam.h, other instances</title>
<updated>2021-03-15T15:49:20Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2021-03-15T15:49:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=08e7272b46eb3cbeff5e418de069c2be48ef04ab'/>
<id>urn:sha1:08e7272b46eb3cbeff5e418de069c2be48ef04ab</id>
<content type='text'>
of this file are only doing cpp #define
</content>
</entry>
<entry>
<title>spelling</title>
<updated>2021-03-11T11:16:54Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2021-03-11T11:16:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=36fd90dcf1acf2ddb4ef5dbabe5313b3a8d46ee2'/>
<id>urn:sha1:36fd90dcf1acf2ddb4ef5dbabe5313b3a8d46ee2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pmap_avail_setup() is the only place physmem is calculated, delete a bunch</title>
<updated>2021-03-10T07:28:19Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2021-03-10T07:28:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=14f9a22138b8eef9eaa876a7449bec53dd8f7d89'/>
<id>urn:sha1:14f9a22138b8eef9eaa876a7449bec53dd8f7d89</id>
<content type='text'>
of code which thinks it could be done elsewhere.
ok kurt
</content>
</entry>
<entry>
<title>Add retguard to macppc kernel locore.S, ofwreal.S, setjmp.S</title>
<updated>2020-11-28T19:49:30Z</updated>
<author>
<name>gkoehler</name>
<email>gkoehler@openbsd.org</email>
</author>
<published>2020-11-28T19:49:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=15572fcf8c6bfa0588565cd23f393a5a1499ea57'/>
<id>urn:sha1:15572fcf8c6bfa0588565cd23f393a5a1499ea57</id>
<content type='text'>
This changes RETGUARD_SETUP(ffs) to RETGUARD_SETUP(ffs, %r11, %r12)
and RETGUARD_CHECK(ffs) to RETGUARD_CHECK(ffs, %r11, %r12)
to show that r11 and r12 are in use between setup and check, and to
pick registers other than r11 and r12 in some kernel functions.

ok mortimer@ deraadt@
</content>
</entry>
<entry>
<title>uvm_grow() no longer needs the KERNEL_LOCK, bring it back to just</title>
<updated>2020-10-27T19:18:05Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-10-27T19:18:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7598ed2842b152b5e3ad2f077f25d95d298b2eff'/>
<id>urn:sha1:7598ed2842b152b5e3ad2f077f25d95d298b2eff</id>
<content type='text'>
around uvm_fault(), and slightly refactor code to be more like on
other architectures
</content>
</entry>
<entry>
<title>Retguard asm macros for powerpc libc, ld.so</title>
<updated>2020-10-26T22:07:05Z</updated>
<author>
<name>gkoehler</name>
<email>gkoehler@openbsd.org</email>
</author>
<published>2020-10-26T22:07:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d2c5a4743fb945f45b034a3a830a96f7e1bc695d'/>
<id>urn:sha1:d2c5a4743fb945f45b034a3a830a96f7e1bc695d</id>
<content type='text'>
Add retguard to some, but not all, asm functions in libc.  Edit SYS.h
in libc to remove the PREFIX macros and add SYSENTRY (more like
aarch64 and powerpc64), so we can insert RETGUARD_SETUP after
SYSENTRY.  Some .S files in this commit don't get retguard, but do
stop using the old prefix macros.

Tested by deraadt@, who put this diff in a macppc snap.
</content>
</entry>
<entry>
<title>mi_ast() should not use the old cpu, but the cpu (after potential sleep</title>
<updated>2020-09-24T20:22:50Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-09-24T20:22:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=279d7224b89de8f9b23b5bf98fc8f2b6a1ba151e'/>
<id>urn:sha1:279d7224b89de8f9b23b5bf98fc8f2b6a1ba151e</id>
<content type='text'>
in refreshcreds()
ok kettenis
</content>
</entry>
<entry>
<title>Only perform uvm_map_inentry() checks for PROC_SP for userland pagefaults.</title>
<updated>2020-09-24T17:54:28Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-09-24T17:54:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5e7211b0919c7cc85a1047c9978675dc186d7e71'/>
<id>urn:sha1:5e7211b0919c7cc85a1047c9978675dc186d7e71</id>
<content type='text'>
This should be sufficient for identifying pivoted ROP.  Doing so for other
traps is at best opportunistic for finding a straight-running ROP chain,
but the added (and rare) sleeping point has proven to be dangerous.
Discussed at length with kettenis and mortimer.
ok mortimer kettenis mpi
</content>
</entry>
<entry>
<title>Include &lt;sys/systm.h&gt; directly instead of relying on hidden UVM includes.</title>
<updated>2020-09-11T09:27:09Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2020-09-11T09:27:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=311b6aa824a006e2f436474d9ba54b31c6d40a20'/>
<id>urn:sha1:311b6aa824a006e2f436474d9ba54b31c6d40a20</id>
<content type='text'>
The header is being pulled via db_machdep.h -&gt; uvm_extern.h -&gt; uvm_map.h
</content>
</entry>
<entry>
<title>Push KERNEL_LOCK/UNLOCK() dance inside trapsignal().</title>
<updated>2020-08-19T10:10:57Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2020-08-19T10:10:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=726a21b09a68545ce072963e07cac351d5fdc85b'/>
<id>urn:sha1:726a21b09a68545ce072963e07cac351d5fdc85b</id>
<content type='text'>
ok kettenis@, visa@
</content>
</entry>
</feed>
