OpenBSD cvs log

created 2020-03-07T19:07:57Z
begin 2020-03-04T00:00:00Z
end 2020-03-05T00:00:00Z
path src/sys
commits 8

date 2020-03-04T08:04:48Z
author anton
files src/sys/kern/sysv_shm.c log diff annotate
message Grab a reference for the shared memory segment before calling uvm_map()
as the same function could end up putting the thread to sleep. Allowing
another thread to free the shared memory segment, which in turns causes
a use-after-free.

With help from and ok millert@ visa@

Reported-by: [email protected]

date 2020-03-04T13:27:10Z
author anton
files src/sys/kern/vfs_bio.c log diff annotate
message Make an assertion free from side effects. The intention was probably to
assert that the wire count is equal to 1 and not unconditionally set it
to 1.

ok kettenis@ mpi@

date 2020-03-04T13:38:22Z
author kettenis
files src/sys/dev/fdt/rkdwhdmi.c log diff annotate
src/sys/dev/ic/dwhdmi.c log diff annotate
src/sys/dev/ic/dwhdmi.h log diff annotate
message Restrict modes to those with an actually supported pixel clock.

ok patrick@

date 2020-03-04T21:15:38Z
author kettenis
files src/sys/uvm/uvm_map.c log diff annotate
message Do not count pages mapped as PROT_NONE against the RLIMIT_DATA limit.
Instead count (and check the limit) when their protection gets flipped
from PROT_NONE to something that permits access. This means that
mprotect(2) may now fail if changing the protection would exceed RLIMIT_DATA.

This helps code (such as Chromium's JavaScript interpreter that reserves
large chunks of address space but populates it sparsely.

ok deraadt@, otto@, kurt@, millert@, robert@

date 2020-03-04T21:15:39Z
author kettenis
files src/sys/uvm/uvm_mmap.c log diff annotate
message Do not count pages mapped as PROT_NONE against the RLIMIT_DATA limit.
Instead count (and check the limit) when their protection gets flipped
from PROT_NONE to something that permits access. This means that
mprotect(2) may now fail if changing the protection would exceed RLIMIT_DATA.

This helps code (such as Chromium's JavaScript interpreter that reserves
large chunks of address space but populates it sparsely.

ok deraadt@, otto@, kurt@, millert@, robert@

date 2020-03-04T21:19:15Z
author kettenis
files src/sys/dev/fdt/rkdrm.c log diff annotate
src/sys/dev/pci/drm/drm_drv.c log diff annotate
src/sys/dev/pci/drm/drm_gem_cma_helper.c log diff annotate
src/sys/dev/pci/drm/include/drm/drmP.h log diff annotate
src/sys/dev/pci/drm/include/drm/drm_gem_cma_helper.h log diff annotate
message Properly implement the page fault handler for CMA GEM buffers and actually
make drm(4) attach to rkdrm(4). This makes KMS work on the RK3399 SoC.

ok patrick@

date 2020-03-04T22:23:03Z
author patrick
files src/sys/arch/arm64/conf/GENERIC log diff annotate
message Enable all the Rockchip video drivers!

Asked to do the honors by and ok kettenis@

date 2020-03-04T23:19:58Z
author cheloha
files src/sys/dev/ic/i82365.c log diff annotate
message fix typo in previous