OpenBSD cvs log

created 2019-05-04T02:40:00Z
begin 2017-10-24T00:00:00Z
end 2017-10-25T00:00:00Z
path src/sys
commits 9

date 2017-10-24T08:53:15Z
author mpi
files src/sys/kern/kern_rwlock.c log diff annotate
message Use membar_enter_after_atomic(9) amd membar_exit_before_atomic(9).

Micro-optimization useful to x86 archs where the cmpxchg{q,l} instruction
used by rw_enter(9) and rw_exit(9) already include an implicit memory
barrier.

From Mateusz Guzik, ok visa@, mikeb@, kettenis@

date 2017-10-24T08:57:10Z
author mpi
files src/sys/netinet/in.c log diff annotate
src/sys/netinet6/in6.c log diff annotate
src/sys/sys/sockio.h log diff annotate
message Remove support for never used ioctls originating from KAME.

ok florian@, claudio@, bluhm@

date 2017-10-24T09:30:15Z
author mpi
files src/sys/netinet/in.c log diff annotate
src/sys/netinet6/in6.c log diff annotate
message Remove some more tests checking for a non-NULL `ifp->if_ioctl'.

if_attach() enforces it is properly defined.

date 2017-10-24T09:36:13Z
author jsg
files src/sys/arch/octeon/dev/amdcf.c log diff annotate
src/sys/arch/octeon/dev/octcf.c log diff annotate
src/sys/dev/ata/wd.c log diff annotate
src/sys/dev/wscons/wsconsio.h log diff annotate
src/sys/net/if_ppp.h log diff annotate
src/sys/net80211/ieee80211_ioctl.h log diff annotate
src/sys/netinet6/in6_var.h log diff annotate
src/sys/sys/cdio.h log diff annotate
src/sys/sys/disklabel.h log diff annotate
src/sys/sys/dkio.h log diff annotate
src/sys/sys/sockio.h log diff annotate
message remove defines for ioctls the kernel doesn't recognise
ok mpi@

date 2017-10-24T14:49:29Z
author mikeb
files src/sys/netinet/tcp_input.c log diff annotate
src/sys/netinet/tcp_var.h log diff annotate
message Refactor handling of partial TCP acknowledgements

With input from Klemens Nanni, OK visa, mpi, bluhm

date 2017-10-24T17:00:34Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
src/sys/arch/armv7/conf/GENERIC log diff annotate
src/sys/arch/armv7/conf/RAMDISK log diff annotate
message Attach syscon(4) early. Also attach psci(4) early such that cpuresetfn
and powerdowfn are initialized in the same way as before.

ok patrick@, jsg@

date 2017-10-24T17:06:51Z
author kettenis
files src/sys/arch/sparc64/include/ctlreg.h log diff annotate
src/sys/arch/sparc64/include/psl.h log diff annotate
message Use "static inline" instead of "extern inline" for compatibility with
proper C99 compilers.

ok deraadt@, visa@, mpi@

date 2017-10-24T20:06:54Z
author guenther
files src/sys/arch/amd64/conf/ld.script log diff annotate
src/sys/arch/arm64/conf/kern.ldscript log diff annotate
src/sys/arch/i386/conf/ld.script log diff annotate
message In ld scripts, an output section with no input sections is always marked
writable, so the stub gap.o has .rodata flagged as RW. Instead of letting
that propagate to the final :rodata PT_LOAD section, force the flags on
the section to 4 (==PF_R) in the PHDRS block.

problem noted by mortimer@
ok deraadt@ kettenis@

date 2017-10-24T20:35:54Z
author guenther
files src/sys/arch/arm64/include/reloc.h log diff annotate
message R_AARCH64_NONE should be zero, not 256. The latter was a deprecated
assignment and isn't used by clang/lld.

ok jsg@