CVS: cvs.openbsd.org: src

2023-01-07 Thread Alexandre Ratchov
CVSROOT:/cvs
Module name:src
Changes by: ratc...@cvs.openbsd.org 2023/01/07 23:58:07

Modified files:
usr.bin/audioctl: audioctl.8 audioctl.c 

Log message:
Add -w option to display variables periodically

The purpose of -w is to monitor underruns without triggering long
kernel code-paths (ex. fork and exec of new audioctl process) that may
cause additional underruns than the ones being monitored.

ok chehola, edd



CVS: cvs.openbsd.org: src

2023-01-07 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2023/01/07 23:56:01

Modified files:
regress/sys/kern/noexec: testfly.S 

Log message:
Due to xonly on arm64 it is no longer possible to read the testfly routine.
Put it in the rodata section allowing it to be copied. Note that testfly is
never executed directly but only after placing it in a separate chunk of memory
allowing its permissions to be mutated.



CVS: cvs.openbsd.org: src

2023-01-07 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2023/01/07 23:55:18

Modified files:
regress/bin/ps : command.sh 

Log message:
cope with recent thread name changes



CVS: cvs.openbsd.org: src

2023-01-07 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2023/01/07 23:54:51

Modified files:
sys/dev/usb: uhidpp.c 

Log message:
Rename argument funcidx_swid to func_idx as it does not include any software id.
No functional change.



CVS: cvs.openbsd.org: src

2023-01-07 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2023/01/07 21:54:50

Modified files:
lib/libc/sys   : Makefile.inc 
Added files:
lib/libc/sys   : getthrname.2 

Log message:
Add getthrname(2) manpage

ok jmc@ schwarze@



CVS: cvs.openbsd.org: src

2023-01-07 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2023/01/07 12:56:39

Modified files:
distrib/sets/lists/comp: md.hppa 

Log message:
sync



CVS: cvs.openbsd.org: xenocara

2023-01-07 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/01/07 10:39:49

Modified files:
.  : MODULES 

Log message:
update



CVS: cvs.openbsd.org: src

2023-01-07 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/01/07 10:29:37

Modified files:
sys/arch/powerpc64/powerpc64: machdep.c 

Log message:
Bring back a local copystr() declaration, as copy{in,out} still make us of it
but its body is in locore.



CVS: cvs.openbsd.org: xenocara

2023-01-07 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/01/07 10:17:11

Modified files:
distrib/sets/lists/xshare: mi 

Log message:
sync



CVS: cvs.openbsd.org: xenocara

2023-01-07 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2023/01/07 10:15:04

Modified files:
lib/libXpm : AUTHORS ChangeLog Makefile.in NEWS.old 
 README.md aclocal.m4 compile configure 
 configure.ac 
lib/libXpm/cxpm: Makefile.in 
lib/libXpm/doc : Makefile.in README.MSW README.html 
lib/libXpm/include: Makefile.in 
lib/libXpm/man : Makefile.am Makefile.in 
lib/libXpm/src : Makefile.in create.c hashtab.c parse.c rgbtab.h 
 scan.c 
lib/libXpm/sxpm: Makefile.in 
Added files:
lib/libXpm/man : XpmAttributesSize.man XpmCreateBuffer.man 
 XpmCreateBufferFromImage.man 
 XpmCreateBufferFromPixmap.man 
 XpmCreateBufferFromXpmImage.man 
 XpmCreateData.man XpmCreateDataFromImage.man 
 XpmCreateDataFromPixmap.man 
 XpmCreateDataFromXpmImage.man 
 XpmCreateImage.man XpmCreateImageFromBuffer.man 
 XpmCreateImageFromData.man 
 XpmCreateImageFromXpmImage.man 
 XpmCreatePixmap.man 
 XpmCreatePixmapFromBuffer.man 
 XpmCreatePixmapFromData.man 
 XpmCreatePixmapFromXpmImage.man 
 XpmCreateXpmImage.man 
 XpmCreateXpmImageFromBuffer.man 
 XpmCreateXpmImageFromData.man 
 XpmCreateXpmImageFromImage.man 
 XpmCreateXpmImageFromPixmap.man XpmFree.man 
 XpmFreeAttributes.man XpmFreeExtensions.man 
 XpmFreeXpmImage.man XpmFreeXpmInfo.man 
 XpmGetErrorString.man XpmLibraryVersion.man 
 XpmMisc.man XpmRead.man XpmReadFileToBuffer.man 
 XpmReadFileToData.man XpmReadFileToImage.man 
 XpmReadFileToPixmap.man 
 XpmReadFileToXpmImage.man XpmWrite.man 
 XpmWriteFileFromBuffer.man 
 XpmWriteFileFromImage.man 
 XpmWriteFileFromPixmap.man 
 XpmWriteFileFromXpmImage.man 

Log message:
Update to libXpm 3.5.14. This adds manual pages and fixes typos in comments.



CVS: cvs.openbsd.org: src

2023-01-07 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/01/07 09:17:29

Modified files:
lib/libcrypto/bn: bn_lib.c 

Log message:
Rewrite/simplify BN_free().

ok tb@



CVS: cvs.openbsd.org: src

2023-01-07 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/01/07 09:13:46

Modified files:
lib/libcrypto/bn: bn_lib.c 

Log message:
Flip BN_clear_free() and BN_free()

All of our BIGNUMs are cleared when we free them - move the code to
BN_free() and have BN_clear_free() call BN_free(), rather than the other
way around.

ok tb@



CVS: cvs.openbsd.org: src

2023-01-07 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/01/07 09:09:18

Modified files:
lib/libcrypto/bn: bn_lib.c 

Log message:
Use calloc() in BN_new(), rather than malloc() and then manually zeroing.

ok tb@



CVS: cvs.openbsd.org: src

2023-01-07 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2023/01/07 09:01:58

Modified files:
gnu/llvm/lld/ELF: Driver.cpp 

Log message:
accept --executable-only on aarch64, riscv64, and mips64 because the
linker is creating correct binaries.  There can also be problems with
compilers generating incorrect data-inside-text, but those (so far minor)
issues are being resolved seperately.
ok kettenis



CVS: cvs.openbsd.org: src

2023-01-07 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2023/01/07 08:20:27

Modified files:
distrib/sets/lists/base: mi 

Log message:
sync



CVS: cvs.openbsd.org: src

2023-01-07 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/01/07 07:30:57

Modified files:
regress/lib/libcrypto/bn: bn_shift.c 

Log message:
Fix previous.



CVS: cvs.openbsd.org: src

2023-01-07 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2023/01/07 05:34:29

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

Log message:
fix firmware filename typo in iwx(4) man page: ao -> a0



CVS: cvs.openbsd.org: www

2023-01-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:www
Changes by: st...@cvs.openbsd.org   2023/01/07 05:18:58

Modified files:
.  : ftp.html ftplist httpslist 
openbgpd   : ftp.html 
openssh: ftp.html portable.html 
openntpd   : portable.html 
rpki-client: portable.html 

Log message:
sync



CVS: cvs.openbsd.org: www

2023-01-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:www
Changes by: st...@cvs.openbsd.org   2023/01/07 05:18:44

Modified files:
build  : mirrors.dat 

Log message:
s/AS250/AS250.net/



CVS: cvs.openbsd.org: src

2023-01-07 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2023/01/07 04:09:17

Modified files:
sys/net80211   : ieee80211_input.c 

Log message:
Make net80211 drop beacons received on secondary HT/VHT channels.

Prevents iwm firmware panics and makes association work with 11ac APs
which transmit beacons on channels other than their primary channel.
We would use the wrong channel in such cases, and iwm would request
a bogus channel configuration, which made the firmware unhappy.

Tested by myself on iwm 8265 and florian on iwm 9260.
This issue did likely affect iwx devices, too.

ok mpi@



CVS: cvs.openbsd.org: src

2023-01-07 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/01/07 03:09:34

Modified files:
sys/arch/hppa/hppa: pmap.c 
sys/arch/hppa/include: pte.h 

Log message:
The PA-RISC architecture supports execute-only mappings by using a
"remain at privilege level 3" gateway page.  Make use of this.

ok deraadt@, miod@