CVS: cvs.openbsd.org: src

2024-05-04 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2024/05/04 07:35:26

Modified files:
sys/dev/pci: if_igc.c igc_base.h 

Log message:
Add TSO capabilites.
Comments, suggestions and testing from bket@, jan@, and bluhm@



CVS: cvs.openbsd.org: src

2024-03-25 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2024/03/25 14:25:13

Modified files:
sys/dev/pci: if_igc.c igc_base.h 

Log message:
Add the VLAN_HWTAGGING capability. Big thanks to bket@ for testing,
rebasing, refactoring, and addressing feedback for this diff.
ok bluhm@, jan@



CVS: cvs.openbsd.org: src

2023-08-07 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2023/08/07 02:22:52

Modified files:
share/misc : airport 

Log message:
add LJG



CVS: cvs.openbsd.org: www

2023-08-05 Thread Moritz Buhl
CVSROOT:/cvs
Module name:www
Changes by: mb...@cvs.openbsd.org   2023/08/05 11:11:56

Modified files:
.  : loongson.html 

Log message:
Fix broken links.

Thanks to Yifei Zhan.



CVS: cvs.openbsd.org: www

2023-05-08 Thread Moritz Buhl
CVSROOT:/cvs
Module name:www
Changes by: mb...@cvs.openbsd.org   2023/05/08 05:54:48

Modified files:
.  : want.html 

Log message:
Remove my igc(4) request. Thanks to David Leadbeater for the R86S!



CVS: cvs.openbsd.org: src

2023-04-14 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2023/04/14 16:41:28

Modified files:
sys/ufs/ffs: ffs_vfsops.c 

Log message:
Use designated initializer for ffs_vtbl.
OK kn



CVS: cvs.openbsd.org: src

2023-04-13 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2023/04/13 05:32:06

Modified files:
regress/lib/libc/time/time_conversion: timetest.c 

Log message:
Fix compilation on sparc64.



CVS: cvs.openbsd.org: src

2023-03-13 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2023/03/13 08:58:01

Modified files:
usr.sbin/tcpdump: print-stp.c 

Log message:
Fix potential underflow when printing STP data.
Reported by Peter J. Philipp
ok claudio



CVS: cvs.openbsd.org: src

2023-02-23 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2023/02/23 01:37:03

Modified files:
sys/net: ethertypes.h 

Log message:
Fix ethertype for NSH. RFC 8300 states ethertype 0x894F has been
allocated for NSH.
Found by bluhm.
ok dlg.



CVS: cvs.openbsd.org: src

2023-02-22 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2023/02/22 03:04:45

Modified files:
usr.sbin/vmd   : config.c 

Log message:
Explicitly initialize vmd_vm pointer with NULL before calling vm_register.
Found by codechecker.
ok dv@



CVS: cvs.openbsd.org: src

2023-02-21 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2023/02/21 08:45:41

Modified files:
usr.sbin/npppctl: npppctl.c 
usr.sbin/iscsictl: iscsictl.c 

Log message:
spelling.
ok jmc



CVS: cvs.openbsd.org: src

2023-02-03 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2023/02/03 04:31:52

Modified files:
sys/dev/pci: igc_i225.c igc_i225.h igc_phy.c 

Log message:
Remove PHY ID checks. The Linux driver is no longer checking for
the PHY ID because there is only one venor.
ok kevlo@



CVS: cvs.openbsd.org: src

2022-11-23 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/11/23 04:00:27

Modified files:
sys/sys: proc.h 
sys/kern   : kern_exec.c exec_elf.c 

Log message:
cache ps_auxinfo inside the kernel, to avoid codedump() reading the
copy on userland stack which points at an illicit region.
ok kettenis, deraadt



CVS: cvs.openbsd.org: src

2022-11-18 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/11/18 12:47:40

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

Log message:
In channel_request_remote_forwarding the parameters for permission_set_add
are leaked as they are also duplicated in the call.
Found by CodeChecker.
ok djm



CVS: cvs.openbsd.org: src

2022-11-18 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/11/18 11:56:39

Modified files:
sbin/iked  : config.c ikev2.c 

Log message:
Revert my last two changes.
If csa_bundled is set, exactly two csas exist and they point to
each other. Therefore childsa_free already sets the bundled csa
pointer to NULL and it shouldn't be done after calling childsa_free.
ok tobhe@



CVS: cvs.openbsd.org: www

2022-11-16 Thread Moritz Buhl
CVSROOT:/cvs
Module name:www
Changes by: mb...@cvs.openbsd.org   2022/11/16 13:33:25

Modified files:
.  : want.html 

Log message:
Add request for igc(4) desktop equipment for debugging and testing.



CVS: cvs.openbsd.org: src

2022-11-13 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/11/13 14:19:40

Modified files:
sbin/iked  : config.c 

Log message:
Make sure csa->csa_bundled is NULL after freeing to prevent a
possible use after free.
ok tobhe@



CVS: cvs.openbsd.org: src

2022-11-11 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/11/11 10:58:15

Modified files:
sbin/iked  : ikev2.c 

Log message:
Make sure csa->csa_bundled is NULL after freeing to prevent a
possible use after free.

ok tobhe@



CVS: cvs.openbsd.org: src

2022-11-11 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/11/11 09:41:44

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

Log message:
Due to checksum offloading one more element could be written to the ring
than there is space available.
ok dlg



CVS: cvs.openbsd.org: src

2022-11-11 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/11/11 09:17:16

Modified files:
sbin/iked  : ikev2_msg.c 

Log message:
In case of an invalid SA resp is passed to ikev2_msg_cleanup without
initialization where the msg_parent field is accessed.
ok tobhe



CVS: cvs.openbsd.org: src

2022-11-10 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/11/10 11:58:02

Modified files:
usr.sbin/vmd   : i8253.c i8259.c 

Log message:
Initialize data before passing it to get_input_data.  Strictly
speaking this is not necessary as all used bits of the uint32_t are
zeroed.
ok mlarkin



CVS: cvs.openbsd.org: src

2022-11-10 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/11/10 03:47:31

Modified files:
usr.sbin/bgpctl: parser.c 

Log message:
A theoretical path exists where ext.data1 is not initialized by
parseextcommunity but used afterwards.
Found by codechecker.
OK claudio



CVS: cvs.openbsd.org: src

2022-11-09 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/11/09 17:44:12

Modified files:
usr.sbin/relayd: ca.c 

Log message:
In case RSA_meth_new fails, errstr would be passed to fatalx without
initialization.
OK tb



CVS: cvs.openbsd.org: src

2022-11-09 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/11/09 17:00:11

Modified files:
usr.sbin/relayd: relayd.c 

Log message:
always call va_end.
ok tb



CVS: cvs.openbsd.org: src

2022-11-09 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/11/09 12:11:14

Modified files:
usr.sbin/acme-client: netproc.c 

Log message:
nreq could leak a http get request in case a redirect without
location header was received.
OK deraadt



CVS: cvs.openbsd.org: src

2022-11-09 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/11/09 11:48:11

Modified files:
usr.sbin/apm   : apm.c 

Log message:
In do_zzz a garbage stack value could be accessed in case a read
or write in send_command failed.
Found by codechecker.
OK deraadt



CVS: cvs.openbsd.org: src

2022-11-08 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/11/08 16:19:09

Modified files:
lib/libcrypto/objects: o_names.c 

Log message:
In case lh_OBJ_NAME_insert returns NULL due to a failed malloc, onp
is leaked in OBJ_NAME_add.
ok tb
Found by CodeChecker.



CVS: cvs.openbsd.org: src

2022-11-07 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/11/07 15:48:35

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

Log message:
Fix a memory leak in the error path of rde_dump_ctx_new.
ctx is leaked in case of an allocation in prefix_dump_new,
prefix_dump_subtree, rib_dump_new, or rib_dump_subtree fails.

Found by CodeChecker.

OK claudio@



CVS: cvs.openbsd.org: src

2022-11-07 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/11/07 15:39:13

Modified files:
usr.sbin/bgpd  : pfkey.c 
usr.sbin/ldpd  : pfkey.c 

Log message:
Fix theoretical access to garbage stack memory in pfkey_reply for
bgpd and ldpd.

Found by CodeChecker.

OK claudio@



CVS: cvs.openbsd.org: src

2022-11-07 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/11/07 04:33:24

Modified files:
usr.sbin/bgpctl: output.c output_json.c output_ometric.c 
usr.sbin/bgpd  : util.c 

Log message:
Fix some spelling errors.
OK claudio@



CVS: cvs.openbsd.org: src

2022-11-06 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/11/06 11:17:56

Modified files:
sys/dev/pci: if_em.c if_em_hw.h 

Log message:
Enable IPv4, TCP, and UDP checksum offloading, and VLAN HW tagging
for em 82575, 82576, i350, and i210.

Additional testing by Hrvoje Popovski
OK dlg@



CVS: cvs.openbsd.org: www

2022-10-01 Thread Moritz Buhl
CVSROOT:/cvs
Module name:www
Changes by: mb...@cvs.openbsd.org   2022/10/01 15:23:40

Modified files:
.  : 72.html 

Log message:
remove duplicate igc(4) entry added in 1.19



CVS: cvs.openbsd.org: src

2022-09-28 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/09/28 07:21:13

Modified files:
sys/kern   : sysv_sem.c 

Log message:
Fix memory corruptions with sysv semaphores due to sleeps in copyin,
copyout and malloc.  During a sleep another thread could delete the
semaphore (and possibly allocate another one at the same location
with different permissions) which would lead to an invalid access
after wake up.  Therefore check the semaphore pointer, the sequence,
the permissions and some values in seminfo after each sleep.
OK bluhm@
Reported-by: syzbot+60ba811fe2e8a6b0f...@syzkaller.appspotmail.com



CVS: cvs.openbsd.org: www

2022-09-28 Thread Moritz Buhl
CVSROOT:/cvs
Module name:www
Changes by: mb...@cvs.openbsd.org   2022/09/28 06:22:35

Modified files:
.  : 72.html 

Log message:
mention igc driver improvements.



CVS: cvs.openbsd.org: src

2022-09-16 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/09/16 09:57:23

Modified files:
sys/kern   : sysv_msg.c sysv_sem.c 
sys/sys: msg.h sem.h 

Log message:
semctl1 and msgctl were introduced for binary compatibility for OpenBSD 3.5.
They are no longer needed.
OK bluhm@



CVS: cvs.openbsd.org: src

2022-09-11 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/09/11 14:51:44

Modified files:
regress/lib/libc/sys: Makefile atf-c.h t_recvmmsg.c t_sendmmsg.c 

Log message:
Add regression tests for the sendmmsg and recvmmsg system calls.



CVS: cvs.openbsd.org: src

2022-09-09 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/09/09 07:54:58

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

Log message:
sync



CVS: cvs.openbsd.org: src

2022-09-09 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/09/09 07:53:00

Modified files:
lib/libc   : Symbols.list shlib_version 
lib/libc/hidden/sys: socket.h 
lib/libc/sys   : Makefile.inc recv.2 send.2 
lib/librthread : shlib_version 
Added files:
lib/libc/sys   : w_recvmmsg.c w_sendmmsg.c 

Log message:
Add libc wrappers for the new sendmmsg and recvmmsg system calls.
Feedback tb@, miod@, jca@
OK jca@



CVS: cvs.openbsd.org: src

2022-09-08 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/09/08 10:04:31

Modified files:
usr.bin/kdump  : kdump.c ktrstruct.c 

Log message:
Support the sendmmsg and recvmmsg system calls.
Input guenther@
OK bluhm@



CVS: cvs.openbsd.org: src

2022-09-05 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/09/05 10:37:47

Modified files:
sys/kern   : kern_pledge.c 

Log message:
Pledge sendmmsg and recvmmsg with stdio similar to their non-loop
counter parts. Input deraadt.
ok bluhm



CVS: cvs.openbsd.org: src

2022-09-03 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/09/03 15:16:51

Modified files:
sys/kern   : init_sysent.c syscalls.c 
sys/sys: syscall.h syscallargs.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2022-09-03 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/09/03 15:13:49

Modified files:
sys/kern   : init_sysent.c syscalls.c syscalls.master 
 uipc_syscalls.c 
sys/sys: socket.h syscall.h syscallargs.h 

Log message:
Make recvmmsg and sendmmsg look more alike. change the flag type
to int like other flag parameters, NetBSD uses unsigned int, FreeBSD
and Linux do int.
OK bluhm@



CVS: cvs.openbsd.org: src

2022-09-03 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/09/03 06:35:29

Modified files:
sys/kern   : init_sysent.c syscalls.c 
sys/sys: syscall.h syscallargs.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2022-09-03 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/09/03 06:33:45

Modified files:
sys/kern   : init_sysent.c syscalls.c syscalls.master 
 uipc_syscalls.c 
sys/sys: socket.h syscall.h syscallargs.h 

Log message:
add the sendmmsg syscall that allows sending multiple msghdrs at
once. libc, man page, and regress parts to come.
With input from jca@, bluhm@.
OK bluhm@



CVS: cvs.openbsd.org: src

2022-09-03 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/09/03 02:26:05

Added files:
lib/libc/arch/arm/quad: fixdfdi.c fixsfdi.c fixunsdfdi.c 
fixunssfdi.c 

Log message:
Fix the failing libm/rint regress test by adding ieee754 implementations
for the rounding functions.
Input from kettenis@,
OK miod@



CVS: cvs.openbsd.org: src

2022-09-03 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/09/03 02:22:32

src/lib/libc/arch/arm/quad

Update of /cvs/src/lib/libc/arch/arm/quad
In directory cvs.openbsd.org:/tmp/cvs-serv1434/quad

Log Message:
Directory /cvs/src/lib/libc/arch/arm/quad added to the repository



CVS: cvs.openbsd.org: src

2022-09-02 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/09/02 07:23:33

Modified files:
sys/kern   : init_sysent.c syscalls.c 
sys/sys: syscall.h syscallargs.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2022-09-02 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/09/02 07:18:07

Modified files:
sys/kern   : init_sysent.c syscalls.c syscalls.master 
 uipc_syscalls.c 
sys/sys: ktrace.h socket.h syscall.h syscallargs.h 

Log message:
add the recvmmsg syscall that allows receiving multiple msghdrs at
once. libc, man page, and regress parts to come.
With input from jca@, guenther@, bluhm@.
OK bluhm@



CVS: cvs.openbsd.org: src

2022-08-29 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/08/29 03:50:38

Modified files:
sys/netinet: tcp_usrreq.c 

Log message:
Sendmsg could crash in tcp_output due to a missing check after the
introduction of tcp_send.
OK mvs@, bluhm@, gnezdo@
Reported-by: syzbot+e859fd353c90eeac2...@syzkaller.appspotmail.com



CVS: cvs.openbsd.org: src

2022-07-28 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/07/28 06:27:29

Modified files:
sys/net: pf_ioctl.c 

Log message:
Release PF und NET lock before calling copyin for DIOCXCOMMIT.
OK sashan, bluhm



CVS: cvs.openbsd.org: src

2022-07-27 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/07/27 06:28:27

Modified files:
sbin/pfctl : pfctl.c 

Log message:
Remove redundant bzero, the pfctl struct memset later on.
Also memset the pfctl struct in pfctl_reset.
OK jan@



CVS: cvs.openbsd.org: src

2022-07-20 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/07/20 23:26:10

Modified files:
sbin/pfctl : pfctl.c 

Log message:
Set the default pool size for the new anchors pool otherwise it's set to 0.



CVS: cvs.openbsd.org: src

2022-07-20 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/07/20 03:33:11

Modified files:
sbin/pfctl : pfctl.c 
share/man/man4 : pf.4 
sys/net: pf.c pf_ioctl.c pf_ruleset.c pfvar.h 

Log message:
Add a pool for the allocation of the pf_anchor struct.
It was possible to exhaust kernel memory by repeatedly calling
pfioctl DIOCXBEGIN with different anchor names.
OK bluhm@
Reported-by: syzbot+9dd98cbce69e26f0f...@syzkaller.appspotmail.com



CVS: cvs.openbsd.org: src

2022-06-26 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/06/26 05:37:08

Modified files:
sys/net: pf.c pf_if.c pf_ioctl.c pf_table.c pfvar.h 

Log message:
Allow waiting during ktable allocation in pf_ioctl.

OK bluhm

Reported-by: syzbot+50ea4f33ed5dd9264...@syzkaller.appspotmail.com
Reported-by: syzbot+df65f8b7ee8c0089e...@syzkaller.appspotmail.com



CVS: cvs.openbsd.org: src

2022-06-25 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/06/25 14:33:40

Modified files:
sbin/ipsecctl  : ike.c 

Log message:
Use in_addr for AF_INET.
OK bluhm



CVS: cvs.openbsd.org: src

2022-06-25 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/06/25 13:19:39

Modified files:
sbin/disklabel : disklabel.8 editor.c 
regress/sbin/disklabel: 30.ok 9.ok 90.ok 

Log message:
Increase the auto partitioner's maximum /usr size to 30G.
OK bluhm, otto, deraadt



CVS: cvs.openbsd.org: src

2022-06-25 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/06/25 10:48:57

Modified files:
share/misc : airport 

Log message:
Add HFE in Ahnui, China.
I flew from there to Xi'an in 2019.



CVS: cvs.openbsd.org: src

2022-06-09 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/06/09 06:56:14

Modified files:
usr.sbin/tcpdump: print-ether.c 

Log message:
Readd ETHERTYPE_NHRPA case.
Found by Stefan Butz.
ok dlg@



CVS: cvs.openbsd.org: src

2022-06-02 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/06/02 01:41:17

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

Log message:
Implement and enable IPv4, TCP, and UDP checksum offloading for igc.

ok kevlo@



CVS: cvs.openbsd.org: src

2022-05-31 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/05/31 13:01:46

Modified files:
regress/sys/net/pflow: flow.10_4 flow.10_6 gen_traffic.c 

Log message:
The pflow regression test could fail due to a race where the close(2)
call of the receiver was called before the FIN on the sender was
processed.

OK bluhm@
OK anton@



CVS: cvs.openbsd.org: src

2022-05-28 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/05/28 12:39:39

Modified files:
regress/lib/libc/sys: atf-c.h t_poll.c 
regress/lib/libm/msun: atf-c.h macros.h 
Added files:
regress/lib/libc/sys: t_recvmmsg.c t_sendmmsg.c 

Log message:




CVS: cvs.openbsd.org: src

2022-05-20 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/05/20 14:08:43

Modified files:
regress/lib/libm/msun: Makefile 

Log message:
Add expected failures for octeon and riscv64.



CVS: cvs.openbsd.org: src

2022-04-29 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/04/29 03:55:43

Modified files:
sys/net: pf_if.c pf_ioctl.c pfvar.h 

Log message:
Release PF und NET lock before calling copyout for DIOCIGETIFACES.
OK sashan@
Reported-by: syzbot+b6afd166e314799e3...@syzkaller.appspotmail.com



CVS: cvs.openbsd.org: src

2022-04-23 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/04/23 10:04:05

Modified files:
regress/lib/libm/cephes: testvectll.c 

Log message:
Fix compilation on octeon, arm64, and riscv64.



CVS: cvs.openbsd.org: src

2022-04-09 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/04/09 07:15:44

Modified files:
sys/net: pf_ioctl.c 

Log message:
Release PF und NET lock before calling copyin for DIOCXROLLBACK.
OK bluhm@
Reported-by: syzbot+2945769fc3e6fd9ee...@syzkaller.appspotmail.com



CVS: cvs.openbsd.org: src

2022-04-08 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/04/08 07:13:14

Modified files:
sys/dev: ipmi.c 

Log message:
fix leaking memory in get_sdr on failure.
Found by LLVM scan-build.
ok sthen@



CVS: cvs.openbsd.org: src

2022-04-07 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/04/07 13:27:25

Modified files:
sys/net: pf_ioctl.c 

Log message:
Release PF und NET lock before calling copyin and copyout for
DIOCXBEGIN.
OK bluhm@
OK sashan@
Reported-by: syzbot+b22ec16c5bf937578...@syzkaller.appspotmail.com



CVS: cvs.openbsd.org: src

2022-04-07 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/04/07 08:13:01

Modified files:
sys/net: pf_ioctl.c 

Log message:
pf_rollback_rules always has the same return value, make it void.
OK sashan
OK bluhm@



CVS: cvs.openbsd.org: src

2022-02-13 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/02/13 05:26:54

Modified files:
sbin/iked  : ikev2.c 

Log message:
SKEEYSEED -> SKEYSEED



CVS: cvs.openbsd.org: src

2022-02-07 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/02/07 09:42:59

Modified files:
regress/lib/libm/msun: Makefile 

Log message:
mark failing tests for armv7



CVS: cvs.openbsd.org: src

2022-02-07 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/02/07 09:28:45

Modified files:
regress/lib/libm/msun: Makefile 

Log message:
trig_test-2 now passes on macppc



CVS: cvs.openbsd.org: src

2022-01-14 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/01/14 12:53:42

Modified files:
regress/lib/libm/msun: Makefile 

Log message:
mark failing tests for macppc
OK bluhm@



CVS: cvs.openbsd.org: src

2022-01-12 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2022/01/12 13:17:08

Modified files:
sys/nfs: nfs_subs.c 

Log message:
fixup previous refactoring
OK stsp@ (without assuming any responsibility for NFS)



CVS: cvs.openbsd.org: src

2021-11-11 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2021/11/11 09:01:38

Modified files:
regress/lib/libm/msun: Makefile 

Log message:
exponential_test passes on i386.



CVS: cvs.openbsd.org: src

2021-10-24 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2021/10/24 18:48:49

Modified files:
regress/lib/libm/msun: Makefile 

Log message:
Use EXPECTED_FAIL instead of DISABLED.



CVS: cvs.openbsd.org: src

2021-10-22 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2021/10/22 12:07:01

Modified files:
regress/lib/libm/msun: exponential_test.c 

Log message:
oops.



CVS: cvs.openbsd.org: src

2021-10-22 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2021/10/22 12:00:23

Modified files:
regress/lib/libm/msun: Makefile conj_test.c fenv_test.c 
   ilogb_test.c lrint_test.c test-utils.h 
Added files:
regress/lib/libm/msun: atf-c.c atf-c.h cexp_test.c csqrt_test.c 
   ctrig_test.c exponential_test.c fls.c 
   fma_test.c fmaxmin_test.c invctrig_test.c 
   invtrig_test.c logarithm_test.c 
   lround_test.c macros.h nan_test.c 
   nearbyint_test.c next_test.c rem_test.c 
   trig_test.c 

Log message:
add missing FreeBSD libm tests, update the others



CVS: cvs.openbsd.org: src

2021-09-27 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2021/09/27 08:07:44

Modified files:
regress/lib/libc/sys: t_gettimeofday.c 

Log message:
Make t_gettimeofday pass on sparc64.
OK bluhm@



CVS: cvs.openbsd.org: src

2021-09-14 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2021/09/14 05:04:21

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

Log message:
put back the mux_ctx memleak fix for SSH_CHANNEL_MUX_CLIENT
OK mfriedl@



CVS: cvs.openbsd.org: src

2021-09-04 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2021/09/04 01:06:58

Modified files:
regress/lib/libc/sys: Makefile 

Log message:
Disable tests that don't work in bluhms regress framework.



CVS: cvs.openbsd.org: src

2021-09-02 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2021/09/02 09:28:41

Modified files:
regress/lib/libc/sys: Makefile README macros.h t_fork.c 
Added files:
regress/lib/libc/sys: t_vfork.c 

Log message:
Enable vfork syscall test. Disable SIGSTOP test as it is masked until
exec/exit with vfork.
OK bluhm@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2021/09/02 06:40:44

Modified files:
regress/lib/libc/sys: Makefile README atf-c.h h_macros.h 
  macros.h t_clock_gettime.c t_syscall.c 
Added files:
regress/lib/libc/sys: t_connect.c t_fork.c t_kevent.c 
  t_minherit.c t_pollts.c t_ppoll.c 
  t_setrlimit.c t_sigaltstack.c 
  t_wait_noproc.c t_wait_noproc_wnohang.c 

Log message:
Import more NetBSD system call regression tests.
OK bluhm@