CVS: cvs.openbsd.org: src

2021-04-27 Thread Alexandre Ratchov
CVSROOT:/cvs
Module name:src
Changes by: ratc...@cvs.openbsd.org 2021/04/27 23:10:29

Modified files:
usr.bin/sndiod : dev.c 

Log message:
sndiod: Attach client at the same position, regardless the device mode

This is necessary to make rec-only devices properly work in
full-duplex. Fixes full-duplex clients stuck on rec-only device.



CVS: cvs.openbsd.org: src

2021-04-27 Thread Alexandre Ratchov
CVSROOT:/cvs
Module name:src
Changes by: ratc...@cvs.openbsd.org 2021/04/27 23:05:05

Modified files:
usr.bin/sndiod : dev.c 

Log message:
sndiod: Allocate (free) conversion buffers in slot_attach (slot_detach)

Besides being better coding style, this allows a client to be detached
and then attached to a device with different parameters.



CVS: cvs.openbsd.org: src

2021-04-27 Thread Dale Rahn
CVSROOT:/cvs
Module name:src
Changes by: dr...@cvs.openbsd.org   2021/04/27 22:41:14

Modified files:
usr.bin/file/magdir: elf 

Log message:
Add RISC-V elf executable detection.
looks good jsg@



CVS: cvs.openbsd.org: src

2021-04-27 Thread Dale Rahn
CVSROOT:/cvs
Module name:src
Changes by: dr...@cvs.openbsd.org   2021/04/27 22:38:01

Added files:
lib/libc/arch/riscv64/gdtoa: Makefile.inc arith.h gd_qnan.h 

Log message:
riscv64 gdtoa support
direct copy from aarch64
constants were rechecked using the qnan.c program.



CVS: cvs.openbsd.org: src

2021-04-27 Thread Dale Rahn
CVSROOT:/cvs
Module name:src
Changes by: dr...@cvs.openbsd.org   2021/04/27 22:26:40

Added files:
lib/libc/arch/riscv64/string: Makefile.inc 

Log message:
riscv64 libc string support,
adopted from aarch64, no native ffs() for now, use C version.
after corrections from kettenis@



CVS: cvs.openbsd.org: src

2021-04-27 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/04/27 21:55:48

Modified files:
etc/etc.riscv64: fbtab 

Log message:
remove old drm devices



CVS: cvs.openbsd.org: src

2021-04-27 Thread Dale Rahn
CVSROOT:/cvs
Module name:src
Changes by: dr...@cvs.openbsd.org   2021/04/27 21:52:25

src/libexec/ld.so/riscv64

Update of /cvs/src/libexec/ld.so/riscv64
In directory cvs.openbsd.org:/tmp/cvs-serv9201/riscv64

Log Message:
Directory /cvs/src/libexec/ld.so/riscv64 added to the repository



CVS: cvs.openbsd.org: src

2021-04-27 Thread Dale Rahn
CVSROOT:/cvs
Module name:src
Changes by: dr...@cvs.openbsd.org   2021/04/27 21:32:37

Added files:
share/man/man8/man8.riscv64: MAKEDEV.8 
etc/etc.riscv64: MAKEDEV 

Log message:
Sync



CVS: cvs.openbsd.org: src

2021-04-27 Thread Dale Rahn
CVSROOT:/cvs
Module name:src
Changes by: dr...@cvs.openbsd.org   2021/04/27 21:27:51

src/share/man/man8/man8.riscv64

Update of /cvs/src/share/man/man8/man8.riscv64
In directory cvs.openbsd.org:/tmp/cvs-serv63099/man8.riscv64

Log Message:
Directory /cvs/src/share/man/man8/man8.riscv64 added to the repository



CVS: cvs.openbsd.org: src

2021-04-27 Thread Dale Rahn
CVSROOT:/cvs
Module name:src
Changes by: dr...@cvs.openbsd.org   2021/04/27 21:26:25

Added files:
etc/etc.riscv64: MAKEDEV.md Makefile Makefile.inc disktab fbtab 
 login.conf sysctl.conf ttys 

Log message:
riscv64 etc support
copied from arm64
MAKEDEV.md contents are kinda partially there, needs more work.



CVS: cvs.openbsd.org: src

2021-04-27 Thread Dale Rahn
CVSROOT:/cvs
Module name:src
Changes by: dr...@cvs.openbsd.org   2021/04/27 21:23:52

src/etc/etc.riscv64

Update of /cvs/src/etc/etc.riscv64
In directory cvs.openbsd.org:/tmp/cvs-serv17900/etc.riscv64

Log Message:
Directory /cvs/src/etc/etc.riscv64 added to the repository



CVS: cvs.openbsd.org: src

2021-04-27 Thread Dale Rahn
CVSROOT:/cvs
Module name:src
Changes by: dr...@cvs.openbsd.org   2021/04/27 18:11:11

Added files:
lib/csu/riscv64: md_init.h 

Log message:
Riscv64 csu support
Includes fixes pointed out by kettenis, jsg, naddy



CVS: cvs.openbsd.org: src

2021-04-27 Thread Dale Rahn
CVSROOT:/cvs
Module name:src
Changes by: dr...@cvs.openbsd.org   2021/04/27 17:57:38

Added files:
distrib/riscv64: Makefile 
distrib/riscv64/ramdisk: Makefile install.md list 

Log message:
Riscv64 distrib pieces to buld ramdisk
Copied from arm64 with minimal changes.
ok deraadt@



CVS: cvs.openbsd.org: src

2021-04-27 Thread Dale Rahn
CVSROOT:/cvs
Module name:src
Changes by: dr...@cvs.openbsd.org   2021/04/27 17:53:48

src/distrib/riscv64

Update of /cvs/src/distrib/riscv64
In directory cvs.openbsd.org:/tmp/cvs-serv61205/riscv64

Log Message:
Directory /cvs/src/distrib/riscv64 added to the repository



CVS: cvs.openbsd.org: src

2021-04-27 Thread Dale Rahn
CVSROOT:/cvs
Module name:src
Changes by: dr...@cvs.openbsd.org   2021/04/27 17:53:48

src/distrib/riscv64/ramdisk

Update of /cvs/src/distrib/riscv64/ramdisk
In directory cvs.openbsd.org:/tmp/cvs-serv61205/riscv64/ramdisk

Log Message:
Directory /cvs/src/distrib/riscv64/ramdisk added to the repository



CVS: cvs.openbsd.org: src

2021-04-27 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2021/04/27 09:34:18

Modified files:
usr.sbin/bgpd  : control.c 

Log message:
Add IMSG_CTL_SHOW_RTR to the list of restriced control messages.



CVS: cvs.openbsd.org: www

2021-04-27 Thread Eric Faurot
CVSROOT:/cvs
Module name:www
Changes by: e...@cvs.openbsd.org2021/04/27 07:22:58

Modified files:
faq: upgrade69.html 

Log message:
describe smtpd.conf(5) sni changes

comments and ok kmos@



CVS: cvs.openbsd.org: src

2021-04-27 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2021/04/27 05:34:58

Modified files:
usr.sbin/bgpd  : bgpd.8 

Log message:
Add RFC 6286 to the list of RFC bgpd supports.
OK job@



CVS: cvs.openbsd.org: www

2021-04-27 Thread Stuart Henderson
CVSROOT:/cvs
Module name:www
Changes by: st...@cvs.openbsd.org   2021/04/27 04:33:31

Modified files:
.  : 69.html 

Log message:
powerpc64: 9341 packages



CVS: cvs.openbsd.org: src

2021-04-27 Thread Inoguchi Kinichiro
CVSROOT:/cvs
Module name:src
Changes by: inogu...@cvs.openbsd.org2021/04/27 04:13:04

Modified files:
regress/usr.bin/openssl: appstest.sh 

Log message:
Add DTLS test in appstest.sh



CVS: cvs.openbsd.org: src

2021-04-27 Thread Alexandr Nedvedicky
CVSROOT:/cvs
Module name:src
Changes by: sas...@cvs.openbsd.org  2021/04/27 03:38:29

Modified files:
sys/net: pf.c 

Log message:
pf_state_key_link_reverse() is prone to race on parallel forwarding

we need to adjust assertions. at time we call pf_state_key_link_reverse()
is state_key either linked to correct reverse peer or not linked at all.
The pf_state_key_link_reverse() is being called as a reader ons tate_lock.
There might be more packets, which try to update the state key.

OK bluhm@



CVS: cvs.openbsd.org: src

2021-04-27 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2021/04/27 03:12:23

Modified files:
usr.sbin/bgpd  : session.c 

Log message:
Check for possible bgpid collision on open. RFC 6286 defines that this
check needs to be done for iBGP sessions but not for eBGP sessions.
On conflict log an error and send a notification with ERR_OPEN_BGPID
suberror.
Reported by cjt (melissa_cjt at 163.com)
OK benno@



CVS: cvs.openbsd.org: src

2021-04-27 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2021/04/27 03:07:11

Modified files:
usr.sbin/bgpd  : rde.c 

Log message:
Fix notification sub-error code for syntactically incorrect nexthops.
The right suberror is ERR_UPD_NEXTHOP.
Reported by cjt (melissa_cjt at 163.com)
OK benno@