CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/06/10 06:51:25
Modified files:
usr.sbin/bgpd : session.c
Log message:
In get_alternate_addr() consider sessions to IPv6 link-local addresses
as connected (they are so by definition).
Issue reported
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/06/07 02:22:53
Modified files:
usr.sbin/rpki-client: main.c repo.c
Log message:
Download new TA files into a temporary place (.ta/) so that the parser
can decide which of the two files to use.
With and
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/06/04 02:26:11
Modified files:
sys/dev: rnd.c
Log message:
In dequeue_randomness() use an atomic instruction to increase the
rnd_event_cons. This way even concurrent calls to
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/06/03 08:34:19
Modified files:
sys/kern : subr_witness.c
Log message:
Remove lock_class_sched_lock from lock_classes since the corresponding
entry in enum lock_class_index was removed in
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/06/03 06:48:25
Modified files:
sys/dev/pci/drm: drm_linux.c
sys/sys: sched.h
sys/kern : kern_exit.c kern_fork.c kern_resource.c
kern_sched.c
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/06/03 06:46:59
Modified files:
sys/sys: _lock.h
Log message:
There is no more LO_CLASS_SCHED_LOCK lock class.
OK miod@ mlarkin@ tb@ jca@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/30 06:33:15
Modified files:
usr.sbin/rpki-client: repo.c
Log message:
Properly setup the fts_state in the FTS_D case.
At fts_level 1 the state needs to be fully reset since we most probably
exited
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/30 02:29:30
Modified files:
usr.sbin/bgpd : rde_update.c
Log message:
Fix copy-paste error in last commit. Fixes lladdr and l3vpn regress.
Noticed by anton@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/29 12:55:45
Modified files:
sys/kern : kern_fork.c kern_lock.c sched_bsd.c
sys/sys: sched.h
Log message:
Convert SCHED_LOCK from a recursive kernel lock to a mutex.
Over the
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/29 04:41:12
Modified files:
usr.sbin/bgpd : rde_update.c
Log message:
Handle IPvX only interfaces with IPvY sessions more gracefully.
In up_get_nexthop() check that the local_vX_addr is actually
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/29 04:38:24
Modified files:
usr.sbin/bgpd : session.c
Log message:
Only fall back to the default IPv4 unicast mode if there was no MP
capability neither from our side not the remote end.
Also
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/29 04:36:32
Modified files:
usr.sbin/bgpd : rde.h
Log message:
Remove nexthop_compare() prototype.
OK henning@ sthen@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/29 04:34:56
Modified files:
usr.sbin/bgpd : rde_rib.c
Log message:
Rename nexthop_compare to nexthop_cmp and make it static inline.
OK henning@ sthen@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/29 04:34:07
Modified files:
usr.sbin/bgpd : util.c
Log message:
Introduce a ring buffer for log_sockaddr() this way log_addr() can be
used more then once in a log message (e.g. log_peer_warnx +
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/28 09:16:45
Modified files:
sys/arch/arm64/arm64: pmap.c
Log message:
Rework the pmap ASID handling to not require the SCHED_LOCK
The ASID lookup code already uses its own mutex (pmap_asid_mtx)
and
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/28 03:27:54
Modified files:
sys/arch/m88k/include: cpu.h
sys/arch/m88k/m88k: m88k_machdep.c
Log message:
cpu_emergency_disable() was only used by mvme88k and can be removed now.
This
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/28 03:19:04
Modified files:
sys/dev/fdt: bcm2835_mbox.c
Log message:
Remove the bcmmbox_write(BCMMBOX_CHANPM, ...) call in bcmmbox_attach().
This command locks up my RaspberryPi 4 while it
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/22 06:33:07
Modified files:
usr.sbin/fw_update: patterns.c
Log message:
Add pattern for mwx(4) firmware.
OK phessler@ martijn@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/22 03:24:11
Modified files:
sys/kern : kern_synch.c
Log message:
When clearing the wait channel also clear the wait message.
There is no reason to keep the wait message in place since it will
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/22 03:22:55
Modified files:
sys/kern : kern_sig.c
Log message:
In the big p_stat switch in ptsignal do not call return but instead
use one of the gotos. In this case goto out with mask and
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/22 03:20:22
Modified files:
sys/kern : kern_resource.c
Log message:
Just grab the SCHED_LOCK() once in donice() before walking the ps_threads
list. setpriority() is trivial and probably faster
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/22 02:42:34
Modified files:
usr.sbin/bgpctl: bgpctl.c output.c output_json.c
Log message:
Adjust code since remote_bgpid, bgpid and clusterid changed to
host byte order.
OK tb@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/22 02:41:14
Modified files:
usr.sbin/bgpd : config.c mrt.c parse.y printconf.c rde.c rde.h
rde_peer.c session.c
Log message:
Convert bgpid, remote_bgpid and clusterid to
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/20 04:32:20
Modified files:
sys/kern : kern_exit.c kern_fork.c kern_proc.c
kern_resource.c kern_sig.c kern_synch.c
sys/sys: proc.h
Log message:
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/20 04:01:52
Modified files:
usr.sbin/bgpd : session.c
Log message:
Convert more of the session engine parsers to the new ibuf API
This converts OPEN and it capability parser and RREFRESH and with
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/20 04:00:00
Modified files:
usr.sbin/bgpd : logmsg.c
Log message:
Tabs on empty line
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/16 03:38:21
Modified files:
usr.sbin/bgpd : session.c
Log message:
Simplify the code to clamp the TCP send and recv buffer to 64k.
We don't really care if it works or not and we don't want to
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/15 08:43:32
Modified files:
usr.sbin/rpki-client: spl.c
Log message:
Add missing space
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/10 03:21:41
Modified files:
sys/kern : init_sysent.c syscalls.c
sys/sys: syscall.h syscallargs.h
Log message:
Regen
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/10 03:21:01
Modified files:
sys/kern : syscalls.master
Log message:
The ptsignal() race against p_sigmask changes by dosigsuspend() are fixed.
Unlock sigsuspend() and __thrsigdivert() again.
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/07 09:54:23
Modified files:
sys/kern : uipc_socket2.c
Log message:
rw_enter() with RW_NOSLEEP returns EBUSY and not the expected EWOULDBLOCK
This fixes random gmake failures during ports
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/05/07 04:46:35
Modified files:
sys/kern : kern_sig.c
Log message:
In Rev 1.296 the update of the siglist was moved to the end of ptsignal().
One atomic_clearbits_int() hiding in SSTOP was missed
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/24 13:10:11
Modified files:
sys/kern : init_sysent.c syscalls.c
sys/sys: syscall.h syscallargs.h
Log message:
Regen
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/24 13:09:14
Modified files:
sys/kern : syscalls.master
Log message:
Revert rev 1.261 and require sigsuspend and __thrsigdivert to take
KERNEL_LOCK. There is at least a race in sigsuspend which
CVSROOT:/cvs
Module name:www
Changes by: clau...@cvs.openbsd.org 2024/04/24 06:07:11
Modified files:
faq: current.html
Log message:
Document the removal of announce capabilities [yes|no] in bgpd.conf
With input from tb@ and sthen@
CVSROOT:/cvs
Module name:www
Changes by: clau...@cvs.openbsd.org 2024/04/24 04:44:19
Modified files:
openbgpd : ftp.html
Log message:
Regen
CVSROOT:/cvs
Module name:www
Changes by: clau...@cvs.openbsd.org 2024/04/24 04:43:41
Modified files:
build : Makefile
build/mirrors : openbgpd-ftp.html.head
Log message:
OpenBGPD 8.4 was releases some time ago, finally update website.
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/24 04:42:09
Modified files:
usr.sbin/bgpctl: output_json.c
Log message:
announce_capa is no more.
OK tb@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/24 04:41:34
Modified files:
usr.sbin/bgpd : bgpd.conf.5 bgpd.h parse.y printconf.c
session.c
Log message:
Remove 'announce capabilities' as neighbor config stanza.
There
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/24 03:30:30
Modified files:
sys/dev/sbus : magma.c magmareg.h
Log message:
Use static inline for cd1400_write_ccr() because clang 16 has issues with it.
Also remove some unused prototypes.
>From
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/22 03:43:11
Modified files:
usr.sbin/bgpd : session.c
Log message:
In state IDLE handle EVNT_STOP and stop the IdleHold timer. This way
a down of an idle connection will properly stop the session.
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/22 03:36:04
Modified files:
usr.sbin/bgpd : control.c session.c session.h
Log message:
Move setting of the shutdown reason to session_stop()
Also make sure that something is logged when a session
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/22 02:53:59
Modified files:
usr.sbin/bgpd : session.c
Log message:
No longer fall back to no capabilities when there is an OPEN/optional
attribute error.
BGP more and more relies on capabilities,
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/21 23:54:01
Modified files:
regress/usr.sbin/rpki-client: test-aspa.c test-cert.c test-gbr.c
test-geofeed.c test-ip.c
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/21 13:27:44
Modified files:
usr.sbin/rpki-client: cert.c cms.c crl.c extern.h filemode.c
output-json.c parser.c repo.c
Log message:
P-256 support is experimental so
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/18 04:29:39
Modified files:
sys/sys: proc.h
Log message:
proc_trampoline_mp() was replaced by proc_trampoline_mi() adjust prototype.
OK mpi@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/18 03:06:42
Modified files:
sys/kern : kern_sig.c
Log message:
If a proc has P_WEXIT set do not stop it, let it exit since it is already
mostly dead.
This is more like belts and suspenders
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/18 02:59:38
Modified files:
sys/kern : kern_synch.c
Log message:
Clear PCATCH for procs that have P_WEXIT set.
Exiting procs will not return to userland and can not deliver signals so
it is
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/17 08:01:17
Modified files:
usr.sbin/rpki-client: http.c
Log message:
Set Accept: */* HTTP header like it was done in ftp(1).
OK tb@ job@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/17 03:41:44
Modified files:
sys/kern : kern_resource.c
Log message:
dogetrusage() must be called with the KERNEL_LOCK held for now.
OK mpi@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/17 00:18:18
Modified files:
regress/usr.bin/snmp: Makefile
Log message:
Only use the first egress interface in $IFIDX and $IFLLADDR. Systems
can have more then one interface.
This only works if ther
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/16 04:06:37
Modified files:
sys/uvm: uvm_swap.c
Log message:
Call bufq_destroy() in swap_off for the VREG case since swap_on() called
bufq_init(). Similar issue as the use-after-free in mfs.
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/16 04:04:41
Modified files:
sys/ufs/mfs: mfs_vnops.c
Log message:
Call bufq_destroy() in mfs_reclaim() before freeing the mfsnode.
This fixes a use-after-free bug in bufq_quiesce() once a mfs
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/15 09:09:26
Modified files:
sys/kern : init_sysent.c syscalls.c
sys/sys: syscall.h syscallargs.h
Log message:
Regen after sigsuspend and __thrsigdivert unlock
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/15 09:08:21
Modified files:
sys/kern : syscalls.master
Log message:
sigsuspend and __thrsigdivert no longer require the KERNEL_LOCK since
dosigsuspend() no longer needs it.
OK mvs@ mpi@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/11 02:33:15
Modified files:
usr.sbin/bgpd : session.c
Log message:
Use != NULL for pointer check. No binary change.
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/10 04:05:26
Modified files:
sys/kern : kern_sig.c sys_generic.c
sys/sys: proc.h
Log message:
Unlock dosigsuspend() and with that some aspects of ppoll and pselect
Change
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/10 03:05:32
Modified files:
usr.sbin/bgpd : session.c
Log message:
Rework the logic to not send double notifications in session_notification().
last_sent_errcode is now cleared late (when state
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/09 06:53:08
Modified files:
sys/net: if_wg.c rtable.c rtable.h
Log message:
Don't include net/art.h in net/rtable.h instead let the two users
include the file themselves.
OK bluhm@ mpi@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/09 06:40:01
Modified files:
usr.sbin/bgpd : parse.y
Log message:
Limit the number of provider ASnumbers to MAX_ASPA_SPAS_COUNT (10'000)
in the parser as well.
OK tb@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/09 06:09:20
Modified files:
usr.sbin/bgpd : bgpd.h rtr_proto.c
Log message:
Increase RTR PDU limit to 48k and limit number of SPAS to 10'000.
PDU larger then 48k will result in a session reset
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/09 06:05:07
Modified files:
usr.sbin/bgpd : rtr.c bgpd.c
Log message:
Check that the ASPA tas array fits in an IMSG before sending the ASPA
record over to RTR or the RDE.
The long term goal is to
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/09 03:35:57
Modified files:
regress/usr.sbin/bgpd/integrationtests: Makefile
Added files:
regress/usr.sbin/bgpd/integrationtests: bgpd.capa.client.conf
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/09 03:33:46
Modified files:
regress/usr.sbin/bgpd/config: Makefile bgpd.conf.12.ok
bgpd.conf.13.ok bgpd.conf.15.ok
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/09 03:03:18
Modified files:
usr.sbin/bgpd : bgpd.conf.5 bgpd.h parse.y printconf.c
session.c
Log message:
Allow operators to enforce the presence of certain capabilities
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/03 02:58:55
Modified files:
regress/usr.sbin/bgpd/integrationtests: bgpd.md5.rdomain2.conf
Log message:
Switch one of the tcpmd5 passwords over to use the hex key instead.
This way both modes are
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/03 02:57:26
Modified files:
usr.sbin/bgpd : parse.y
Log message:
Rewrite str2key() to not use strtoul() to convert 2 hexdigits into one
char. Instead use a simple function to do the conversion per
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/02 08:23:16
Modified files:
lib/libc/sys : getsockopt.2
sys/kern : uipc_socket.c
Log message:
Implement SO_ACCEPTCONN in getsockopt(2)
Requested by robert@
OK mvs@ millert@ deraadt@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/02 04:04:28
Removed files:
regress/usr.sbin/bgpd/config: bgpd.conf.example.ok
Log message:
Remove unused file
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/04/02 03:48:24
Modified files:
usr.bin/ssh: ssh-pkcs11.c
Log message:
Remove unused ptr[3] char array in pkcs11_decode_hex.
OK deraadt@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/03/26 08:46:49
Modified files:
sys/arch/sparc64/stand/ofwboot: boot.c vers.c
Log message:
Implement the chmod a-x bsd.upgrade trick in the sparc64 ofwboot bootloader.
OK deraadt@ florian@ kn@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/03/26 06:45:29
Modified files:
usr.sbin/bgpd : session.c
Log message:
Move the SendHoldTimer code into start_timer_sendholdtime() and ensure
the timer is stopped if HoldTime is 0.
OK tb@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/03/22 09:41:34
Modified files:
usr.sbin/bgpd : bgpd.h logmsg.c rtr_proto.c session.c util.c
Log message:
Rework the cease shutdown reason to work in both directions by looking
at the ibuf payload
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/03/22 01:19:28
Modified files:
usr.sbin/bgpd : bgpd.h logmsg.c session.c session.h util.c
Log message:
Rework parse_notification() to use the ibuf API for everything.
While there fix the RFC5492
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/03/22 01:15:04
Modified files:
sys/nfs: nfs_socket.c nfs_syscalls.c
Log message:
Limit NFS connections to originate from a reserved port.
For TCP connections do the check when adding the
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/03/21 04:58:15
Modified files:
sbin/nfsd : nfsd.c
Log message:
Do not exit the master process if a client TCP connection fails to be
added.
OK millert@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/03/20 03:35:46
Modified files:
usr.sbin/bgpd : parse.y printconf.c rde.c rde_peer.c session.c
util.c
Log message:
Cleanup AID handling.
- Loops over all valid AID should
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/03/20 03:26:42
Modified files:
usr.bin/rsync : sender.c
Log message:
Remove some else statements in if () else if () chains that don't need
to be written this way. Makes the code more readable.
OK tb@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/03/18 08:54:53
Modified files:
usr.sbin/bgpd : parse.y
Log message:
Typecast char argument to isxdigit() to unsigned char since isxdigit()
only works that way correctly.
OK deraadt@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/03/18 04:49:24
Modified files:
usr.sbin/bgpd : bgpd.h
Log message:
Double PEER_DESCR_LEN to 64 characters since 32 is a bit on the short side.
OK sthen@, deraadt@, dlg@, tb@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/03/18 04:16:50
Modified files:
usr.sbin/bgpd : bgpd.conf.5
Log message:
Use same markup for origin-set arguments as for roa-set. The maxlen argument
is optional.
OK tb@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/03/07 08:01:53
Modified files:
sys/arch/sparc64/sparc64: machdep.c
Log message:
In _bus_dmamap_load_mbuf() ensure that for large mbuf m_len values
the incr value is rounded to the page boundary. This
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/03/07 07:49:47
Modified files:
sys/dev/pci: if_ix.c
Log message:
Fix possible double free in error path of ixgbe_rxeof.
If fmp is not-NULL then the buf is part of the mbuf chain of fmp. So
only
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/03/01 09:23:37
Modified files:
usr.sbin/bgpd : version.h
Log message:
Bump version
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/02/28 02:36:11
Modified files:
usr.bin/rsync : blocks.c
Log message:
Refactor blk_match(). Fold the remaining data and empty file or no blocks
cases together since they are kind of the same.
OK tb@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/02/27 04:28:30
Modified files:
usr.bin/rsync : blocks.c extern.h hash.c sender.c
Log message:
Split hash_file into three steps, setup, add buf and final.
Setup inits the context and adds the seed.
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/02/22 06:49:17
Modified files:
sys/ddb: db_ctf.c
Log message:
Improve db_ctf_pprint(), implement handlers for arrays and enums.
Use db_get_value() to access addr to ensure that alignment
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/02/22 06:21:03
Modified files:
usr.bin/ctfdump: ctfdump.c
Log message:
Print the size of more objects (basic types and enums) based on their
ctt_size info. This helps to ensure that the reported sizes
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/02/22 06:17:18
Modified files:
usr.bin/ctfconv: parse.c
Log message:
Rewrite the it_cmp() function to use the common check bigger than, check
smaller than logic.
There was a bug in this code because
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/02/22 06:15:17
Modified files:
usr.bin/ctfconv: generate.c
Log message:
The ctt_size of integers and floating point numbers is in bytes not bits.
OK mpi@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/02/21 06:24:37
Modified files:
usr.bin/ctfconv: parse.c
Log message:
In it_cmp() make sure that arrays are only considered equal if both
have the same number of elements. This fixes an issue where
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/02/21 06:21:56
Modified files:
usr.bin/ctfconv: parse.c
Log message:
Make DPRINTF() depend on DEBUG and add the missing ;
OK mpi@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/02/21 06:20:38
Modified files:
usr.bin/ctfconv: parse.c
Log message:
Apply the void workaround also for typedefs.
The kernel has 'typedef VOID void' which needs this.
OK mpi@
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/02/21 06:18:33
Modified files:
usr.bin/ctfconv: parse.c
Log message:
Handle DW_FORM_udata and DW_FORM_ref_udata in dav2val().
At least with clang enums use DW_FORM_udata and without this all enum
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/02/21 06:16:14
Modified files:
usr.bin/ctfconv: dw.c dwarf.h
Log message:
Make sure dw_at2name() never returns NULL. This call is used in various
printf calls that clang decided to optimise into puts
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/02/21 03:48:10
Modified files:
sys/dev/pci: files.pci
Added files:
sys/dev/pci: if_mwx.c if_mwxreg.h
Log message:
Import mwx(4) a driver for Mediatek MT7921 and MT7922 802.11ax devices
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/02/21 02:28:29
Modified files:
sys/kern : uipc_mbuf.c
Log message:
Keep mbuf data alignment intact in m_defrag()
The recent TSO support in em(4) triggered an alignment error on the TCP
header.
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/02/20 03:37:35
Modified files:
regress/usr.bin/rsync-unit: rmatch_test.c
Log message:
Include the test pattern that resulted in an infinite loop before
rmatch.c rev 1.4.
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/02/20 03:36:23
Modified files:
usr.bin/rsync : rmatch.c
Log message:
Add missing check for the case where the pattern hits a barrier before
the string is consumed as well. Right now a string of
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/02/20 02:42:49
Modified files:
regress/usr.bin: Makefile
Log message:
Add rsync-unit
1 - 100 of 3630 matches
Mail list logo