OpenBSD cvs log

created 2019-07-03T22:41:08Z
begin 2019-06-23T00:00:00Z
end 2019-06-24T00:00:00Z
path src/sys
commits 6

date 2019-06-23T12:56:10Z
author kettenis
files src/sys/kern/kern_task.c log diff annotate
src/sys/sys/task.h log diff annotate
message Make taskq_barrier(9) work for multi-threaded task queues.

ok visa@

date 2019-06-23T15:26:42Z
author visa
files src/sys/arch/mips64/mips64/pmap.c log diff annotate
message Invalidate icache when changing mapping

On octeon, the instruction cache appears to fulfill instruction fetches
on icache hit even if the virtual address mapping no longer exists or
does not allow execution. Prevent running of lingering instructions
by invalidating the icache when changing a mapping that has previously
been executable.

This fix is somewhat rough and relies on the availability of the XI bit.

date 2019-06-23T15:41:00Z
author kettenis
files src/sys/arch/arm64/dev/agintc.c log diff annotate
message The MAPTI command has no valid bit. Pointed out by Jared McNeill.

ok patrick@

date 2019-06-23T16:57:00Z
author deraadt
files src/sys/sys/sysctl.h log diff annotate
message Export unveil state so that ps(8) can show it. Two new status flags,
you'll see one, or neither.
'u' - process installed unveils, but not yet locked with unveil(0,0)
or pledge w/o "unveil"
'U' - process has installed unveils, and locked.
ok rob

date 2019-06-23T17:14:49Z
author kettenis
files src/sys/arch/arm64/arm64/cpu.c log diff annotate
message Sort operatinmg points by (increasing) frequency.

ok patrick@

date 2019-06-23T17:18:50Z
author deraadt
files src/sys/sys/sysctl.h log diff annotate
message add "ps -o pledge" option, which prints a comma-seperated list of pledges
active on each process. So go forth and "ps agux -o pledge" to find pledges
which can be improved.

(I hesitated adding this before because I am afraid of people
enforcing extra-strict pledge in programs without testing all the use
cases -- thereby breaking software).