CVS: cvs.openbsd.org: src

2023-09-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/09/21 19:10:44

Modified files:
sys/arch/arm/cortex: ampintc.c 
sys/arch/arm/simplebus: simplebus.c 
sys/arch/arm64/dev: agintc.c ampintc.c apldc.c simplebus.c 
sys/arch/armv7/exynos: exdwusb.c expower.c 
sys/arch/armv7/marvell: mvmbus.c 
sys/arch/armv7/omap: omcm.c omsysc.c 
sys/arch/octeon/dev: simplebus.c 
sys/arch/riscv64/dev: simplebus.c 
sys/dev/fdt: amldwusb.c hidwusb.c imxdwusb.c mvmdio.c 
 qcdwusb.c rkdwusb.c rkgrf.c rkpinctrl.c 
 syscon.c 
Added files:
sys/arch/arm/include: simplebusvar.h 
sys/arch/arm64/include: simplebusvar.h 
sys/arch/armv7/include: simplebusvar.h 
sys/arch/octeon/include: simplebusvar.h 
sys/arch/riscv64/include: simplebusvar.h 
Removed files:
sys/arch/arm/simplebus: simplebusvar.h 
sys/arch/arm64/dev: simplebusvar.h 
sys/arch/octeon/dev: simplebusvar.h 
sys/arch/riscv64/dev: simplebusvar.h 

Log message:
move simplebusvar.h so it can be used without ifdef
ok kettenis@ phessler@



CVS: cvs.openbsd.org: src

2023-09-21 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2023/09/21 15:22:43

Modified files:
regress/usr.bin: Makefile 

Log message:
Remove REGRESS_FULL.  It is not documented, just hides some tests
and its purpose is unknown.



Re: CVS: cvs.openbsd.org: src

2023-09-21 Thread Todd C . Miller
On Thu, 21 Sep 2023 11:19:06 -0600, Todd C. Miller wrote:

> CVSROOT:  /cvs
> Module name:  src
> Changes by:   mill...@cvs.openbsd.org 2023/09/21 11:19:06
>
> Modified files:
>   usr.bin/awk: b.c 
>
> Log message:
> Fix a potential out-of-bounds read caused by the big-endian fix.
>
> We must store a UTF-32 empty string, not UTF-8 empty string, for
> an empty CCL.  Found running the awk test suite with address sanitizer.

Actually, this bug is also present in upstream awk, without the
big-endian fix.

 - todd



CVS: cvs.openbsd.org: src

2023-09-21 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2023/09/21 15:08:48

Modified files:
regress/usr.bin: Makefile 
Removed files:
regress/usr.bin/cap_mkdb: Makefile shortname.in 

Log message:
Remove cap_mkdb regress.  The program fails as -i option has been
removed.  But the test expects failure and always passes.  There
is nothing tested anymore.



CVS: cvs.openbsd.org: src

2023-09-21 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2023/09/21 14:55:02

Modified files:
regress/usr.bin: Makefile 

Log message:
Add rsync to subdir to create obj.  With obj directory rsync test
passes also when run as root.



CVS: cvs.openbsd.org: src

2023-09-21 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/09/21 14:26:17

Modified files:
sys/dev/ofw: ofw_misc.h 
sys/arch/arm64/dev: aplpcie.c 

Log message:
Properly set up the IOMMU stream ID mapping.  Needed for upcoming changes
to apldart(4).

ok patrick@



CVS: cvs.openbsd.org: src

2023-09-21 Thread Patrick Wildt
CVSROOT:/cvs
Module name:src
Changes by: patr...@cvs.openbsd.org 2023/09/21 13:39:41

Modified files:
sys/dev/fdt: dwpcie.c 

Log message:
Encode the device tree node in the pci tag like we do in aplpcie(4) so that
PCI device drivers can have access to device tree properties, e.g. to allow
qwx(4) to retrieve the calibration variant.

ok kettenis@



CVS: cvs.openbsd.org: src

2023-09-21 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/09/21 12:16:12

Modified files:
usr.bin/awk: awk.1 

Log message:
--csv is an extension; ok millert



CVS: cvs.openbsd.org: src

2023-09-21 Thread Todd C . Miller
CVSROOT:/cvs
Module name:src
Changes by: mill...@cvs.openbsd.org 2023/09/21 11:19:06

Modified files:
usr.bin/awk: b.c 

Log message:
Fix a potential out-of-bounds read caused by the big-endian fix.

We must store a UTF-32 empty string, not UTF-8 empty string, for
an empty CCL.  Found running the awk test suite with address sanitizer.



CVS: cvs.openbsd.org: src

2023-09-21 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2023/09/21 10:30:54

Modified files:
usr.bin/awk: awk.1 

Log message:
Document LC_CTYPE.
Based on a diff from millert@ with additions by me.
Feedback and OK millert@.



CVS: cvs.openbsd.org: src

2023-09-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/09/21 07:51:50

Modified files:
usr.bin/seq: seq.1 

Log message:
make history less verbose
ok schwarze@ millert@



CVS: cvs.openbsd.org: src

2023-09-21 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2023/09/21 07:49:25

Modified files:
sys/kern   : kern_exit.c 

Log message:
Move code inside exit1() to better spots.

- PS_PROFIL bit is moved into the process cleanup block where it belongs
- The proc read-only limit cache cleanup is moved up right after clearing
p->p_fd cache. lim_free() can potentially sleep and so needs to be
above the line where p_stat is set to SDEAD.

With and OK jca@



CVS: cvs.openbsd.org: src

2023-09-21 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2023/09/21 06:11:34

Modified files:
sys/arch/powerpc64/conf: RAMDISK 

Log message:
enable softraid(4) in ramdisk

No boot support as per manual, but it already has bio(4) and bioctl(8);
complete enable use of software RAID.

OK, run-tested gkoehler



CVS: cvs.openbsd.org: src

2023-09-21 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2023/09/21 03:07:53

Modified files:
share/man/man4 : iwn.4 

Log message:
belated iwn(4) man page update: 40MHz channels are supported since Nov 2021