CVS: cvs.openbsd.org: src

2023-02-20 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/02/21 00:47:24

Modified files:
sbin/unwind: unwind.8 unwind.conf.5 
sbin/resolvd   : resolvd.8 
sbin/route : route.8 
share/man/man4 : umb.4 sppp.4 

Log message:
some nameserver proposal bits:

unwind.8: point to resolvd(8) for autoconf sources
unwind.conf.5: order preferred list by order of preference
resolvd.8: reformat to read better
route.8: no need to discuss unwind in the nameserver command
umb.4 + sppp.4: note the sending of nameserver proposals

the umb/sppp text is from claudio
tobhe confirmed iked sending proposals when configured to do so

much assistance and ok: florian claudio



CVS: cvs.openbsd.org: src

2023-02-20 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2023/02/20 23:48:18

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

Log message:
fseek to end of known_hosts before writing to it.  POSIX and ANSI C
require that applications call fseek or similar between read and writing
to a RW file.  OpenBSD doesn't enforce this, but some (System V derived)
platforms need this to prevent it from writing a spurious extra byte (in
this case, a newline).  ok djm@ deraadt@



CVS: cvs.openbsd.org: src

2023-02-20 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/02/20 22:58:08

Modified files:
lib/libcrypto/bn: bn_local.h bn_mont.c 

Log message:
Unifdef MONT_WORD.

It does not make sense to use code that is slower, currently broken and
prevents the use of assembly Montgomery implementations.

This is the result of `unifdef -m -DMONT_WORD`, followed by some manual
clean up and the removal of the Ni bignum from BN_MONT_CTX (which was only
used in the non-MONT_WORD case).

ok miod@ tb@



CVS: cvs.openbsd.org: src

2023-02-20 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2023/02/20 22:06:51

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

Log message:
sync



CVS: cvs.openbsd.org: src

2023-02-20 Thread George Koehler
CVSROOT:/cvs
Module name:src
Changes by: gkoeh...@cvs.openbsd.org2023/02/20 21:49:43

Modified files:
sys/arch/powerpc/powerpc: pmap.c 

Log message:
Set the current pmap in macppc's pmap_activate

This fixes a possible freeze in execve(2).  It sometimes froze when a
dual-cpu macppc started daemons during boot.  There is a chance that
uvm_map.c uvmspace_exec sees ovm->vm_refcnt != 1 and switches curproc
to a new pmap.  If this happened, then execve froze by trying to
copyout to the wrong pmap; curpcb->pcb_pm was old.  Fix by setting
pointers when uvmspace_exec calls pmap_activate.

ok miod@



CVS: cvs.openbsd.org: src

2023-02-20 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2023/02/20 21:08:50

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

Log message:
sync



CVS: cvs.openbsd.org: src

2023-02-20 Thread Andrew Fresh
CVSROOT:/cvs
Module name:src
Changes by: afre...@cvs.openbsd.org 2023/02/20 19:20:36

Modified files:
gnu/usr.bin/perl/t: test.pl 
gnu/usr.bin/perl/t/comp: parser.t 
gnu/usr.bin/perl/t/lib/croak: toke 

Log message:
Remove conflict markers from perl tests

This is upstream PR 28103 https://github.com/Perl/perl5/pull/20813

Requested by stsp@ for quality of life improvments for Game of Trees users.



CVS: cvs.openbsd.org: src

2023-02-20 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2023/02/20 19:13:27

Modified files:
lib/libc/sys   : pinsyscall.2 

Log message:
correct parameter type



CVS: cvs.openbsd.org: src

2023-02-20 Thread Andrew Fresh
CVSROOT:/cvs
Module name:src
Changes by: afre...@cvs.openbsd.org 2023/02/20 19:11:03

Modified files:
distrib/sets/lists/man: mi 
gnu/usr.bin/perl: Makefile.bsd-wrapper1 

Log message:
Don't install DebugWrap.1 manpage

It's from a test file and should never have been installed.

Noticed by xse in #openbsd on libera.chat



CVS: cvs.openbsd.org: src

2023-02-20 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/02/20 09:08:37

Modified files:
share/man/man3 : intro.3 

Log message:
sndiod(8) is the audio daemon now; from david demelier



CVS: cvs.openbsd.org: src

2023-02-20 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2023/02/20 07:16:59

Modified files:
sbin/disklabel : disklabel.8 

Log message:
Rework/modernize verbiage in the "AUTOMATIC DISK ALLOCATION" and
"EXAMPLES" sections. Build tables with 'Bd -column' instead of
tabs inside 'Bl -literal'.  Columns now line up (more or less) in
text, .pdf and .html versions.

Prompted by kn@, feedback & suggestions from jmc@ and schwarze@.



CVS: cvs.openbsd.org: src

2023-02-20 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/02/20 04:31:16

Modified files:
sys/dev/pci: sti_pci.c 

Log message:
Rewrite the ROM walk logic to correctly iterate over non-STI ROMs (and skip
them), such as x86 bios ROMs.



CVS: cvs.openbsd.org: src

2023-02-20 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/02/20 02:08:47

Modified files:
sys/dev/pci: sti_pci.c 

Log message:
Wrap all printf calls in sti_check_rom() in order to automagically cope with
ROM enable/disable; makes addition of debug code more fool-proof. NFC (yet)