OpenBSD cvs log

created 2022-12-11T09:09:23Z
begin 2022-12-07T00:00:00Z
end 2022-12-08T00:00:00Z
path src/sys
commits 12

date 2022-12-07T01:02:28Z
author deraadt
files src/sys/kern/uipc_syscalls.c log diff annotate
message If the called of ypconnect(2) is root, the socket should acquire a
reserved port to received secure-maps from the ypserver.
issue found by niklas, using a simpler diff i proposed
ok miod

date 2022-12-07T14:38:29Z
author claudio
files src/sys/netinet/if_ether.c log diff annotate
message Fix comment by splitting sentance in two. From kn@

date 2022-12-07T17:34:20Z
author kn
files src/sys/netinet6/nd6.c log diff annotate
src/sys/netinet6/nd6.h log diff annotate
message Do not store unused ICMPv6 Option PREFIX_INFORMATION

Dead since 2017 sys/netinet6/nd6_rtr.c r1.163
Remove sending of router solicitations and processing of router
advertisements from the kernel. It's handled by slaacd(8) these days.

sysctl(2) net.inet6.icmp6.nd6_debug does not warn about it like it does
for, e.g., duplicate MTU options, so don't do anything with this option.

Remove access macros for other unused options while here.
Eventually, union nd_opts should be removed completely.
All under _KERNEL.

tcpdump(8)/rad(8)/slaacd(8) keep showing/sending/receiving this option when
running this diff on both router and client.

OK claudio

date 2022-12-07T18:25:32Z
author guenther
files src/sys/lib/libkern/arch/amd64/bcmp.S log diff annotate
src/sys/lib/libkern/arch/amd64/bzero.S log diff annotate
src/sys/lib/libkern/arch/amd64/ffs.S log diff annotate
src/sys/lib/libkern/arch/amd64/htonl.S log diff annotate
src/sys/lib/libkern/arch/amd64/htons.S log diff annotate
src/sys/lib/libkern/arch/amd64/memchr.S log diff annotate
src/sys/lib/libkern/arch/amd64/memcmp.S log diff annotate
src/sys/lib/libkern/arch/amd64/memmove.S log diff annotate
src/sys/lib/libkern/arch/amd64/memset.S log diff annotate
src/sys/lib/libkern/arch/amd64/scanc.S log diff annotate
src/sys/lib/libkern/arch/amd64/skpc.S log diff annotate
src/sys/lib/libkern/arch/amd64/strchr.S log diff annotate
message Apply changes from commitid FWrfGfO9Ojnsh1mq to libkern.
From original commit message: To mitigate against spectre attacks,
AMD processors without the IBRS feature need an lfence instruction
after every near ret. See software techniques for managing speculation
on AMD processors revision 9.17.20 mitigation G-5.

ok deraadt@

date 2022-12-07T18:25:33Z
author guenther
files src/sys/lib/libkern/arch/amd64/strcmp.S log diff annotate
src/sys/lib/libkern/arch/amd64/strlen.S log diff annotate
src/sys/lib/libkern/arch/amd64/strrchr.S log diff annotate
message Apply changes from commitid FWrfGfO9Ojnsh1mq to libkern.
From original commit message: To mitigate against spectre attacks,
AMD processors without the IBRS feature need an lfence instruction
after every near ret. See software techniques for managing speculation
on AMD processors revision 9.17.20 mitigation G-5.

ok deraadt@

date 2022-12-07T19:21:54Z
author guenther
files src/sys/lib/libkern/arch/amd64/htonl.S log diff annotate
src/sys/lib/libkern/arch/amd64/htons.S log diff annotate
message Prefer STRONG_ALIAS() over multiple overlapping _ENTRY/_NENTRY
uses, as the latter requires manual handling of _PROF_PROLOGUE.
Add END()s to match ENTRY()s.

ok deraadt@

date 2022-12-07T19:26:02Z
author guenther
files src/sys/lib/libkern/arch/amd64/bcmp.S log diff annotate
src/sys/lib/libkern/arch/amd64/bzero.S log diff annotate
src/sys/lib/libkern/arch/amd64/ffs.S log diff annotate
src/sys/lib/libkern/arch/amd64/memchr.S log diff annotate
src/sys/lib/libkern/arch/amd64/memcmp.S log diff annotate
src/sys/lib/libkern/arch/amd64/memset.S log diff annotate
message Prefer numeric labels over L<digit> labels, as the latter clutter
the final kernel symbol table.
Add END()s to match ENTRY()s.

ok deraadt@

date 2022-12-07T19:26:39Z
author guenther
files src/sys/lib/libkern/arch/amd64/memmove.S log diff annotate
src/sys/lib/libkern/arch/amd64/scanc.S log diff annotate
src/sys/lib/libkern/arch/amd64/skpc.S log diff annotate
src/sys/lib/libkern/arch/amd64/strchr.S log diff annotate
src/sys/lib/libkern/arch/amd64/strcmp.S log diff annotate
src/sys/lib/libkern/arch/amd64/strlen.S log diff annotate
src/sys/lib/libkern/arch/amd64/strrchr.S log diff annotate
message Add END()s to match ENTRY()s.
ok deraadt@

date 2022-12-07T20:08:28Z
author mvs
files src/sys/kern/kern_proc.c log diff annotate
message Document 'uidinfo' structure locks.

Inputs and ok bluhm@

date 2022-12-07T20:08:29Z
author mvs
files src/sys/sys/proc.h log diff annotate
message Document 'uidinfo' structure locks.

Inputs and ok bluhm@

date 2022-12-07T23:04:26Z
author patrick
files src/sys/arch/arm64/stand/efiboot/Makefile log diff annotate
src/sys/arch/arm64/stand/efiboot/conf.c log diff annotate
src/sys/arch/arm64/stand/efiboot/efiboot.c log diff annotate
src/sys/arch/arm64/stand/efiboot/smbios.c log diff annotate
src/sys/stand/efi/include/efiapi.h log diff annotate
message The ACPI tables on the Lenovo x13s are incomplete and unusable. For
that reason, identify that we're running on that machine by looking at
the SMBIOS tables and load alternate device tree binaries from disk.

ok kettenis@

date 2022-12-07T23:25:59Z
author guenther
files src/sys/arch/powerpc64/include/asm.h log diff annotate
message _C_LABEL() and _ASM_LABEL() are no longer useful in the "everything
is ELF" world. Eliminate use of them in powerpc64 code.

ok gkoehler@