CVS: cvs.openbsd.org: src

2023-11-23 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/11/24 00:57:39

Modified files:
sys/arch/riscv64/riscv64: cpuswitch.S exception.S 

Log message:
No need to load function addresses in registers and branch to the register
contents when there is that nifty instruction called "call"; NFC



CVS: cvs.openbsd.org: src

2023-11-23 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/11/24 00:18:49

Modified files:
sys/arch/riscv64/include: pmap.h vmparam.h 

Log message:
Remove unused direct map defines and macros, originating from FreeBSD.
ok mlarkin@ kettenis@



CVS: cvs.openbsd.org: src

2023-11-23 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2023/11/23 21:53:39

Modified files:
regress/usr.bin/mandoc/man/IP: tag.in tag.out_ascii tag.out_html 
   tag.out_tag 
regress/usr.bin/mandoc/man/TP: tag.in tag.out_ascii tag.out_html 
   tag.out_tag 
regress/usr.bin/mandoc/mdoc/Em: tag.in tag.out_ascii 
tag.out_html tag.out_markdown 
tag.out_tag 
regress/usr.bin/mandoc/mdoc/Sy: tag.in tag.out_ascii 
tag.out_html tag.out_markdown 
tag.out_tag 

Log message:
Additional tests of automatic tagging involving different kinds of hyphens
after tag.c rev. 1.38.



CVS: cvs.openbsd.org: src

2023-11-23 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2023/11/23 21:48:02

Modified files:
usr.bin/mandoc : tag.c 
regress/usr.bin/mandoc/mdoc/Cm: tag.out_html tag.out_tag 

Log message:
1. Do not put ASCII_HYPH (0x1c) into the tag file.
That happened when tagging a string containing '-' on an input text line,
most commonly in man(7) .TP next line scope.
2. Do not let "\-" end the tag.
In both cases, translate ASCII_HYPH and "\-" to plain '-' for output.
For example, this improves handling of unbound.conf(5).

These two bugs were found thanks to a posting by weerd@.



CVS: cvs.openbsd.org: src

2023-11-23 Thread Jonathan Matthew
CVSROOT:/cvs
Module name:src
Changes by: jmatt...@cvs.openbsd.org2023/11/23 21:34:35

Modified files:
sys/dev/pci: pcidevs.h pcidevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2023-11-23 Thread Jonathan Matthew
CVSROOT:/cvs
Module name:src
Changes by: jmatt...@cvs.openbsd.org2023/11/23 21:34:09

Modified files:
sys/dev/pci: pcidevs 

Log message:
Add devices found in 4th generation (Genoa) Epyc systems

input from and ok jsg@



CVS: cvs.openbsd.org: src

2023-11-23 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2023/11/23 17:31:30

Modified files:
usr.bin/ssh: clientloop.c 

Log message:
Plug mem leak of msg when processing a quit message.
Coverity CID#427852, ok djm@



CVS: cvs.openbsd.org: src

2023-11-23 Thread ASOU Masato
CVSROOT:/cvs
Module name:src
Changes by: a...@cvs.openbsd.org2023/11/23 17:15:42

Modified files:
sys/kern   : kern_physio.c 

Log message:
Fix comments longer than 80 column.

ok miod@



CVS: cvs.openbsd.org: src

2023-11-23 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2023/11/23 16:45:10

Modified files:
sys/net: if_veb.c 

Log message:
avoid passing weird mbuf chains to pf when pushing out a veb.

pf expects the ip header to be in the first mbuf of the chain we
pass to pf_test, but in some situations the ethernet header is the
only data in the first mbuf. after we remove the ethernet header,
the first mbuf had no data in it which confused pf. fix this by
passing all packets to ip_check on output as well as input. ip input
handlers do all the necessary m_pullups.

found by Mark Patruck.



CVS: cvs.openbsd.org: src

2023-11-23 Thread Patrick Wildt
CVSROOT:/cvs
Module name:src
Changes by: patr...@cvs.openbsd.org 2023/11/23 12:54:30

Modified files:
sys/arch/arm64/arm64: cpu.c 

Log message:
A mountroot hook unsets ci->ci_opp_table in case clocks or regulators
aren't available, so we have to continue to check its existence on each
kstat read.

ok dlg@



CVS: cvs.openbsd.org: src

2023-11-23 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2023/11/23 09:30:12

Modified files:
usr.sbin/dhcpd : dhcp-options.5 

Log message:
tweak previous; suggested by jmc



CVS: cvs.openbsd.org: src

2023-11-23 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2023/11/23 08:02:57

Modified files:
sys/dev/wscons : wskbd.c 

Log message:
now always needs sys/task.h



CVS: cvs.openbsd.org: src

2023-11-23 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/11/23 07:24:06

Modified files:
sys/dev/pci: ichiic.c dwiic_pci.c azalia.c 

Log message:
match on Alder Lake-N ids
tested-by and ok sthen@



CVS: cvs.openbsd.org: src

2023-11-23 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/11/23 07:22:30

Modified files:
sys/dev/pci: pcidevs.h pcidevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2023-11-23 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/11/23 07:21:47

Modified files:
sys/dev/pci: pcidevs 

Log message:
add Alder Lake-N ids

from:
Intel Processor and Intel Core i3 N-Series
Datasheet, Volume 1 of 2, Doc. No.: 759603, Rev.: 001

ok sthen@



CVS: cvs.openbsd.org: src

2023-11-23 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/11/23 06:01:15

Modified files:
usr.sbin/rpki-client: rsync.c 

Log message:
Don't set directory modtimes to match the source

When syncing against remote repositories, the modtimes of the
remote directories is irrelevant. In the RRDP protocol the directory
modtimes aren't signalled either. This should save some IOPS.

OK tb@



CVS: cvs.openbsd.org: src

2023-11-23 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/11/23 04:59:53

Modified files:
usr.bin/rsync  : extern.h fargs.c main.c rsync.1 uploader.c 

Log message:
Add --omit-dir-times / -O

OK claudio@



CVS: cvs.openbsd.org: src

2023-11-23 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/23 02:44:08

Modified files:
usr.sbin/pkg_add/OpenBSD: PackingList.pm 

Log message:
need to represent the option for it to actually make it into the package