CVS commit: src/external/gpl3/gcc
Module Name:src Committed By: rin Date: Fri Aug 18 01:21:09 UTC 2023 Modified Files: src/external/gpl3/gcc: README.gcc12 Log Message: README.gcc12: For vax, C++ exception handling is broken also for gcc10 Therefore, native gcc breakage [25] may be an independent issue. Anyway, neet to investigate further... To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gcc/README.gcc12 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gcc
Module Name:src Committed By: rin Date: Fri Aug 18 01:21:09 UTC 2023 Modified Files: src/external/gpl3/gcc: README.gcc12 Log Message: README.gcc12: For vax, C++ exception handling is broken also for gcc10 Therefore, native gcc breakage [25] may be an independent issue. Anyway, neet to investigate further... To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gcc/README.gcc12 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gcc/README.gcc12 diff -u src/external/gpl3/gcc/README.gcc12:1.16 src/external/gpl3/gcc/README.gcc12:1.17 --- src/external/gpl3/gcc/README.gcc12:1.16 Thu Aug 17 03:36:25 2023 +++ src/external/gpl3/gcc/README.gcc12 Fri Aug 18 01:21:08 2023 @@ -1,4 +1,4 @@ -$NetBSD: README.gcc12,v 1.16 2023/08/17 03:36:25 rin Exp $ +$NetBSD: README.gcc12,v 1.17 2023/08/18 01:21:08 rin Exp $ new stuff: @@ -102,18 +102,18 @@ architecture tools kernels libgcc native #0 0x4064265c in __sanitizer::CheckASLR () at /usr/src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cpp:2181 #1 0xc704 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) -[17]: Not a regression, libtsan is newly introduced. tsan fails with: +[17]: (NOT A REGRESSION) libtsan is newly introduced, which fails with: FATAL: ThreadSanitizer: unexpected memory mapping 0x20010-0x200101000 [18]: *san requires 64-bit atomic ops: ld: /usr/lib/libasan.so: undefined reference to `__sync_val_compare_and_swap_8' If lib*san is compiled with -march=i586, all tests in usr.bin/{cc,c++} successfully pass. -[19]: Kernel freezes with garbage parmanently output to console, after lib/libc/sys/t_ptrace_wait:syscall_signal_on_sce fails: +[19]: kernel freezes with garbage parmanently output to console, after lib/libc/sys/t_ptrace_wait:syscall_signal_on_sce fails: syscall_signal_on_sce: [[ 3013.0266693] sorry pid 1847 was killed: orphanes ss ss ss ... -[20]: Kernel needs -O1 for ffs32() and ffs_nodealloccg() for multi-user boot. Even if the whole kernel is built with -O1, it panics during ATF: +[20]: kernel needs -O1 for ffs32() and ffs_nodealloccg() for multi-user boot. Even if the whole kernel is built with -O1, it panics during ATF: kernel/t_sysv (92/935): 3 test cases msg: [ 3981.4751382] panic: kernel diagnostic assertion "msghdr->msg_spot >= 0" failed: file "../../../../kern/sysv_msg.c", line 426 [21]: asan has v7/v8/atomic issues: @@ -129,12 +129,12 @@ architecture tools kernels libgcc native however, at least db(3) is broken, by which files are corrupted when edited by vi(1). [23]: sanitizers fail to build: sanitizer_flag_parser.h:141:72: error: format '%zx' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Werror=format=] -[24]: c++ exception handling is broken. mechanically applying +[24]: (NOT A REGRESSION) c++ exception handling is broken. mechanically applying http://www.execsw.org/netbsd/changeset.cgi?id=20140318T234341Z.c59ac4642e7d4b345f6dc5aa9887e9e1f9aa459a#src/gnu/dist/gcc4/gcc/config/vax/vax.c - (with adjustments for gcc 10.5.0) does not help: + does not help (with adjustments for gcc 10.5.0, which is broken, too): (gdb) invalid-command [1] Illegal instruction (core dumped) gdb -[25]: (probably due to [24]) native gcc is broken: +[25]: (maybe not related to [24]) native gcc is broken: simh# cc hello.c during RTL pass: final hello.c: In function 'main':
Re: CVS commit: src/external/gpl3/gdb/dist/gdb
> For vax, something still wrong. This was due to my test environment built by GCC 12. For system built by GCC 10, GDB 13 works just fine (except for C++ exception handling), as far as I can see. Thanks, rin On Thu, Aug 17, 2023 at 4:45 PM Rin Okuyama wrote: > > Module Name:src > Committed By: rin > Date: Thu Aug 17 07:45:11 UTC 2023 > > Modified Files: > src/external/gpl3/gdb/dist/gdb: configure.tgt > > Log Message: > gdb/vax and ia64: Add missing tdep files for NetBSD > > They are also missing for gdb 11. > > XXX > For vax, something still wrong. For ia64, compile test only. > > > To generate a diff of this commit: > cvs rdiff -u -r1.30 -r1.31 src/external/gpl3/gdb/dist/gdb/configure.tgt > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. >
Re: CVS commit: src/external/gpl3/gdb/dist/bfd
This was not correct. Core file support for NetBSD/riscv was present for our local version of GDB 11, and lost during merge. Thanks, rin On Thu, Aug 17, 2023 at 4:37 PM Rin Okuyama wrote: > > Module Name:src > Committed By: rin > Date: Thu Aug 17 07:37:36 UTC 2023 > > Modified Files: > src/external/gpl3/gdb/dist/bfd: configure > > Log Message: > gdb/bfd: Add initial support to NetBSD-style core file for riscv > > Not working yet: > > Reading symbols from cat... > Reading symbols from /usr/libdata/debug//bin/cat.debug... > > warning: Couldn't find general-purpose registers in core file. > Core was generated by `cat'. > Program terminated with signal SIGQUIT, Quit. > > warning: Couldn't find general-purpose registers in core file. > #0 in ?? () > (gdb) > > > To generate a diff of this commit: > cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gdb/dist/bfd/configure > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. >
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Fri Aug 18 01:00:02 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: ppc-netbsd-tdep.c ppc-netbsd-tdep.h Log Message: gdb/ppc: Resolve static v.s. extern confusion found in upstream. NFC. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.c cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.c diff -u src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.c:1.3 src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.c:1.4 --- src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.c:1.3 Thu Aug 17 05:53:45 2023 +++ src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.c Fri Aug 18 01:00:02 2023 @@ -34,7 +34,7 @@ #include "solib-svr4.h" /* Register offsets from . */ -ppc_reg_offsets ppcnbsd_reg_offsets; +static ppc_reg_offsets ppcnbsd_reg_offsets; /* Core file support. */ Index: src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.h diff -u src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.h:1.1.1.1 src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.h:1.2 --- src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.h:1.1.1.1 Sun Jul 30 22:44:44 2023 +++ src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.h Fri Aug 18 01:00:02 2023 @@ -22,9 +22,6 @@ struct regset; -/* Register offsets for NetBSD/powerpc. */ -extern struct ppc_reg_offsets ppcnbsd_reg_offsets; - /* Register sets for NetBSD/powerpc. */ extern const struct regset ppcnbsd_gregset; extern const struct regset ppcnbsd_fpregset;
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Fri Aug 18 01:00:02 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: ppc-netbsd-tdep.c ppc-netbsd-tdep.h Log Message: gdb/ppc: Resolve static v.s. extern confusion found in upstream. NFC. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.c cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/gdb/ppc-netbsd-tdep.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Fri Aug 18 00:04:00 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: configure.tgt corelow.c hppa-tdep.h Log Message: gdb: Slightly reduce diff from upstream. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/external/gpl3/gdb/dist/gdb/configure.tgt cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gdb/dist/gdb/corelow.c cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gdb/dist/gdb/hppa-tdep.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Fri Aug 18 00:04:00 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: configure.tgt corelow.c hppa-tdep.h Log Message: gdb: Slightly reduce diff from upstream. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/external/gpl3/gdb/dist/gdb/configure.tgt cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gdb/dist/gdb/corelow.c cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gdb/dist/gdb/hppa-tdep.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/gdb/configure.tgt diff -u src/external/gpl3/gdb/dist/gdb/configure.tgt:1.32 src/external/gpl3/gdb/dist/gdb/configure.tgt:1.33 --- src/external/gpl3/gdb/dist/gdb/configure.tgt:1.32 Thu Aug 17 07:47:07 2023 +++ src/external/gpl3/gdb/dist/gdb/configure.tgt Fri Aug 18 00:04:00 2023 @@ -151,10 +151,6 @@ aarch64*-*-netbsd*) arch/aarch64-insn.o" ;; -alpha*-*-osf*) - # Target: Little-endian Alpha running OSF/1 - gdb_target_obs="alpha-tdep.o alpha-osf1-tdep.o alpha-mdebug-tdep.o" - ;; alpha*-*-linux*) # Target: Little-endian Alpha running Linux gdb_target_obs="alpha-mdebug-tdep.o alpha-linux-tdep.o \ @@ -552,7 +548,7 @@ riscv*-*-linux*) ;; riscv*-*-netbsd*) -# Target: FreeBSD/riscv +# Target: NetBSD/riscv gdb_target_obs="riscv-netbsd-tdep.o" ;; Index: src/external/gpl3/gdb/dist/gdb/corelow.c diff -u src/external/gpl3/gdb/dist/gdb/corelow.c:1.3 src/external/gpl3/gdb/dist/gdb/corelow.c:1.4 --- src/external/gpl3/gdb/dist/gdb/corelow.c:1.3 Mon Jul 31 17:00:49 2023 +++ src/external/gpl3/gdb/dist/gdb/corelow.c Fri Aug 18 00:04:00 2023 @@ -916,6 +916,7 @@ core_target::xfer_partial (enum target_o m_core_section_table, no_contents_cb); #endif + return xfer_status; } case TARGET_OBJECT_AUXV: Index: src/external/gpl3/gdb/dist/gdb/hppa-tdep.h diff -u src/external/gpl3/gdb/dist/gdb/hppa-tdep.h:1.11 src/external/gpl3/gdb/dist/gdb/hppa-tdep.h:1.12 --- src/external/gpl3/gdb/dist/gdb/hppa-tdep.h:1.11 Mon Jul 31 17:00:49 2023 +++ src/external/gpl3/gdb/dist/gdb/hppa-tdep.h Fri Aug 18 00:04:00 2023 @@ -214,6 +214,4 @@ extern int hppa_in_solib_call_trampoline CORE_ADDR pc); extern CORE_ADDR hppa_skip_trampoline_code (frame_info_ptr, CORE_ADDR pc); -void _initialize_hppabsd_tdep (void); - #endif /* hppa-tdep.h */
CVS commit: src/sys/net
Module Name:src Committed By: christos Date: Thu Aug 17 22:10:37 UTC 2023 Modified Files: src/sys/net: bpf.h Log Message: add new for libpcap. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/sys/net/bpf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/net/bpf.h diff -u src/sys/net/bpf.h:1.80 src/sys/net/bpf.h:1.81 --- src/sys/net/bpf.h:1.80 Mon Jul 31 19:53:38 2023 +++ src/sys/net/bpf.h Thu Aug 17 18:10:37 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: bpf.h,v 1.80 2023/07/31 23:53:38 christos Exp $ */ +/* $NetBSD: bpf.h,v 1.81 2023/08/17 22:10:37 christos Exp $ */ /* * Copyright (c) 1990, 1991, 1993 @@ -604,6 +604,8 @@ u_int bpf_filter_with_aux_data(const str #define BPF_TRACK_EVENT_ATTACH 1 #define BPF_TRACK_EVENT_DETACH 2 +void bpf_dump(const struct bpf_program *, int); +char *bpf_image(const struct bpf_insn *, int); __END_DECLS
CVS commit: src/sys/net
Module Name:src Committed By: christos Date: Thu Aug 17 22:10:37 UTC 2023 Modified Files: src/sys/net: bpf.h Log Message: add new for libpcap. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/sys/net/bpf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/bsd/tcpdump
Module Name:src Committed By: christos Date: Thu Aug 17 20:19:42 UTC 2023 Modified Files: src/external/bsd/tcpdump/bin: Makefile src/external/bsd/tcpdump/dist: addrtoname.c addrtostr.c af.c ah.h ascii_strcasecmp.c bpf_dump.c checksum.c config.guess config.sub configure cpack.c cpack.h extract.h gmpls.c in_cksum.c interface.h ip.h ip6.h ipproto.c ipproto.h l2vpn.c machdep.c nameser.h netdissect-stdinc.h netdissect.c netdissect.h nfs.h nlpid.c oui.c parsenfsfh.c print-802_11.c print-802_15_4.c print-ah.c print-ahcp.c print-aodv.c print-aoe.c print-ap1394.c print-arcnet.c print-arp.c print-ascii.c print-atalk.c print-atm.c print-babel.c print-beep.c print-bfd.c print-bgp.c print-bootp.c print-bt.c print-calm-fast.c print-carp.c print-cdp.c print-cfm.c print-chdlc.c print-cip.c print-cnfp.c print-dccp.c print-decnet.c print-dhcp6.c print-domain.c print-dtp.c print-dvmrp.c print-eap.c print-egp.c print-eigrp.c print-enc.c print-esp.c print-ether.c print-fddi.c print-forces.c print-fr.c print-frag6.c print-ftp.c print-geneve.c print-geonet.c print-gre.c print-hncp.c print-hsrp.c print-http.c print-icmp.c print-icmp6.c print-igmp.c print-igrp.c print-ip.c print-ip6.c print-ip6opts.c print-ipcomp.c print-ipfc.c print-ipnet.c print-ipx.c print-isakmp.c print-isoclns.c print-juniper.c print-krb.c print-l2tp.c print-lane.c print-ldp.c print-lisp.c print-llc.c print-lldp.c print-lmp.c print-loopback.c print-lspping.c print-lwapp.c print-lwres.c print-m3ua.c print-mobile.c print-mobility.c print-mpcp.c print-mpls.c print-mptcp.c print-msdp.c print-msnlb.c print-nflog.c print-nfs.c print-nsh.c print-ntp.c print-null.c print-olsr.c print-openflow-1.0.c print-openflow.c print-ospf.c print-ospf6.c print-otv.c print-pflog.c print-pfsync.c print-pgm.c print-pim.c print-pktap.c print-ppi.c print-ppp.c print-pppoe.c print-pptp.c print-radius.c print-raw.c print-resp.c print-rip.c print-ripng.c print-rpki-rtr.c print-rsvp.c print-rt6.c print-rtsp.c print-rx.c print-sctp.c print-sflow.c print-sip.c print-sl.c print-sll.c print-slow.c print-smb.c print-smtp.c print-snmp.c print-stp.c print-sunatm.c print-sunrpc.c print-symantec.c print-syslog.c print-tcp.c print-telnet.c print-tftp.c print-timed.c print-tipc.c print-token.c print-udld.c print-udp.c print-usb.c print-vjc.c print-vqp.c print-vrrp.c print-vtp.c print-vxlan-gpe.c print-vxlan.c print-wb.c print-zephyr.c print-zeromq.c print.c signature.c smbutil.c strtoaddr.c tcp.h tcpdump.1.in tcpdump.c udp.h util-print.c src/external/bsd/tcpdump/include: config.h Removed Files: src/external/bsd/tcpdump/dist: CONTRIBUTING INSTALL.txt PLATFORMS Readme.Win32 ether.h getopt_long.h gmt2local.c gmt2local.h pcap_dump_ftell.c print-medsa.c print-rrcp.c rpl.h setsignal.c setsignal.h vfprintf.c src/external/bsd/tcpdump/dist/tests: SMBLIST TESTonce TESTrun.sh ahcp.pcap bgp_mvpn_6_and_7.out bgp_mvpn_6_and_7.pcap crypto.sh cve-2018-10105-segv-sflowprint.out cve-2018-10105-segv-sflowprint.pcapng cve-2018-10105_smbprint-readofsize1.out cve-2018-10105_smbprint-readofsize1.pcap cve-2018-10105_smbutil_withoutasan.out cve-2018-10105_smbutil_withoutasan.pcap cve2015-0261-ipv6.out.stderr eapon2.out eapon2.pcap esp4.out hdlc_slarp.pcap heapoverflow-EXTRACT_16BITS.out heapoverflow-EXTRACT_16BITS.pcap heapoverflow-ip_print_demux.out heapoverflow-ip_print_demux.pcap hncp_prefix-oobr.pcapng icmp-cksum-oobr-3.pcap icmp-cksum-oobr-4.pcap ikev2pI2-segfault.pcap isakmp-no-none-np.pcap isis-seg-fault-1-v.sh isis-seg-fault-1.pcap isis-seg-fault-2.pcap isis-seg-fault-3.pcap juniper_atm1.out juniper_atm1.pcap juniper_es.out juniper_es.pcap kday1.out.stderr kday2.out.stderr kday3.out.stderr kday4.out.stderr kday5.out.stderr kday6.out.stderr kday7.out.stderr kday8.out.stderr kh-addrfail-001.out kh-addrfail-001.out.stderr kh-addrfail-001.pcap kh-addrfail-002.out kh-addrfail-002.out.stderr kh-addrfail-002.pcap kh-addrfail-003.out kh-addrfail-003.out.stderr kh-addrfail-003.pcap kh-addrfail-004.out kh-addrfail-004.out.stderr kh-addrfail-004.pcap kh-addrfail-005.out kh-addrfail-005.out.stderr kh-addrfail-005.pcap kh-addrfail-006.out kh-addrfail-006.out.stderr kh-addrfail-006.pcap kh-addrfail-007.out kh-addrfail-00
CVS commit: src/external/bsd/tcpdump
Module Name:src Committed By: christos Date: Thu Aug 17 20:19:42 UTC 2023 Modified Files: src/external/bsd/tcpdump/bin: Makefile src/external/bsd/tcpdump/dist: addrtoname.c addrtostr.c af.c ah.h ascii_strcasecmp.c bpf_dump.c checksum.c config.guess config.sub configure cpack.c cpack.h extract.h gmpls.c in_cksum.c interface.h ip.h ip6.h ipproto.c ipproto.h l2vpn.c machdep.c nameser.h netdissect-stdinc.h netdissect.c netdissect.h nfs.h nlpid.c oui.c parsenfsfh.c print-802_11.c print-802_15_4.c print-ah.c print-ahcp.c print-aodv.c print-aoe.c print-ap1394.c print-arcnet.c print-arp.c print-ascii.c print-atalk.c print-atm.c print-babel.c print-beep.c print-bfd.c print-bgp.c print-bootp.c print-bt.c print-calm-fast.c print-carp.c print-cdp.c print-cfm.c print-chdlc.c print-cip.c print-cnfp.c print-dccp.c print-decnet.c print-dhcp6.c print-domain.c print-dtp.c print-dvmrp.c print-eap.c print-egp.c print-eigrp.c print-enc.c print-esp.c print-ether.c print-fddi.c print-forces.c print-fr.c print-frag6.c print-ftp.c print-geneve.c print-geonet.c print-gre.c print-hncp.c print-hsrp.c print-http.c print-icmp.c print-icmp6.c print-igmp.c print-igrp.c print-ip.c print-ip6.c print-ip6opts.c print-ipcomp.c print-ipfc.c print-ipnet.c print-ipx.c print-isakmp.c print-isoclns.c print-juniper.c print-krb.c print-l2tp.c print-lane.c print-ldp.c print-lisp.c print-llc.c print-lldp.c print-lmp.c print-loopback.c print-lspping.c print-lwapp.c print-lwres.c print-m3ua.c print-mobile.c print-mobility.c print-mpcp.c print-mpls.c print-mptcp.c print-msdp.c print-msnlb.c print-nflog.c print-nfs.c print-nsh.c print-ntp.c print-null.c print-olsr.c print-openflow-1.0.c print-openflow.c print-ospf.c print-ospf6.c print-otv.c print-pflog.c print-pfsync.c print-pgm.c print-pim.c print-pktap.c print-ppi.c print-ppp.c print-pppoe.c print-pptp.c print-radius.c print-raw.c print-resp.c print-rip.c print-ripng.c print-rpki-rtr.c print-rsvp.c print-rt6.c print-rtsp.c print-rx.c print-sctp.c print-sflow.c print-sip.c print-sl.c print-sll.c print-slow.c print-smb.c print-smtp.c print-snmp.c print-stp.c print-sunatm.c print-sunrpc.c print-symantec.c print-syslog.c print-tcp.c print-telnet.c print-tftp.c print-timed.c print-tipc.c print-token.c print-udld.c print-udp.c print-usb.c print-vjc.c print-vqp.c print-vrrp.c print-vtp.c print-vxlan-gpe.c print-vxlan.c print-wb.c print-zephyr.c print-zeromq.c print.c signature.c smbutil.c strtoaddr.c tcp.h tcpdump.1.in tcpdump.c udp.h util-print.c src/external/bsd/tcpdump/include: config.h Removed Files: src/external/bsd/tcpdump/dist: CONTRIBUTING INSTALL.txt PLATFORMS Readme.Win32 ether.h getopt_long.h gmt2local.c gmt2local.h pcap_dump_ftell.c print-medsa.c print-rrcp.c rpl.h setsignal.c setsignal.h vfprintf.c src/external/bsd/tcpdump/dist/tests: SMBLIST TESTonce TESTrun.sh ahcp.pcap bgp_mvpn_6_and_7.out bgp_mvpn_6_and_7.pcap crypto.sh cve-2018-10105-segv-sflowprint.out cve-2018-10105-segv-sflowprint.pcapng cve-2018-10105_smbprint-readofsize1.out cve-2018-10105_smbprint-readofsize1.pcap cve-2018-10105_smbutil_withoutasan.out cve-2018-10105_smbutil_withoutasan.pcap cve2015-0261-ipv6.out.stderr eapon2.out eapon2.pcap esp4.out hdlc_slarp.pcap heapoverflow-EXTRACT_16BITS.out heapoverflow-EXTRACT_16BITS.pcap heapoverflow-ip_print_demux.out heapoverflow-ip_print_demux.pcap hncp_prefix-oobr.pcapng icmp-cksum-oobr-3.pcap icmp-cksum-oobr-4.pcap ikev2pI2-segfault.pcap isakmp-no-none-np.pcap isis-seg-fault-1-v.sh isis-seg-fault-1.pcap isis-seg-fault-2.pcap isis-seg-fault-3.pcap juniper_atm1.out juniper_atm1.pcap juniper_es.out juniper_es.pcap kday1.out.stderr kday2.out.stderr kday3.out.stderr kday4.out.stderr kday5.out.stderr kday6.out.stderr kday7.out.stderr kday8.out.stderr kh-addrfail-001.out kh-addrfail-001.out.stderr kh-addrfail-001.pcap kh-addrfail-002.out kh-addrfail-002.out.stderr kh-addrfail-002.pcap kh-addrfail-003.out kh-addrfail-003.out.stderr kh-addrfail-003.pcap kh-addrfail-004.out kh-addrfail-004.out.stderr kh-addrfail-004.pcap kh-addrfail-005.out kh-addrfail-005.out.stderr kh-addrfail-005.pcap kh-addrfail-006.out kh-addrfail-006.out.stderr kh-addrfail-006.pcap kh-addrfail-007.out kh-addrfail-00
CVS commit: src/usr.bin/make
Module Name:src Committed By: rillig Date: Thu Aug 17 19:06:51 UTC 2023 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varmod-mtime.exp varmod-mtime.mk Log Message: make: be strict when parsing the argument of the ':mtime' modifier To generate a diff of this commit: cvs rdiff -u -r1.1060 -r1.1061 src/usr.bin/make/var.c cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/varmod-mtime.exp \ src/usr.bin/make/unit-tests/varmod-mtime.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/make/var.c diff -u src/usr.bin/make/var.c:1.1060 src/usr.bin/make/var.c:1.1061 --- src/usr.bin/make/var.c:1.1060 Thu Aug 17 18:52:51 2023 +++ src/usr.bin/make/var.c Thu Aug 17 19:06:51 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: var.c,v 1.1060 2023/08/17 18:52:51 rillig Exp $ */ +/* $NetBSD: var.c,v 1.1061 2023/08/17 19:06:51 rillig Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -139,7 +139,7 @@ #include "metachar.h" /* "@(#)var.c 8.3 (Berkeley) 3/19/94" */ -MAKE_RCSID("$NetBSD: var.c,v 1.1060 2023/08/17 18:52:51 rillig Exp $"); +MAKE_RCSID("$NetBSD: var.c,v 1.1061 2023/08/17 19:06:51 rillig Exp $"); /* * Variables are defined using one of the VAR=value assignments. Their @@ -2885,11 +2885,16 @@ ApplyModifier_Mtime(const char **pp, Mod if (args.use_fallback) { p++; if (TryParseTime(&p, &args.fallback)) { - } else if (strncmp(p, "error", 5) == 0) { + } else if (strncmp(p, "error", 5) == 0 + && IsDelimiter(p[5], ch)) { p += 5; args.error = true; - } else - return AMR_BAD; + } else { + Parse_Error(PARSE_FATAL, + "Invalid argument '%.*s' for modifier ':mtime'", + (int)strcspn(p, ":{}()"), p); + return AMR_CLEANUP; + } *pp = p; } if (!ModChain_ShouldEval(ch)) Index: src/usr.bin/make/unit-tests/varmod-mtime.exp diff -u src/usr.bin/make/unit-tests/varmod-mtime.exp:1.2 src/usr.bin/make/unit-tests/varmod-mtime.exp:1.3 --- src/usr.bin/make/unit-tests/varmod-mtime.exp:1.2 Thu Aug 17 18:48:32 2023 +++ src/usr.bin/make/unit-tests/varmod-mtime.exp Thu Aug 17 19:06:51 2023 @@ -1,7 +1,7 @@ make: "varmod-mtime.mk" line 58: Cannot determine mtime for 'no/such/file1': make: "varmod-mtime.mk" line 58: Cannot determine mtime for 'no/such/file2': make: "varmod-mtime.mk" line 58: Malformed conditional (${no/such/file1 no/such/file2:L:mtime=error}) -make: "varmod-mtime.mk" line 69: Unknown modifier "handler-no" +make: "varmod-mtime.mk" line 69: Invalid argument 'errorhandler-no' for modifier ':mtime' make: "varmod-mtime.mk" line 69: Malformed conditional (${MAKEFILE:mtime=errorhandler-no} > 0) make: Fatal errors encountered -- cannot continue make: stopped in unit-tests Index: src/usr.bin/make/unit-tests/varmod-mtime.mk diff -u src/usr.bin/make/unit-tests/varmod-mtime.mk:1.2 src/usr.bin/make/unit-tests/varmod-mtime.mk:1.3 --- src/usr.bin/make/unit-tests/varmod-mtime.mk:1.2 Thu Aug 17 18:48:32 2023 +++ src/usr.bin/make/unit-tests/varmod-mtime.mk Thu Aug 17 19:06:51 2023 @@ -1,4 +1,4 @@ -# $NetBSD: varmod-mtime.mk,v 1.2 2023/08/17 18:48:32 rillig Exp $ +# $NetBSD: varmod-mtime.mk,v 1.3 2023/08/17 19:06:51 rillig Exp $ # # Tests for the ':mtime' variable modifier, which maps each word of the # expression to that file's modification time. @@ -62,9 +62,9 @@ _!= rm -f ${COOKIE} .endif -# TODO: Only the word 'error' is a special argument to the ':mtime' modifier, -# all other words should result in a parse error. -# expect+2: Unknown modifier "handler-no" +# Only the word 'error' is a special argument to the ':mtime' modifier, all +# other words result in a parse error. +# expect+2: Invalid argument 'errorhandler-no' for modifier ':mtime' # expect+1: Malformed conditional (${MAKEFILE:mtime=errorhandler-no} > 0) .if ${MAKEFILE:mtime=errorhandler-no} > 0 .else
CVS commit: src/usr.bin/make
Module Name:src Committed By: rillig Date: Thu Aug 17 19:06:51 UTC 2023 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varmod-mtime.exp varmod-mtime.mk Log Message: make: be strict when parsing the argument of the ':mtime' modifier To generate a diff of this commit: cvs rdiff -u -r1.1060 -r1.1061 src/usr.bin/make/var.c cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/varmod-mtime.exp \ src/usr.bin/make/unit-tests/varmod-mtime.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/make
Module Name:src Committed By: rillig Date: Thu Aug 17 18:52:52 UTC 2023 Modified Files: src/usr.bin/make: var.c Log Message: make: clean up variable names and indentation for the ':mtime' modifier No functional change. To generate a diff of this commit: cvs rdiff -u -r1.1059 -r1.1060 src/usr.bin/make/var.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/make/var.c diff -u src/usr.bin/make/var.c:1.1059 src/usr.bin/make/var.c:1.1060 --- src/usr.bin/make/var.c:1.1059 Fri Jun 23 05:21:10 2023 +++ src/usr.bin/make/var.c Thu Aug 17 18:52:51 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: var.c,v 1.1059 2023/06/23 05:21:10 rillig Exp $ */ +/* $NetBSD: var.c,v 1.1060 2023/08/17 18:52:51 rillig Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -139,7 +139,7 @@ #include "metachar.h" /* "@(#)var.c 8.3 (Berkeley) 3/19/94" */ -MAKE_RCSID("$NetBSD: var.c,v 1.1059 2023/06/23 05:21:10 rillig Exp $"); +MAKE_RCSID("$NetBSD: var.c,v 1.1060 2023/08/17 18:52:51 rillig Exp $"); /* * Variables are defined using one of the VAR=value assignments. Their @@ -2836,17 +2836,17 @@ ApplyModifier_Match(const char **pp, Mod struct ModifyWord_MtimeArgs { bool error; - bool fallback; + bool use_fallback; ApplyModifierResult rc; - time_t t; + time_t fallback; }; static void ModifyWord_Mtime(Substring word, SepBuf *buf, void *data) { - char tbuf[BUFSIZ]; - struct stat st; struct ModifyWord_MtimeArgs *args = data; + struct stat st; + char tbuf[21]; if (Substring_IsEmpty(word)) return; @@ -2859,8 +2859,8 @@ ModifyWord_Mtime(Substring word, SepBuf args->rc = AMR_CLEANUP; return; } - if (args->fallback) - st.st_mtime = args->t; + if (args->use_fallback) + st.st_mtime = args->fallback; else time(&st.st_mtime); } @@ -2879,18 +2879,17 @@ ApplyModifier_Mtime(const char **pp, Mod return AMR_UNKNOWN; *pp += 5; p = *pp; - args.error = args.fallback = false; + args.error = false; + args.use_fallback = p[0] == '='; args.rc = AMR_OK; - if (p[0] == '=') { + if (args.use_fallback) { p++; - args.fallback = true; - if (!TryParseTime(&p, &args.t)) { - if (strncmp(p, "error", 5) == 0) { -args.error = true; -p += 5; - } else -return AMR_BAD; - } + if (TryParseTime(&p, &args.fallback)) { + } else if (strncmp(p, "error", 5) == 0) { + p += 5; + args.error = true; + } else + return AMR_BAD; *pp = p; } if (!ModChain_ShouldEval(ch))
CVS commit: src/usr.bin/make
Module Name:src Committed By: rillig Date: Thu Aug 17 18:52:52 UTC 2023 Modified Files: src/usr.bin/make: var.c Log Message: make: clean up variable names and indentation for the ':mtime' modifier No functional change. To generate a diff of this commit: cvs rdiff -u -r1.1059 -r1.1060 src/usr.bin/make/var.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/make/unit-tests
Module Name:src Committed By: rillig Date: Thu Aug 17 18:48:33 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: Makefile varmod-mtime.exp varmod-mtime.mk Log Message: tests/make: extend tests for the ':mtime' modifier To generate a diff of this commit: cvs rdiff -u -r1.339 -r1.340 src/usr.bin/make/unit-tests/Makefile cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/varmod-mtime.exp \ src/usr.bin/make/unit-tests/varmod-mtime.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/make/unit-tests/Makefile diff -u src/usr.bin/make/unit-tests/Makefile:1.339 src/usr.bin/make/unit-tests/Makefile:1.340 --- src/usr.bin/make/unit-tests/Makefile:1.339 Tue Jun 20 09:25:34 2023 +++ src/usr.bin/make/unit-tests/Makefile Thu Aug 17 18:48:32 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.339 2023/06/20 09:25:34 rillig Exp $ +# $NetBSD: Makefile,v 1.340 2023/08/17 18:48:32 rillig Exp $ # # Unit tests for make(1) # @@ -559,6 +559,7 @@ SED_CMDS.suff-transform-debug+= ${STD_SE SED_CMDS.var-op-shell+= ${STD_SED_CMDS.shell} SED_CMDS.var-op-shell+= -e '/command/s,No such.*,not found,' SED_CMDS.vardebug+= -e 's,${.SHELL},,' +SED_CMDS.varmod-mtime+= -e "s,': .*,': ," SED_CMDS.varmod-subst-regex+= ${STD_SED_CMDS.regex} SED_CMDS.varparse-errors+= ${STD_SED_CMDS.timestamp} SED_CMDS.varname-dot-make-meta-ignore_filter+= ${SED_CMDS.meta-ignore} Index: src/usr.bin/make/unit-tests/varmod-mtime.exp diff -u src/usr.bin/make/unit-tests/varmod-mtime.exp:1.1 src/usr.bin/make/unit-tests/varmod-mtime.exp:1.2 --- src/usr.bin/make/unit-tests/varmod-mtime.exp:1.1 Tue May 9 20:14:27 2023 +++ src/usr.bin/make/unit-tests/varmod-mtime.exp Thu Aug 17 18:48:32 2023 @@ -1 +1,8 @@ -exit status 0 +make: "varmod-mtime.mk" line 58: Cannot determine mtime for 'no/such/file1': +make: "varmod-mtime.mk" line 58: Cannot determine mtime for 'no/such/file2': +make: "varmod-mtime.mk" line 58: Malformed conditional (${no/such/file1 no/such/file2:L:mtime=error}) +make: "varmod-mtime.mk" line 69: Unknown modifier "handler-no" +make: "varmod-mtime.mk" line 69: Malformed conditional (${MAKEFILE:mtime=errorhandler-no} > 0) +make: Fatal errors encountered -- cannot continue +make: stopped in unit-tests +exit status 1 Index: src/usr.bin/make/unit-tests/varmod-mtime.mk diff -u src/usr.bin/make/unit-tests/varmod-mtime.mk:1.1 src/usr.bin/make/unit-tests/varmod-mtime.mk:1.2 --- src/usr.bin/make/unit-tests/varmod-mtime.mk:1.1 Tue May 9 20:14:27 2023 +++ src/usr.bin/make/unit-tests/varmod-mtime.mk Thu Aug 17 18:48:32 2023 @@ -1,30 +1,80 @@ -# $NetBSD: varmod-mtime.mk,v 1.1 2023/05/09 20:14:27 sjg Exp $ +# $NetBSD: varmod-mtime.mk,v 1.2 2023/08/17 18:48:32 rillig Exp $ # -# Tests for the :mtime variable modifier, which provides mtime -# of variable value assumed to be a pathname. +# Tests for the ':mtime' variable modifier, which maps each word of the +# expression to that file's modification time. -all: +start:= ${%s:L:gmtime} -# mtime of this makefile -mtime:= ${MAKEFILE:mtime} -# if pathname does not exist and timestamp is provided -# that is the result -.if ${no/such:L:mtime=0} != "0" +# Ensure that this makefile exists and has a modification time. If the file +# didn't exist, the ':mtime' modifier would return the current time. +.if ${MAKEFILE:mtime} >= ${start} . error .endif -.if ${no/such:L:mtime=42} != "42" + +# For a file that doesn't exist, the ':mtime' modifier returns the current +# time, without an error or warning message. The returned timestamp differs +# from the 'now' that is used when updating the timestamps in archives or for +# touching files using the '-t' option, which is taken once when make is +# started. +not_found_mtime:= ${no/such/file:L:mtime} +.if ${not_found_mtime} < ${start} +. error +.endif + + +# The ':mtime' modifier accepts a timestamp in seconds as an optional +# argument. This timestamp is used as a fallback in case the file's time +# cannot be determined, without any error or warning message. +.if ${no/such/file:L:mtime=0} != "0" +. error +.endif + + +# The fallback timestamp must start with a digit, and it is interpreted as a +# decimal integer. +.if ${no/such/file:L:mtime=00042} != "42" +. error +.endif + + +# The timestamp of a newly created file must be at least as great as the +# timestamp when parsing of this makefile started. +COOKIE= ${TMPDIR:U/tmp}/varmod-mtime.cookie +_!= touch ${COOKIE} +.if ${COOKIE:mtime=0} < ${start} +. error ${COOKIE:mtime=0} < ${start} +.endif +_!= rm -f ${COOKIE} + + +# If the optional argument of the ':mtime' modifier is the word 'error', the +# modifier fails with an error message, once for each affected file. +# +# expect+3: Cannot determine mtime for 'no/such/file1': +# expect+2: Cannot determine mtime for 'no/such/file2': +# expect+1: Malformed conditional (${no/such/file1 no/such/file2:L:mtime=error}) +.if ${no/such/file1 no/such/
CVS commit: src/usr.bin/make/unit-tests
Module Name:src Committed By: rillig Date: Thu Aug 17 18:48:33 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: Makefile varmod-mtime.exp varmod-mtime.mk Log Message: tests/make: extend tests for the ':mtime' modifier To generate a diff of this commit: cvs rdiff -u -r1.339 -r1.340 src/usr.bin/make/unit-tests/Makefile cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/varmod-mtime.exp \ src/usr.bin/make/unit-tests/varmod-mtime.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/bsd/libpcap/lib
Module Name:src Committed By: christos Date: Thu Aug 17 16:19:05 UTC 2023 Modified Files: src/external/bsd/libpcap/lib: Makefile Log Message: enable pcap_debug To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/external/bsd/libpcap/lib/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/libpcap/lib/Makefile diff -u src/external/bsd/libpcap/lib/Makefile:1.33 src/external/bsd/libpcap/lib/Makefile:1.34 --- src/external/bsd/libpcap/lib/Makefile:1.33 Thu Aug 17 11:30:36 2023 +++ src/external/bsd/libpcap/lib/Makefile Thu Aug 17 12:19:05 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2023/08/17 15:30:36 christos Exp $ +# $NetBSD: Makefile,v 1.34 2023/08/17 16:19:05 christos Exp $ USE_SHLIBDIR=yes .include @@ -111,7 +111,7 @@ ${i:S/manfile.in/5/}: ${i} __sed .endfor CPPFLAGS+= -I${.CURDIR}/../include -I${.CURDIR} -I${SRCDIR} -CPPFLAGS+= -DYYBISON +CPPFLAGS+= -DYYBISON -DYYDEBUG LPREFIX= pcap_ LFLAGS+= --header-file=scanner.h YPREFIX= pcap_
CVS commit: src/external/bsd/libpcap/lib
Module Name:src Committed By: christos Date: Thu Aug 17 16:19:05 UTC 2023 Modified Files: src/external/bsd/libpcap/lib: Makefile Log Message: enable pcap_debug To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/external/bsd/libpcap/lib/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS import: src/external/bsd/tcpdump/dist
Module Name:src Committed By: christos Date: Thu Aug 17 15:57:32 UTC 2023 Update of /cvsroot/src/external/bsd/tcpdump/dist In directory ivanova.netbsd.org:/tmp/cvs-serv16913 Log Message: Import tcpdump-4.99.4 (last was 4.9.3) Friday, April 7, 2023 / The Tcpdump Group Summary for 4.99.4 tcpdump release Source code: Fix spaces before tabs in indentation. Updated printers: LSP ping: Fix "Unused value" warnings from Coverity. CVE-2023-1801: Fix an out-of-bounds write in the SMB printer. DNS: sync resource types with IANA. ICMPv6: Update the output to show a RPL DAO field name. Geneve: Fix the Geneve UDP port test. Building and testing: Require at least autoconf 2.69. Don't check for strftime(), as it's in C90 and beyond. Update config.{guess,sub}, timestamps 2023-01-01,2023-01-21. Documentation: man: Document TCP flag names better. Thursday, January 12, 2023 / The Tcpdump Group Summary for 4.99.3 tcpdump release Updated printers: PTP: Use the proper values for the control field and print un-allocated values for the message field as "Reserved" instead of "none". Source code: smbutil.c: Replace obsolete function call (asctime) Building and testing: cmake: Update the minimum required version to 2.8.12 (except Windows). CI: Introduce and use TCPDUMP_CMAKE_TAINTED. Makefile.in: Add the releasecheck target. Makefile.in: Add "make -s install" in the releasecheck target. Cirrus CI: Run the "make releasecheck" command in the Linux task. Makefile.in: Add the whitespacecheck target. Cirrus CI: Run the "make whitespacecheck" command in the Linux task. Address all shellcheck warnings in update-test.sh. Makefile.in: Get rid of a remain of gnuc.h. Documentation: Reformat the installation notes (INSTALL.txt) in Markdown. Convert CONTRIBUTING to Markdown. CONTRIBUTING.md: Document the use of "protocol: " in a commit summary. Add a README file for NetBSD. Fix CMake build to set man page section numbers in tcpdump.1 Saturday, December 31, 2022 / The Tcpdump Group Summary for 4.99.2 tcpdump release Updated printers: BGP: Update cease notification decoding to RFC 9003. BGP: decode BGP link-bandwidth extended community properly. BGP: Fix parsing the AIGP attribute BGP: make sure the path attributes don't go past the end of the packet. BGP: Shutdown message can be up to 255 bytes length according to rfc9003 DSA: correctly determine VID. EAP: fix some length checks and output issues. 802.11: Fix the misleading comment regarding "From DS", "To DS" Frame Control Flags. 802.11: Fetch the CF and TIM IEs a field at a time. 802.15.4, BGP, LISP: fix some length checks, compiler warnings, and undefined behavior warnings. PFLOG: handle LINKTYPE_PFLOG/DLT_PFLOG files from all OSes on all OSes. RRCP: support more Realtek protocols than just RRCP. MPLS: show the EXP field as TC, as per RFC 5462. ICMP: redo MPLS Extension code as general ICMP Extension code. VQP: Do not print unknown error codes twice. Juniper: Add some bounds checks. Juniper: Don't treat known DLT_ types as "Unknown". lwres: Fix a length check, update a variable type. EAP: Fix some undefined behaviors at runtime. Ethernet: Rework the length checks, add a length check. IPX: Add two length checks. Zephyr: Avoid printing non-ASCII characters. VRRP: Print the protocol name before any GET_(). DCCP: Get rid of trailing commas in lists. Juniper: Report invalid packets as invalid, not truncated. IPv6: Remove an obsolete code in an always-false #if wrapper. ISAKMP: Use GET_U_1() to replace a direct dereference. RADIUS: Use GET_U_1() to replace a direct dereference. TCP: Fix an invalid check. RESP: Fix an invalid check. RESP: Remove an unnecessary test. Arista: Refine the output format and print HwInfo. sFlow: add support for IPv6 agent, add a length check. VRRP: add support for IPv6. OSPF: Update to match the Router Properties registry. OSPF: Remove two unnecessary dereferences. OSPF: Add support bit Nt RFC3101. OSPFv3: Remove two unnecessary dereferences. ICMPv6: Fix output for Router Renumbering messages. ICMPv6: Fix the Node Information flags. ICMPv6: Remove an unused macro and extra blank lines. ICMPv6: Add a length check in the rpl_dio_print() function. ICMPv6: Use GET_IP6ADDR_STRING() in the rpl_dio_print() function. IPv6: Add some checks for the Hop-by-Hop Options header IPv6: Add a check for the Jumbo Payload Hop-by-Hop option. NFS: Fix the format for printing an unsigned int PTP: fix printing of the correction fields PTP: Use ND_LCHECK_U for checking
CVS import: src/external/bsd/tcpdump/dist
Module Name:src Committed By: christos Date: Thu Aug 17 15:57:32 UTC 2023 Update of /cvsroot/src/external/bsd/tcpdump/dist In directory ivanova.netbsd.org:/tmp/cvs-serv16913 Log Message: Import tcpdump-4.99.4 (last was 4.9.3) Friday, April 7, 2023 / The Tcpdump Group Summary for 4.99.4 tcpdump release Source code: Fix spaces before tabs in indentation. Updated printers: LSP ping: Fix "Unused value" warnings from Coverity. CVE-2023-1801: Fix an out-of-bounds write in the SMB printer. DNS: sync resource types with IANA. ICMPv6: Update the output to show a RPL DAO field name. Geneve: Fix the Geneve UDP port test. Building and testing: Require at least autoconf 2.69. Don't check for strftime(), as it's in C90 and beyond. Update config.{guess,sub}, timestamps 2023-01-01,2023-01-21. Documentation: man: Document TCP flag names better. Thursday, January 12, 2023 / The Tcpdump Group Summary for 4.99.3 tcpdump release Updated printers: PTP: Use the proper values for the control field and print un-allocated values for the message field as "Reserved" instead of "none". Source code: smbutil.c: Replace obsolete function call (asctime) Building and testing: cmake: Update the minimum required version to 2.8.12 (except Windows). CI: Introduce and use TCPDUMP_CMAKE_TAINTED. Makefile.in: Add the releasecheck target. Makefile.in: Add "make -s install" in the releasecheck target. Cirrus CI: Run the "make releasecheck" command in the Linux task. Makefile.in: Add the whitespacecheck target. Cirrus CI: Run the "make whitespacecheck" command in the Linux task. Address all shellcheck warnings in update-test.sh. Makefile.in: Get rid of a remain of gnuc.h. Documentation: Reformat the installation notes (INSTALL.txt) in Markdown. Convert CONTRIBUTING to Markdown. CONTRIBUTING.md: Document the use of "protocol: " in a commit summary. Add a README file for NetBSD. Fix CMake build to set man page section numbers in tcpdump.1 Saturday, December 31, 2022 / The Tcpdump Group Summary for 4.99.2 tcpdump release Updated printers: BGP: Update cease notification decoding to RFC 9003. BGP: decode BGP link-bandwidth extended community properly. BGP: Fix parsing the AIGP attribute BGP: make sure the path attributes don't go past the end of the packet. BGP: Shutdown message can be up to 255 bytes length according to rfc9003 DSA: correctly determine VID. EAP: fix some length checks and output issues. 802.11: Fix the misleading comment regarding "From DS", "To DS" Frame Control Flags. 802.11: Fetch the CF and TIM IEs a field at a time. 802.15.4, BGP, LISP: fix some length checks, compiler warnings, and undefined behavior warnings. PFLOG: handle LINKTYPE_PFLOG/DLT_PFLOG files from all OSes on all OSes. RRCP: support more Realtek protocols than just RRCP. MPLS: show the EXP field as TC, as per RFC 5462. ICMP: redo MPLS Extension code as general ICMP Extension code. VQP: Do not print unknown error codes twice. Juniper: Add some bounds checks. Juniper: Don't treat known DLT_ types as "Unknown". lwres: Fix a length check, update a variable type. EAP: Fix some undefined behaviors at runtime. Ethernet: Rework the length checks, add a length check. IPX: Add two length checks. Zephyr: Avoid printing non-ASCII characters. VRRP: Print the protocol name before any GET_(). DCCP: Get rid of trailing commas in lists. Juniper: Report invalid packets as invalid, not truncated. IPv6: Remove an obsolete code in an always-false #if wrapper. ISAKMP: Use GET_U_1() to replace a direct dereference. RADIUS: Use GET_U_1() to replace a direct dereference. TCP: Fix an invalid check. RESP: Fix an invalid check. RESP: Remove an unnecessary test. Arista: Refine the output format and print HwInfo. sFlow: add support for IPv6 agent, add a length check. VRRP: add support for IPv6. OSPF: Update to match the Router Properties registry. OSPF: Remove two unnecessary dereferences. OSPF: Add support bit Nt RFC3101. OSPFv3: Remove two unnecessary dereferences. ICMPv6: Fix output for Router Renumbering messages. ICMPv6: Fix the Node Information flags. ICMPv6: Remove an unused macro and extra blank lines. ICMPv6: Add a length check in the rpl_dio_print() function. ICMPv6: Use GET_IP6ADDR_STRING() in the rpl_dio_print() function. IPv6: Add some checks for the Hop-by-Hop Options header IPv6: Add a check for the Jumbo Payload Hop-by-Hop option. NFS: Fix the format for printing an unsigned int PTP: fix printing of the correction fields PTP: Use ND_LCHECK_U for checking
CVS commit: src/external/bsd/libpcap
Module Name:src Committed By: christos Date: Thu Aug 17 15:30:36 UTC 2023 Modified Files: src/external/bsd/libpcap: Makefile.inc src/external/bsd/libpcap/include: config.h src/external/bsd/libpcap/lib: Makefile src/external/bsd/libpcap/sbin/rpcapd: Makefile Log Message: Don't build with OpenSSL by default because we install in /lib and there is no libcrypto there. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/libpcap/Makefile.inc cvs rdiff -u -r1.12 -r1.13 src/external/bsd/libpcap/include/config.h cvs rdiff -u -r1.32 -r1.33 src/external/bsd/libpcap/lib/Makefile cvs rdiff -u -r1.3 -r1.4 src/external/bsd/libpcap/sbin/rpcapd/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/libpcap/Makefile.inc diff -u src/external/bsd/libpcap/Makefile.inc:1.3 src/external/bsd/libpcap/Makefile.inc:1.4 --- src/external/bsd/libpcap/Makefile.inc:1.3 Thu Aug 17 11:18:12 2023 +++ src/external/bsd/libpcap/Makefile.inc Thu Aug 17 11:30:35 2023 @@ -1,6 +1,7 @@ -# $NetBSD: Makefile.inc,v 1.3 2023/08/17 15:18:12 christos Exp $ +# $NetBSD: Makefile.inc,v 1.4 2023/08/17 15:30:35 christos Exp $ SRCDIR := ${.PARSEDIR}/dist +USE_OPENSSL ?= no CPPFLAGS+=-DLBL_ALIGN OPENSSLDIR= ${NETBSDSRCDIR}/crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR} Index: src/external/bsd/libpcap/include/config.h diff -u src/external/bsd/libpcap/include/config.h:1.12 src/external/bsd/libpcap/include/config.h:1.13 --- src/external/bsd/libpcap/include/config.h:1.12 Thu Aug 17 11:18:13 2023 +++ src/external/bsd/libpcap/include/config.h Thu Aug 17 11:30:36 2023 @@ -136,8 +136,8 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_NET_RAW_H */ -/* Use OpenSSL */ -#define HAVE_OPENSSL 1 +/* Use OpenSSL from the Makefile */ +/* #define HAVE_OPENSSL 1 */ /* if there's an os_proto.h for this platform, to use additional prototypes */ /* #undef HAVE_OS_PROTO_H */ Index: src/external/bsd/libpcap/lib/Makefile diff -u src/external/bsd/libpcap/lib/Makefile:1.32 src/external/bsd/libpcap/lib/Makefile:1.33 --- src/external/bsd/libpcap/lib/Makefile:1.32 Thu Aug 17 11:18:13 2023 +++ src/external/bsd/libpcap/lib/Makefile Thu Aug 17 11:30:36 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2023/08/17 15:18:13 christos Exp $ +# $NetBSD: Makefile,v 1.33 2023/08/17 15:30:36 christos Exp $ USE_SHLIBDIR=yes .include @@ -148,8 +148,7 @@ savefile.c \ scanner.l \ sf-pcap.c \ sf-pcapng.c \ -sockutils.c \ -sslutils.c +sockutils.c INCS= pcap/pcap.h pcap/namedb.h pcap/funcattrs.h \ @@ -181,7 +180,11 @@ grammar.y: grammar.y.in ${_MKTARGET_CREATE} ${TOOL_SED} -e 's/@REENTRANT_PARSER@/%pure-parser/g' < ${.ALLSRC} > ${.TARGET} +.if ${USE_OPENSSL:Uno} == "yes" +CPPFLAGS += -DHAVE_OPENSSL +SRCS += sslutils.c LIBDPLIBS += ssl ${OPENSSLDIR}/lib/libssl \ crypto ${OPENSSLDIR}/lib/libcrypto +.endif .include Index: src/external/bsd/libpcap/sbin/rpcapd/Makefile diff -u src/external/bsd/libpcap/sbin/rpcapd/Makefile:1.3 src/external/bsd/libpcap/sbin/rpcapd/Makefile:1.4 --- src/external/bsd/libpcap/sbin/rpcapd/Makefile:1.3 Thu Aug 17 11:18:13 2023 +++ src/external/bsd/libpcap/sbin/rpcapd/Makefile Thu Aug 17 11:30:36 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2023/08/17 15:18:13 christos Exp $ +# $NetBSD: Makefile,v 1.4 2023/08/17 15:30:36 christos Exp $ USE_FORT?= yes # network server @@ -34,8 +34,12 @@ CPPFLAGS+= -DHAVE_CONFIG_H CPPFLAGS+= -DPCAP_DONT_INCLUDE_PCAP_BPF_H PROGDPLIBS+= pcap ${.CURDIR}/../../lib \ - ssl ${OPENSSLDIR}/lib/libssl \ - crypto ${OPENSSLDIR}/lib/libcrypto \ crypt ${NETBSDSRCDIR}/lib/libcrypt +.if ${USE_OPENSSL:Uno} == "yes" +CPPFLAGS+= -DHAVE_OPENSSL +PROGDPLIBS+= ssl ${OPENSSLDIR}/lib/libssl \ + crypto ${OPENSSLDIR}/lib/libcrypto +.endif + .include
CVS commit: src/external/bsd/libpcap
Module Name:src Committed By: christos Date: Thu Aug 17 15:30:36 UTC 2023 Modified Files: src/external/bsd/libpcap: Makefile.inc src/external/bsd/libpcap/include: config.h src/external/bsd/libpcap/lib: Makefile src/external/bsd/libpcap/sbin/rpcapd: Makefile Log Message: Don't build with OpenSSL by default because we install in /lib and there is no libcrypto there. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/libpcap/Makefile.inc cvs rdiff -u -r1.12 -r1.13 src/external/bsd/libpcap/include/config.h cvs rdiff -u -r1.32 -r1.33 src/external/bsd/libpcap/lib/Makefile cvs rdiff -u -r1.3 -r1.4 src/external/bsd/libpcap/sbin/rpcapd/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/bsd/libpcap/dist
Module Name:src Committed By: christos Date: Thu Aug 17 15:30:13 UTC 2023 Modified Files: src/external/bsd/libpcap/dist: rpcap-protocol.c Log Message: include portability.h last because it re-defines macros otherwise To generate a diff of this commit: cvs rdiff -u -r1.1.1.2 -r1.2 src/external/bsd/libpcap/dist/rpcap-protocol.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/bsd/libpcap/dist
Module Name:src Committed By: christos Date: Thu Aug 17 15:30:13 UTC 2023 Modified Files: src/external/bsd/libpcap/dist: rpcap-protocol.c Log Message: include portability.h last because it re-defines macros otherwise To generate a diff of this commit: cvs rdiff -u -r1.1.1.2 -r1.2 src/external/bsd/libpcap/dist/rpcap-protocol.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/libpcap/dist/rpcap-protocol.c diff -u src/external/bsd/libpcap/dist/rpcap-protocol.c:1.1.1.2 src/external/bsd/libpcap/dist/rpcap-protocol.c:1.2 --- src/external/bsd/libpcap/dist/rpcap-protocol.c:1.1.1.2 Thu Aug 17 09:11:03 2023 +++ src/external/bsd/libpcap/dist/rpcap-protocol.c Thu Aug 17 11:30:13 2023 @@ -40,10 +40,11 @@ #include /* for functions with variable number of arguments */ #include /* for the errno variable */ #include "sockutils.h" -#include "portability.h" #include "rpcap-protocol.h" #include +#include "portability.h" + /* * This file contains functions used both by the rpcap client and the * rpcap daemon.
CVS commit: src/distrib/sets/lists
Module Name:src Committed By: christos Date: Thu Aug 17 15:23:33 UTC 2023 Modified Files: src/distrib/sets/lists/base: shl.mi src/distrib/sets/lists/debug: shl.mi Log Message: new libpcap To generate a diff of this commit: cvs rdiff -u -r1.961 -r1.962 src/distrib/sets/lists/base/shl.mi cvs rdiff -u -r1.321 -r1.322 src/distrib/sets/lists/debug/shl.mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/sets/lists/base/shl.mi diff -u src/distrib/sets/lists/base/shl.mi:1.961 src/distrib/sets/lists/base/shl.mi:1.962 --- src/distrib/sets/lists/base/shl.mi:1.961 Sat Aug 12 12:44:15 2023 +++ src/distrib/sets/lists/base/shl.mi Thu Aug 17 11:23:33 2023 @@ -1,4 +1,4 @@ -# $NetBSD: shl.mi,v 1.961 2023/08/12 16:44:15 riastradh Exp $ +# $NetBSD: shl.mi,v 1.962 2023/08/17 15:23:33 christos Exp $ # # Note: Don't delete entries from here - mark them as "obsolete" instead, # unless otherwise stated below. @@ -76,8 +76,10 @@ ./lib/libnvpair.so.0base-zfs-shlib dynamicroot,zfs ./lib/libnvpair.so.0.0base-zfs-shlib dynamicroot,zfs ./lib/libpcap.sobase-sys-shlib dynamicroot -./lib/libpcap.so.8base-sys-shlib dynamicroot -./lib/libpcap.so.8.1base-sys-shlib dynamicroot +./lib/libpcap.so.8base-obsolete obsolete +./lib/libpcap.so.8.1base-obsolete obsolete +./lib/libpcap.so.9base-sys-shlib dynamicroot +./lib/libpcap.so.9.0base-sys-shlib dynamicroot ./lib/libppath.sobase-sys-shlib dynamicroot ./lib/libppath.so.0base-sys-shlib dynamicroot ./lib/libppath.so.0.0base-sys-shlib dynamicroot @@ -515,8 +517,10 @@ ./usr/lib/libpanel.so.3base-sys-shlib compatfile ./usr/lib/libpanel.so.3.0 base-sys-shlib compatfile ./usr/lib/libpcap.sobase-net-shlib compatfile -./usr/lib/libpcap.so.8base-net-shlib compatfile -./usr/lib/libpcap.so.8.1 base-net-shlib compatfile +./usr/lib/libpcap.so.8base-obsolete obsolete +./usr/lib/libpcap.sobase-obsolete obsolete +./usr/lib/libpcap.so.9base-net-shlib compatfile +./usr/lib/libpcap.so.9.0 base-net-shlib compatfile ./usr/lib/libpci.sobase-sys-shlib compatfile ./usr/lib/libpci.so.2base-sys-shlib compatfile ./usr/lib/libpci.so.2.2base-sys-shlib compatfile Index: src/distrib/sets/lists/debug/shl.mi diff -u src/distrib/sets/lists/debug/shl.mi:1.321 src/distrib/sets/lists/debug/shl.mi:1.322 --- src/distrib/sets/lists/debug/shl.mi:1.321 Fri Aug 11 19:04:29 2023 +++ src/distrib/sets/lists/debug/shl.mi Thu Aug 17 11:23:33 2023 @@ -1,4 +1,4 @@ -# $NetBSD: shl.mi,v 1.321 2023/08/11 23:04:29 christos Exp $ +# $NetBSD: shl.mi,v 1.322 2023/08/17 15:23:33 christos Exp $ ./usr/lib/libbfd_g.a comp-c-debuglib debuglib,compatfile,binutils ./usr/libdata/debug/lib base-sys-usr debug,dynamicroot,compatdir ./usr/libdata/debug/lib/libavl.so.0.0.debug comp-zfs-debug debug,dynamicroot,zfs @@ -22,7 +22,8 @@ ./usr/libdata/debug/lib/libm.so.0.13.debug comp-sys-debug debug,dynamicroot ./usr/libdata/debug/lib/libnpf.so.0.1.debug comp-sys-debug debug,dynamicroot ./usr/libdata/debug/lib/libnvpair.so.0.0.debug comp-zfs-debug debug,dynamicroot,zfs -./usr/libdata/debug/lib/libpcap.so.8.1.debug comp-sys-debug debug,dynamicroot +./usr/libdata/debug/lib/libpcap.so.8.1.debug comp-obsolete obsolete +./usr/libdata/debug/lib/libpcap.so.9.0.debug comp-sys-debug debug,dynamicroot ./usr/libdata/debug/lib/libppath.so.0.0.debug comp-sys-debug debug,dynamicroot ./usr/libdata/debug/lib/libprop.so.1.2.debug comp-sys-debug debug,dynamicroot ./usr/libdata/debug/lib/libpthread.so.1.4.debug comp-sys-debug debug,dynamicroot @@ -197,7 +198,8 @@ ./usr/libdata/debug/usr/lib/libpanel.so.1.0.debug comp-sys-debug debug,obsolete,compatfile ./usr/libdata/debug/usr/lib/libpanel.so.2.0.debug comp-sys-debug debug,obsolete,compatfile ./usr/libdata/debug/usr/lib/libpanel.so.3.0.debug comp-sys-debug debug,compatfile -./usr/libdata/debug/usr/lib/libpcap.so.8.1.debug comp-net-debug debug,compatfile +./usr/libdata/debug/usr/lib/libpcap.so.8.1.debug comp-obsolete obsolete +./usr/libdata/debug/usr/lib/libpcap.so.9.0.debug comp-net-debug debug,compatfile ./usr/libdata/debug/usr/lib/libpci.so.2.2.debug comp-sys-debug debug,compatfile ./usr/libdata/debug/usr/lib/libperfuse.so.0.0.debug comp-perfuse-debug debug,compatfile ./usr/libdata/debug/usr/lib/libposix.so.0.1.debug comp-sys-debug debug,compatfile
CVS commit: src/distrib/sets/lists
Module Name:src Committed By: christos Date: Thu Aug 17 15:23:33 UTC 2023 Modified Files: src/distrib/sets/lists/base: shl.mi src/distrib/sets/lists/debug: shl.mi Log Message: new libpcap To generate a diff of this commit: cvs rdiff -u -r1.961 -r1.962 src/distrib/sets/lists/base/shl.mi cvs rdiff -u -r1.321 -r1.322 src/distrib/sets/lists/debug/shl.mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/doc
Module Name:src Committed By: christos Date: Thu Aug 17 15:19:26 UTC 2023 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: new libpcap To generate a diff of this commit: cvs rdiff -u -r1.1944 -r1.1945 src/doc/3RDPARTY cvs rdiff -u -r1.2992 -r1.2993 src/doc/CHANGES Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/3RDPARTY diff -u src/doc/3RDPARTY:1.1944 src/doc/3RDPARTY:1.1945 --- src/doc/3RDPARTY:1.1944 Fri Aug 11 19:05:48 2023 +++ src/doc/3RDPARTY Thu Aug 17 11:19:26 2023 @@ -1,4 +1,4 @@ -# $NetBSD: 3RDPARTY,v 1.1944 2023/08/11 23:05:48 christos Exp $ +# $NetBSD: 3RDPARTY,v 1.1945 2023/08/17 15:19:26 christos Exp $ # # This file contains a list of the software that has been integrated into # NetBSD where we are not the primary maintainer. @@ -786,12 +786,12 @@ libdevmapper ioctl protocol code, theref import. Talk to haad before importing new version. Package: libpcap -Version: 1.9.1 -Current Vers: 1.9.1 +Version: 1.10.4 +Current Vers: 1.10.4 Maintainer: tcpdump-work...@tcpdump.org Archive Site: http://www.tcpdump.org/release/ Home Page: http://www.tcpdump.org/ -Date: 2021-03-01 +Date: 2023-08-17 Mailing List: tcpdump-work...@tcpdump.org Responsible: dyoung License: BSD (3/4-clause) Index: src/doc/CHANGES diff -u src/doc/CHANGES:1.2992 src/doc/CHANGES:1.2993 --- src/doc/CHANGES:1.2992 Fri Aug 11 19:05:48 2023 +++ src/doc/CHANGES Thu Aug 17 11:19:26 2023 @@ -1,4 +1,4 @@ -# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2992 $> +# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2993 $> # # # [Note: This file does not mention every change made to the NetBSD source tree. @@ -196,3 +196,4 @@ Changes from NetBSD 10.0 to NetBSD 11.0: OpenSSH: Import 9.3. [christos 20230726] gdb(1): Updated to 13.2. [christos 20230811] libfido2: Import 1.13.0 [christos 20230811] + libpcap: Import 1.10.4. [christos 20230817]
CVS commit: src/doc
Module Name:src Committed By: christos Date: Thu Aug 17 15:19:26 UTC 2023 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: new libpcap To generate a diff of this commit: cvs rdiff -u -r1.1944 -r1.1945 src/doc/3RDPARTY cvs rdiff -u -r1.2992 -r1.2993 src/doc/CHANGES Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/bsd/libpcap
Module Name:src Committed By: christos Date: Thu Aug 17 15:18:13 UTC 2023 Modified Files: src/external/bsd/libpcap: Makefile.inc src/external/bsd/libpcap/dist: atmuni31.h bpf_filter.c bpf_image.c config.guess config.sub dlpisubs.c etherent.c ethertype.h fad-getad.c fad-gifc.c fad-glifc.c gencode.c gencode.h nametoaddr.c optimize.c pcap-bpf.c pcap-bt-linux.c pcap-bt-monitor-linux.c pcap-common.c pcap-common.h pcap-config.1 pcap-config.in pcap-dag.c pcap-dbus.c pcap-dlpi.c pcap-dos.c pcap-enet.c pcap-int.h pcap-libdlpi.c pcap-linux.c pcap-netfilter-linux.c pcap-nit.c pcap-pf.c pcap-rpcap-unix.c pcap-rpcap.c pcap-septel.c pcap-sita.c pcap-snf.c pcap-snit.c pcap-snoop.c pcap-usb-linux-common.c pcap-usb-linux.c pcap.3pcap.in pcap.c pcap_activate.3pcap pcap_breakloop.3pcap pcap_can_set_rfmon.3pcap pcap_close.3pcap pcap_create.3pcap pcap_datalink_name_to_val.3pcap pcap_datalink_val_to_name.3pcap pcap_dump.3pcap pcap_dump_close.3pcap pcap_dump_file.3pcap pcap_dump_flush.3pcap pcap_dump_ftell.3pcap pcap_dump_open.3pcap.in pcap_file.3pcap pcap_fileno.3pcap pcap_findalldevs.3pcap pcap_freecode.3pcap pcap_get_selectable_fd.3pcap pcap_geterr.3pcap pcap_inject.3pcap pcap_is_swapped.3pcap pcap_lib_version.3pcap pcap_lookupdev.3pcap pcap_lookupnet.3pcap pcap_loop.3pcap pcap_major_version.3pcap pcap_next_ex.3pcap pcap_offline_filter.3pcap pcap_open_live.3pcap pcap_open_offline.3pcap.in pcap_set_buffer_size.3pcap pcap_set_datalink.3pcap pcap_set_promisc.3pcap pcap_set_rfmon.3pcap pcap_set_snaplen.3pcap pcap_set_timeout.3pcap pcap_setdirection.3pcap pcap_setfilter.3pcap pcap_setnonblock.3pcap pcap_snapshot.3pcap pcap_stats.3pcap pcap_statustostr.3pcap pcap_strerror.3pcap pcap_tstamp_type_name_to_val.3pcap pcap_tstamp_type_val_to_name.3pcap savefile.c scanner.l sf-pcap.c sockutils.c sslutils.c src/external/bsd/libpcap/dist/lbl: os-osf4.h os-osf5.h os-solaris2.h os-sunos4.h src/external/bsd/libpcap/dist/pcap: bpf.h namedb.h pcap.h src/external/bsd/libpcap/include: config.h src/external/bsd/libpcap/lib: Makefile shlib_version src/external/bsd/libpcap/sbin/rpcapd: Makefile Removed Files: src/external/bsd/libpcap/dist: grammar.y src/external/bsd/libpcap/dist/Win32/Prj: wpcap.sln wpcap.vcxproj wpcap.vcxproj.filters src/external/bsd/libpcap/dist/doc: DLT_ALLOCATE_HOWTO.md README.linux.md README.tru64 src/external/bsd/libpcap/dist/missing: snprintf.c win_snprintf.c Log Message: merge conflicts between libpcap 1.9.1 and 1.10.4 To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/bsd/libpcap/Makefile.inc cvs rdiff -u -r1.2 -r1.3 src/external/bsd/libpcap/dist/atmuni31.h \ src/external/bsd/libpcap/dist/pcap-rpcap-unix.c \ src/external/bsd/libpcap/dist/pcap-rpcap.c \ src/external/bsd/libpcap/dist/sockutils.c cvs rdiff -u -r1.4 -r1.5 src/external/bsd/libpcap/dist/bpf_filter.c \ src/external/bsd/libpcap/dist/config.guess \ src/external/bsd/libpcap/dist/dlpisubs.c \ src/external/bsd/libpcap/dist/etherent.c \ src/external/bsd/libpcap/dist/fad-getad.c \ src/external/bsd/libpcap/dist/fad-glifc.c \ src/external/bsd/libpcap/dist/pcap-config.in \ src/external/bsd/libpcap/dist/pcap_create.3pcap \ src/external/bsd/libpcap/dist/pcap_dump_file.3pcap \ src/external/bsd/libpcap/dist/pcap_dump_flush.3pcap \ src/external/bsd/libpcap/dist/pcap_file.3pcap \ src/external/bsd/libpcap/dist/pcap_freecode.3pcap \ src/external/bsd/libpcap/dist/pcap_geterr.3pcap \ src/external/bsd/libpcap/dist/pcap_inject.3pcap \ src/external/bsd/libpcap/dist/pcap_lookupnet.3pcap \ src/external/bsd/libpcap/dist/pcap_major_version.3pcap \ src/external/bsd/libpcap/dist/pcap_offline_filter.3pcap \ src/external/bsd/libpcap/dist/pcap_set_datalink.3pcap \ src/external/bsd/libpcap/dist/pcap_setfilter.3pcap \ src/external/bsd/libpcap/dist/pcap_snapshot.3pcap \ src/external/bsd/libpcap/dist/pcap_stats.3pcap \ src/external/bsd/libpcap/dist/pcap_strerror.3pcap \ src/external/bsd/libpcap/dist/pcap_tstamp_type_val_to_name.3pcap cvs rdiff -u -r1.5 -r1.6 src/external/bsd/libpcap/dist/bpf_image.c \ src/external/bsd/libpcap/dist/fad-gifc.c \ src/external/bsd/libpcap/dist/nametoaddr.c \ src/external/bsd/libpcap/dist/pcap-config.1 \ src/external/bsd/libpcap/dist/pcap-dbus.c \ src/external/bsd/libpcap/dist/pcap-libdlpi.c \ src/external/bsd/libpcap/dist/pcap-nit.c \ src/external/bsd/libpcap/dist/pcap-pf.c \ src/external/bsd/libpcap/dist/pcap-snit.c \ src/external/bsd/libpcap/dist/pcap-sno
CVS commit: src/external/bsd/libpcap
Module Name:src Committed By: christos Date: Thu Aug 17 15:18:13 UTC 2023 Modified Files: src/external/bsd/libpcap: Makefile.inc src/external/bsd/libpcap/dist: atmuni31.h bpf_filter.c bpf_image.c config.guess config.sub dlpisubs.c etherent.c ethertype.h fad-getad.c fad-gifc.c fad-glifc.c gencode.c gencode.h nametoaddr.c optimize.c pcap-bpf.c pcap-bt-linux.c pcap-bt-monitor-linux.c pcap-common.c pcap-common.h pcap-config.1 pcap-config.in pcap-dag.c pcap-dbus.c pcap-dlpi.c pcap-dos.c pcap-enet.c pcap-int.h pcap-libdlpi.c pcap-linux.c pcap-netfilter-linux.c pcap-nit.c pcap-pf.c pcap-rpcap-unix.c pcap-rpcap.c pcap-septel.c pcap-sita.c pcap-snf.c pcap-snit.c pcap-snoop.c pcap-usb-linux-common.c pcap-usb-linux.c pcap.3pcap.in pcap.c pcap_activate.3pcap pcap_breakloop.3pcap pcap_can_set_rfmon.3pcap pcap_close.3pcap pcap_create.3pcap pcap_datalink_name_to_val.3pcap pcap_datalink_val_to_name.3pcap pcap_dump.3pcap pcap_dump_close.3pcap pcap_dump_file.3pcap pcap_dump_flush.3pcap pcap_dump_ftell.3pcap pcap_dump_open.3pcap.in pcap_file.3pcap pcap_fileno.3pcap pcap_findalldevs.3pcap pcap_freecode.3pcap pcap_get_selectable_fd.3pcap pcap_geterr.3pcap pcap_inject.3pcap pcap_is_swapped.3pcap pcap_lib_version.3pcap pcap_lookupdev.3pcap pcap_lookupnet.3pcap pcap_loop.3pcap pcap_major_version.3pcap pcap_next_ex.3pcap pcap_offline_filter.3pcap pcap_open_live.3pcap pcap_open_offline.3pcap.in pcap_set_buffer_size.3pcap pcap_set_datalink.3pcap pcap_set_promisc.3pcap pcap_set_rfmon.3pcap pcap_set_snaplen.3pcap pcap_set_timeout.3pcap pcap_setdirection.3pcap pcap_setfilter.3pcap pcap_setnonblock.3pcap pcap_snapshot.3pcap pcap_stats.3pcap pcap_statustostr.3pcap pcap_strerror.3pcap pcap_tstamp_type_name_to_val.3pcap pcap_tstamp_type_val_to_name.3pcap savefile.c scanner.l sf-pcap.c sockutils.c sslutils.c src/external/bsd/libpcap/dist/lbl: os-osf4.h os-osf5.h os-solaris2.h os-sunos4.h src/external/bsd/libpcap/dist/pcap: bpf.h namedb.h pcap.h src/external/bsd/libpcap/include: config.h src/external/bsd/libpcap/lib: Makefile shlib_version src/external/bsd/libpcap/sbin/rpcapd: Makefile Removed Files: src/external/bsd/libpcap/dist: grammar.y src/external/bsd/libpcap/dist/Win32/Prj: wpcap.sln wpcap.vcxproj wpcap.vcxproj.filters src/external/bsd/libpcap/dist/doc: DLT_ALLOCATE_HOWTO.md README.linux.md README.tru64 src/external/bsd/libpcap/dist/missing: snprintf.c win_snprintf.c Log Message: merge conflicts between libpcap 1.9.1 and 1.10.4 To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/bsd/libpcap/Makefile.inc cvs rdiff -u -r1.2 -r1.3 src/external/bsd/libpcap/dist/atmuni31.h \ src/external/bsd/libpcap/dist/pcap-rpcap-unix.c \ src/external/bsd/libpcap/dist/pcap-rpcap.c \ src/external/bsd/libpcap/dist/sockutils.c cvs rdiff -u -r1.4 -r1.5 src/external/bsd/libpcap/dist/bpf_filter.c \ src/external/bsd/libpcap/dist/config.guess \ src/external/bsd/libpcap/dist/dlpisubs.c \ src/external/bsd/libpcap/dist/etherent.c \ src/external/bsd/libpcap/dist/fad-getad.c \ src/external/bsd/libpcap/dist/fad-glifc.c \ src/external/bsd/libpcap/dist/pcap-config.in \ src/external/bsd/libpcap/dist/pcap_create.3pcap \ src/external/bsd/libpcap/dist/pcap_dump_file.3pcap \ src/external/bsd/libpcap/dist/pcap_dump_flush.3pcap \ src/external/bsd/libpcap/dist/pcap_file.3pcap \ src/external/bsd/libpcap/dist/pcap_freecode.3pcap \ src/external/bsd/libpcap/dist/pcap_geterr.3pcap \ src/external/bsd/libpcap/dist/pcap_inject.3pcap \ src/external/bsd/libpcap/dist/pcap_lookupnet.3pcap \ src/external/bsd/libpcap/dist/pcap_major_version.3pcap \ src/external/bsd/libpcap/dist/pcap_offline_filter.3pcap \ src/external/bsd/libpcap/dist/pcap_set_datalink.3pcap \ src/external/bsd/libpcap/dist/pcap_setfilter.3pcap \ src/external/bsd/libpcap/dist/pcap_snapshot.3pcap \ src/external/bsd/libpcap/dist/pcap_stats.3pcap \ src/external/bsd/libpcap/dist/pcap_strerror.3pcap \ src/external/bsd/libpcap/dist/pcap_tstamp_type_val_to_name.3pcap cvs rdiff -u -r1.5 -r1.6 src/external/bsd/libpcap/dist/bpf_image.c \ src/external/bsd/libpcap/dist/fad-gifc.c \ src/external/bsd/libpcap/dist/nametoaddr.c \ src/external/bsd/libpcap/dist/pcap-config.1 \ src/external/bsd/libpcap/dist/pcap-dbus.c \ src/external/bsd/libpcap/dist/pcap-libdlpi.c \ src/external/bsd/libpcap/dist/pcap-nit.c \ src/external/bsd/libpcap/dist/pcap-pf.c \ src/external/bsd/libpcap/dist/pcap-snit.c \ src/external/bsd/libpcap/dist/pcap-sno
CVS commit: src/sys/net
Module Name:src Committed By: christos Date: Thu Aug 17 15:17:06 UTC 2023 Modified Files: src/sys/net: dlt.h Log Message: Use the version from libpcap-1.10.4 To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/net/dlt.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: christos Date: Thu Aug 17 15:17:06 UTC 2023 Modified Files: src/sys/net: dlt.h Log Message: Use the version from libpcap-1.10.4 To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/net/dlt.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/net/dlt.h diff -u src/sys/net/dlt.h:1.23 src/sys/net/dlt.h:1.24 --- src/sys/net/dlt.h:1.23 Sat May 28 17:14:57 2022 +++ src/sys/net/dlt.h Thu Aug 17 11:17:05 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: dlt.h,v 1.23 2022/05/28 21:14:57 andvar Exp $ */ +/* $NetBSD: dlt.h,v 1.24 2023/08/17 15:17:05 christos Exp $ */ /*- * Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 @@ -38,6 +38,7 @@ #ifndef _NET_DLT_H_ #define _NET_DLT_H_ + /* * Link-layer header type codes. * @@ -99,8 +100,6 @@ #ifndef DLT_SLIP_BSDOS #define DLT_SLIP_BSDOS 13 /* BSD/OS Serial Line IP */ #define DLT_PPP_BSDOS 14 /* BSD/OS Point-to-point Protocol */ -#define DLT_HIPPI 15 /* HIPPI */ -#define DLT_HDLC 16 /* HDLC framing */ #endif #else #define DLT_SLIP_BSDOS 15 /* BSD/OS Serial Line IP */ @@ -108,6 +107,67 @@ #endif /* + * NetBSD uses 15 for HIPPI. + * + * From a quick look at sys/net/if_hippi.h and sys/net/if_hippisubr.c + * in an older version of NetBSD , the header appears to be: + * + * a 1-byte ULP field (ULP-id)? + * + * a 1-byte flags field; + * + * a 2-byte "offsets" field; + * + * a 4-byte "D2 length" field (D2_Size?); + * + * a 4-byte "destination switch" field (or a 1-byte field + * containing the Forwarding Class, Double_Wide, and Message_Type + * sub fields, followed by a 3-byte Destination_Switch_Address + * field?, HIPPI-LE 3.4-style?); + * + * a 4-byte "source switch" field (or a 1-byte field containing the + * Destination_Address_type and Source_Address_Type fields, followed + * by a 3-byte Source_Switch_Address field, HIPPI-LE 3.4-style?); + * + * a 2-byte reserved field; + * + * a 6-byte destination address field; + * + * a 2-byte "local admin" field; + * + * a 6-byte source address field; + * + * followed by an 802.2 LLC header. + * + * This looks somewhat like something derived from the HIPPI-FP 4.4 + * Header_Area, followed an HIPPI-FP 4.4 D1_Area containing a D1 data set + * with the header in HIPPI-LE 3.4 (ANSI X3.218-1993), followed by an + * HIPPI-FP 4.4 D2_Area (with no Offset) containing the 802.2 LLC header + * and payload? Or does the "offsets" field contain the D2_Offset, + * with that many bytes of offset before the payload? + * + * See http://wotug.org/parallel/standards/hippi/ for an archive of + * HIPPI specifications. + * + * RFC 2067 imposes some additional restrictions. It says that the + * Offset is always zero + * + * HIPPI is long-gone, and the source files found in an older version + * of NetBSD don't appear to be in the main CVS branch, so we may never + * see a capture with this link-layer type. + */ +#if defined(__NetBSD__) +#define DLT_HIPPI 15 /* HIPPI */ +#endif + +/* + * NetBSD uses 16 for DLT_HDLC; see below. + * BSD/OS uses it for PPP; see above. + * As far as I know, no other OS uses it for anything; don't use it + * for anything else. + */ + +/* * 17 was used for DLT_PFLOG in OpenBSD; it no longer is. * * It was DLT_LANE8023 in SuSE 6.3, so we defined LINKTYPE_PFLOG @@ -120,9 +180,6 @@ * * Don't use 17 for anything else. */ -#if defined(__OpenBSD__) || defined(__NetBSD__) -#define DLT_OLD_PFLOG 17 -#endif /* * 18 is used for DLT_PFSYNC in OpenBSD, NetBSD, DragonFly BSD and @@ -142,7 +199,7 @@ #define DLT_PFSYNC 18 #endif -#define DLT_ATM_CLIP 19 /* Linux Classical-IP over ATM */ +#define DLT_ATM_CLIP 19 /* Linux Classical IP over ATM */ /* * Apparently Redback uses this for its SmartEdge 400/800. I hope @@ -225,7 +282,8 @@ * that the AF_ type in the link-layer header is in network byte order. * * DLT_LOOP is 12 in OpenBSD, but that's DLT_RAW in other OSes, so - * we don't use 12 for it in OSes other than OpenBSD. + * we don't use 12 for it in OSes other than OpenBSD; instead, we + * use the same value as LINKTYPE_LOOP. */ #ifdef __OpenBSD__ #define DLT_LOOP 12 @@ -236,7 +294,7 @@ /* * Encapsulated packets for IPsec; DLT_ENC is 13 in OpenBSD, but that's * DLT_SLIP_BSDOS in NetBSD, so we don't use 13 for it in OSes other - * than OpenBSD. + * than OpenBSD; instead, we use the same value as LINKTYPE_ENC. */ #ifdef __OpenBSD__ #define DLT_ENC 13 @@ -245,13 +303,23 @@ #endif /* - * Values between 110 and 112 are reserved for use in capture file headers + * Values 110 and 111 are reserved for use in capture file headers * as link-layer types corresponding to DLT_ types that might differ * between platforms; don't use those values for new DLT_ types * other than the corresponding DLT_ types. */ /* + * NetBSD uses 16 for (Cisco) "HDLC framing". For other platforms, + * we define it to have the same valu
CVS commit: src/sys/net
Module Name:src Committed By: christos Date: Thu Aug 17 15:16:33 UTC 2023 Modified Files: src/sys/net: bpf_filter.c Log Message: define symbols that new libpcap needs To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/sys/net/bpf_filter.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: christos Date: Thu Aug 17 15:16:33 UTC 2023 Modified Files: src/sys/net: bpf_filter.c Log Message: define symbols that new libpcap needs To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/sys/net/bpf_filter.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/net/bpf_filter.c diff -u src/sys/net/bpf_filter.c:1.71 src/sys/net/bpf_filter.c:1.72 --- src/sys/net/bpf_filter.c:1.71 Mon Jun 6 21:06:28 2016 +++ src/sys/net/bpf_filter.c Thu Aug 17 11:16:33 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: bpf_filter.c,v 1.71 2016/06/07 01:06:28 pgoyette Exp $ */ +/* $NetBSD: bpf_filter.c,v 1.72 2023/08/17 15:16:33 christos Exp $ */ /*- * Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: bpf_filter.c,v 1.71 2016/06/07 01:06:28 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bpf_filter.c,v 1.72 2023/08/17 15:16:33 christos Exp $"); #if 0 #if !(defined(lint) || defined(KERNEL)) @@ -211,6 +211,7 @@ bpf_filter(const struct bpf_insn *pc, co u_int bpf_filter_ext(const bpf_ctx_t *bc, const struct bpf_insn *pc, bpf_args_t *args) #else +__strong_alias(pcap_filter, bpf_filter) u_int bpf_filter(const struct bpf_insn *pc, const u_char *p, u_int wirelen, u_int buflen) @@ -609,6 +610,7 @@ bpf_validate(const struct bpf_insn *f, i int bpf_validate_ext(const bpf_ctx_t *bc, const struct bpf_insn *f, int signed_len) #else +__strong_alias(pcap_validate_filter, bpf_validate) int bpf_validate(const struct bpf_insn *f, int signed_len) #endif
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Thu Aug 17 14:53:39 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: m68k-bsd-tdep.c Log Message: gdb/m68k: Add missing nbsd_init_abi() call To generate a diff of this commit: cvs rdiff -u -r1.1.1.4 -r1.2 src/external/gpl3/gdb/dist/gdb/m68k-bsd-tdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/gdb/m68k-bsd-tdep.c diff -u src/external/gpl3/gdb/dist/gdb/m68k-bsd-tdep.c:1.1.1.4 src/external/gpl3/gdb/dist/gdb/m68k-bsd-tdep.c:1.2 --- src/external/gpl3/gdb/dist/gdb/m68k-bsd-tdep.c:1.1.1.4 Sun Jul 30 22:44:45 2023 +++ src/external/gpl3/gdb/dist/gdb/m68k-bsd-tdep.c Thu Aug 17 14:53:38 2023 @@ -28,6 +28,7 @@ #include "gdbtypes.h" #include "m68k-tdep.h" +#include "netbsd-tdep.h" #include "solib-svr4.h" /* Core file support. */ @@ -135,6 +136,8 @@ m68kbsd_init_abi (struct gdbarch_info in { m68k_gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); + nbsd_init_abi (info, gdbarch); + tdep->jb_pc = 5; tdep->jb_elt_size = 4;
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Thu Aug 17 14:53:39 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: m68k-bsd-tdep.c Log Message: gdb/m68k: Add missing nbsd_init_abi() call To generate a diff of this commit: cvs rdiff -u -r1.1.1.4 -r1.2 src/external/gpl3/gdb/dist/gdb/m68k-bsd-tdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Thu Aug 17 14:52:53 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: m68k-tdep.c Log Message: gdb/m68k: Do not fall back to EABI for NetBSD gdb 13 falls back to newly-introduced m68k EABI, if ELFOSABI_NONE == ELFOSABI_SYSV == 0 is indicated in ELF header. This breaks everything for NetBSD binaries. To generate a diff of this commit: cvs rdiff -u -r1.1.1.9 -r1.2 src/external/gpl3/gdb/dist/gdb/m68k-tdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/gdb/m68k-tdep.c diff -u src/external/gpl3/gdb/dist/gdb/m68k-tdep.c:1.1.1.9 src/external/gpl3/gdb/dist/gdb/m68k-tdep.c:1.2 --- src/external/gpl3/gdb/dist/gdb/m68k-tdep.c:1.1.1.9 Sun Jul 30 22:44:51 2023 +++ src/external/gpl3/gdb/dist/gdb/m68k-tdep.c Thu Aug 17 14:52:53 2023 @@ -1344,10 +1344,14 @@ m68k_dump_tdep (struct gdbarch *gdbarch, static enum gdb_osabi m68k_osabi_sniffer (bfd *abfd) { + /* XXX NetBSD uses ELFOSABI_NONE == ELFOSABI_SYSV. Therefore, do not + fall back to EABI here. */ +#ifndef __NetBSD__ unsigned int elfosabi = elf_elfheader (abfd)->e_ident[EI_OSABI]; if (elfosabi == ELFOSABI_NONE) return GDB_OSABI_SVR4; +#endif return GDB_OSABI_UNKNOWN; }
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Thu Aug 17 14:52:53 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: m68k-tdep.c Log Message: gdb/m68k: Do not fall back to EABI for NetBSD gdb 13 falls back to newly-introduced m68k EABI, if ELFOSABI_NONE == ELFOSABI_SYSV == 0 is indicated in ELF header. This breaks everything for NetBSD binaries. To generate a diff of this commit: cvs rdiff -u -r1.1.1.9 -r1.2 src/external/gpl3/gdb/dist/gdb/m68k-tdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libmenu
Module Name:src Committed By: andvar Date: Thu Aug 17 14:21:19 UTC 2023 Modified Files: src/lib/libmenu: menu_opts.3 Log Message: s/logigally/logically/. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/libmenu/menu_opts.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libmenu/menu_opts.3 diff -u src/lib/libmenu/menu_opts.3:1.11 src/lib/libmenu/menu_opts.3:1.12 --- src/lib/libmenu/menu_opts.3:1.11 Mon Jul 1 07:16:25 2019 +++ src/lib/libmenu/menu_opts.3 Thu Aug 17 14:21:18 2023 @@ -1,4 +1,4 @@ -.\" $NetBSD: menu_opts.3,v 1.11 2019/07/01 07:16:25 wiz Exp $ +.\" $NetBSD: menu_opts.3,v 1.12 2023/08/17 14:21:18 andvar Exp $ .\" .\" Copyright (c) 1999 .\" Brett Lymn - bl...@baea.com.au, brett_l...@yahoo.com.au @@ -65,7 +65,7 @@ menu passed. The .Fn set_menu_opts sets the menu options to the value given in opts. -Options may be logigally ORed together. +Options may be logically ORed together. Valid options are: .Bl -column -offset indent ".Sy Option" ".Sy Meaning" .It Sy Option Ta Sy Meaning
CVS commit: src/lib/libmenu
Module Name:src Committed By: andvar Date: Thu Aug 17 14:21:19 UTC 2023 Modified Files: src/lib/libmenu: menu_opts.3 Log Message: s/logigally/logically/. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/libmenu/menu_opts.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: andvar Date: Thu Aug 17 14:19:50 UTC 2023 Modified Files: src/sys/dev/ic: ciss.c src/sys/rump/include/machine: intr.h Log Message: fix typos in comments. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/dev/ic/ciss.c cvs rdiff -u -r1.22 -r1.23 src/sys/rump/include/machine/intr.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/ic/ciss.c diff -u src/sys/dev/ic/ciss.c:1.54 src/sys/dev/ic/ciss.c:1.55 --- src/sys/dev/ic/ciss.c:1.54 Sun May 29 10:43:46 2022 +++ src/sys/dev/ic/ciss.c Thu Aug 17 14:19:50 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: ciss.c,v 1.54 2022/05/29 10:43:46 rin Exp $ */ +/* $NetBSD: ciss.c,v 1.55 2023/08/17 14:19:50 andvar Exp $ */ /* $OpenBSD: ciss.c,v 1.68 2013/05/30 16:15:02 deraadt Exp $ */ /* @@ -19,7 +19,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ciss.c,v 1.54 2022/05/29 10:43:46 rin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ciss.c,v 1.55 2023/08/17 14:19:50 andvar Exp $"); #include "bio.h" @@ -665,7 +665,7 @@ ciss_wait(struct ciss_softc *sc, struct } /* - * submit a command and optionally wait for completition. + * submit a command and optionally wait for completion. * wait arg abuses XS_CTL_POLL|XS_CTL_NOSLEEP flags to request * to wait (XS_CTL_POLL) and to allow tsleep() (!XS_CTL_NOSLEEP) * instead of busy loop waiting @@ -1233,7 +1233,7 @@ ciss_scsi_cmd(struct scsipi_channel *cha case ADAPTER_REQ_SET_XFER_MODE: /* * We can't change the transfer mode, but at least let - * scsipi know what the adapter has negociated. + * scsipi know what the adapter has negotiated. */ xm = (struct scsipi_xfer_mode *)arg; xm->xm_mode |= PERIPH_CAP_TQING; @@ -1533,7 +1533,7 @@ ciss_ioctl_vol(struct ciss_softc *sc, st bv->bv_size = blks * (u_quad_t)le16toh(ldid->blksize); bv->bv_level = ciss_level[ldid->type]; /* - * XXX Should only return bv_nodisk for logigal volume that we've associated + * XXX Should only return bv_nodisk for logical volume that we've associated * the physical drives to: either the 1st degraded, rebuilding, or failed * volume else volume 0? */ Index: src/sys/rump/include/machine/intr.h diff -u src/sys/rump/include/machine/intr.h:1.22 src/sys/rump/include/machine/intr.h:1.23 --- src/sys/rump/include/machine/intr.h:1.22 Thu Apr 19 21:50:10 2018 +++ src/sys/rump/include/machine/intr.h Thu Aug 17 14:19:49 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: intr.h,v 1.22 2018/04/19 21:50:10 christos Exp $ */ +/* $NetBSD: intr.h,v 1.23 2023/08/17 14:19:49 andvar Exp $ */ /* * Copyright (c) 2009, 2010 Antti Kantee. All Rights Reserved. @@ -57,7 +57,7 @@ makeiplcookie(ipl_t ipl) #define spl0() ((void)0) /* - * IPL_* does not mean anything to a run-to-completition rump kernel, + * IPL_* does not mean anything to a run-to-completion rump kernel, * but we sometimes assert a "not higher than" condition, so we assign * different values (following spl(9)). */
CVS commit: src/sys
Module Name:src Committed By: andvar Date: Thu Aug 17 14:19:50 UTC 2023 Modified Files: src/sys/dev/ic: ciss.c src/sys/rump/include/machine: intr.h Log Message: fix typos in comments. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/dev/ic/ciss.c cvs rdiff -u -r1.22 -r1.23 src/sys/rump/include/machine/intr.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS import: src/external/bsd/libpcap/dist
Module Name:src Committed By: christos Date: Thu Aug 17 13:11:06 UTC 2023 Update of /cvsroot/src/external/bsd/libpcap/dist In directory ivanova.netbsd.org:/tmp/cvs-serv25278 Log Message: Import libpcap-1.10.4 (previous was 1.9.1) Friday, April 7, 2023 / The Tcpdump Group Summary for 1.10.4 libpcap release Source code: Fix spaces before tabs in indentation. rpcap: Fix name of launchd service. Documentation: Document use of rpcapd with systemd, launchd, inetd, and xinetd. Building and testing: Require at least pkg-config 0.17.0, as we use --static. Get rid of the remains of gnuc.h. Require at least autoconf 2.69. Update config.{guess,sub}, timestamps 2023-01-01,2023-01-21. Thursday, January 12, 2023 / The Tcpdump Group Summary for 1.10.3 libpcap release Source code: Sort the PUBHDR variable in Makefile.in in "ls" order. Fix typo in comment in pflog.h. Remove two no-longer-present files from .gitignore. Update code and comments for handling failure to set promiscuous mode based on new information. Building and testing: install: Fixed not to install the non-public pcap-util.h header. pcap-config: add a --version flag. Makefile.in: Add some missing files in the distclean target. Saturday, December 31, 2022 / The Tcpdump Group Summary for 1.10.2 libpcap release Source code: Use __builtin_unreachable() in PCAP_UNREACHABLE. Use AS_HELP_STRING macro instead of AC_HELP_STRING in the configure scripts, to avoid deprecation warnings. Change availability tags in pcap.h to make it easier to arrange for it to be used in Darwin releases. Use AS_HELP_STRING for --enable-remote. Fix some formatting string issues found by cppcheck. Various small code and comment cleanups. Use PCAP_ERROR (defined as -1) rather than explicit -1 for functions the documentation says return PCAP_ERROR. Remove unused code from the filter compiler. Use _declspec(deprecated(msg)) rather than __pragma(deprecated) for Windows deprecation warnings, so the message that was specified shows up. diag-control.h: define PCAP_DO_PRAGMA() iff we're going to use it. Use "%d" to print some signed ints. Use the Wayback Machine for a removed document in a comment. Add some const qualifiers. RDMA: Use PRIu64 to print a uint64_t. "Dead" pcap_ts from pcap_open_dead() and ..._with_tstamp_precision(): Don't crash if pcap_breakloop() is called. Savefiles: Fix pcap_dispatch() to return number of packets processed, rather than 0, even at EOF. If we get an error writing the packet header, don't write the packet data. Put PFLOG UID and PID values in the header into host byte order when reading a LINKTYPE_PFLOG file. Put CAN ID field in CAN pseudo-headers for LINUX_SLL2, as we do for LINUX_SLL. Fix inorrectly-computed "real" length for isochronous USB transfers when reading savefiles. Don't crash if pcap_can_set_rfmon() is called. Fix pcap_offline_read() loop. Capture: Never process more than INT_MAX packets in a pcap_dispatch() call, to avoid integer overflow (issue #1087). Improve error messages for "no such device" and "permission denied" errors. SITA: Fix a typo in a variable name. Packet filtering: Get PFLOG header length from the length value in the header. Support all the direction, reason, and action types supported by all systems that support PFLOG. Don't require PFLOG support on the target machine in order to support PFLOG filtering (also fixes issue #1076). Expand abbreviations into "proto X" properly. gencode.c: Update a comment about the VLAN TPID test. Add the minimum and maximum matching DLTs to an error message. Linux: Fix memory leak in capture device open (pull request #1038). Fix detection of CAN/CAN FD packets in direction check (issue #1051). Fix double-free crashes on errors such as running on a kernel with CONFIG_PACKET_MMAP not configured (issue #1054). Use DLT_CAN_SOCKETCAN for CANbus interfaces (issue #1052; includes changes from pull request #1035). Make sure the CANFD_FDF can be relied on to indicate whether a CANbus packet is a CAN frame or a CAN FD frame Improve error message for "out of memory" errors for kernel filters (see issue #1089). Fix pcap_findalldevs() to find usbmon devices. Fix handling of VLAN tagged packets if the link-layer type is changed from DLT_LINUX_SLL to DLT_LINUX_SLL2 (see issue #1105). Always turn on PACKET_AUXDATA (see issue #1105). We require 2.6.27 or later, so PACKET_RESERVE is available. Make sure there's reserved space for a DLT_LINUX_SLL2 header
CVS import: src/external/bsd/libpcap/dist
Module Name:src Committed By: christos Date: Thu Aug 17 13:11:06 UTC 2023 Update of /cvsroot/src/external/bsd/libpcap/dist In directory ivanova.netbsd.org:/tmp/cvs-serv25278 Log Message: Import libpcap-1.10.4 (previous was 1.9.1) Friday, April 7, 2023 / The Tcpdump Group Summary for 1.10.4 libpcap release Source code: Fix spaces before tabs in indentation. rpcap: Fix name of launchd service. Documentation: Document use of rpcapd with systemd, launchd, inetd, and xinetd. Building and testing: Require at least pkg-config 0.17.0, as we use --static. Get rid of the remains of gnuc.h. Require at least autoconf 2.69. Update config.{guess,sub}, timestamps 2023-01-01,2023-01-21. Thursday, January 12, 2023 / The Tcpdump Group Summary for 1.10.3 libpcap release Source code: Sort the PUBHDR variable in Makefile.in in "ls" order. Fix typo in comment in pflog.h. Remove two no-longer-present files from .gitignore. Update code and comments for handling failure to set promiscuous mode based on new information. Building and testing: install: Fixed not to install the non-public pcap-util.h header. pcap-config: add a --version flag. Makefile.in: Add some missing files in the distclean target. Saturday, December 31, 2022 / The Tcpdump Group Summary for 1.10.2 libpcap release Source code: Use __builtin_unreachable() in PCAP_UNREACHABLE. Use AS_HELP_STRING macro instead of AC_HELP_STRING in the configure scripts, to avoid deprecation warnings. Change availability tags in pcap.h to make it easier to arrange for it to be used in Darwin releases. Use AS_HELP_STRING for --enable-remote. Fix some formatting string issues found by cppcheck. Various small code and comment cleanups. Use PCAP_ERROR (defined as -1) rather than explicit -1 for functions the documentation says return PCAP_ERROR. Remove unused code from the filter compiler. Use _declspec(deprecated(msg)) rather than __pragma(deprecated) for Windows deprecation warnings, so the message that was specified shows up. diag-control.h: define PCAP_DO_PRAGMA() iff we're going to use it. Use "%d" to print some signed ints. Use the Wayback Machine for a removed document in a comment. Add some const qualifiers. RDMA: Use PRIu64 to print a uint64_t. "Dead" pcap_ts from pcap_open_dead() and ..._with_tstamp_precision(): Don't crash if pcap_breakloop() is called. Savefiles: Fix pcap_dispatch() to return number of packets processed, rather than 0, even at EOF. If we get an error writing the packet header, don't write the packet data. Put PFLOG UID and PID values in the header into host byte order when reading a LINKTYPE_PFLOG file. Put CAN ID field in CAN pseudo-headers for LINUX_SLL2, as we do for LINUX_SLL. Fix inorrectly-computed "real" length for isochronous USB transfers when reading savefiles. Don't crash if pcap_can_set_rfmon() is called. Fix pcap_offline_read() loop. Capture: Never process more than INT_MAX packets in a pcap_dispatch() call, to avoid integer overflow (issue #1087). Improve error messages for "no such device" and "permission denied" errors. SITA: Fix a typo in a variable name. Packet filtering: Get PFLOG header length from the length value in the header. Support all the direction, reason, and action types supported by all systems that support PFLOG. Don't require PFLOG support on the target machine in order to support PFLOG filtering (also fixes issue #1076). Expand abbreviations into "proto X" properly. gencode.c: Update a comment about the VLAN TPID test. Add the minimum and maximum matching DLTs to an error message. Linux: Fix memory leak in capture device open (pull request #1038). Fix detection of CAN/CAN FD packets in direction check (issue #1051). Fix double-free crashes on errors such as running on a kernel with CONFIG_PACKET_MMAP not configured (issue #1054). Use DLT_CAN_SOCKETCAN for CANbus interfaces (issue #1052; includes changes from pull request #1035). Make sure the CANFD_FDF can be relied on to indicate whether a CANbus packet is a CAN frame or a CAN FD frame Improve error message for "out of memory" errors for kernel filters (see issue #1089). Fix pcap_findalldevs() to find usbmon devices. Fix handling of VLAN tagged packets if the link-layer type is changed from DLT_LINUX_SLL to DLT_LINUX_SLL2 (see issue #1105). Always turn on PACKET_AUXDATA (see issue #1105). We require 2.6.27 or later, so PACKET_RESERVE is available. Make sure there's reserved space for a DLT_LINUX_SLL2 header
CVS commit: src/external/gpl3/gdb/lib/libreadline/arch/aarch64eb
Module Name:src Committed By: rin Date: Thu Aug 17 10:51:04 UTC 2023 Modified Files: src/external/gpl3/gdb/lib/libreadline/arch/aarch64eb: defs.mk Log Message: gdb: Fix previous; one wrong file was committed... To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 \ src/external/gpl3/gdb/lib/libreadline/arch/aarch64eb/defs.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/lib/libreadline/arch/aarch64eb/defs.mk diff -u src/external/gpl3/gdb/lib/libreadline/arch/aarch64eb/defs.mk:1.4 src/external/gpl3/gdb/lib/libreadline/arch/aarch64eb/defs.mk:1.5 --- src/external/gpl3/gdb/lib/libreadline/arch/aarch64eb/defs.mk:1.4 Thu Aug 17 10:21:21 2023 +++ src/external/gpl3/gdb/lib/libreadline/arch/aarch64eb/defs.mk Thu Aug 17 10:51:04 2023 @@ -2,5 +2,5 @@ # Generated from: NetBSD: mknative-gdb,v 1.16 2023/07/31 17:09:59 christos Exp # Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp # -G_CCFLAGS= -DHAVE_CONFIG_H -DCROSS_COMPILING -I. -I${GNUHOSTDIST}/readline/readline -I/home/rin/src/tools/gdb/obj.evbarm-aarch64eb/.native/include -DRL_LIBRARY_VERSION=\"8.1\" -DBRACKETED_PASTE_DEFAULT=1 +G_CCFLAGS= -DHAVE_CONFIG_H -DCROSS_COMPILING -I. -I${GNUHOSTDIST}/readline/readline -DRL_LIBRARY_VERSION=\"8.1\" -DBRACKETED_PASTE_DEFAULT=1 G_OBJECTS=readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o tilde.o colors.o parse-colors.o xmalloc.o xfree.o compat.o
CVS commit: src/external/gpl3/gdb/lib/libreadline/arch/aarch64eb
Module Name:src Committed By: rin Date: Thu Aug 17 10:51:04 UTC 2023 Modified Files: src/external/gpl3/gdb/lib/libreadline/arch/aarch64eb: defs.mk Log Message: gdb: Fix previous; one wrong file was committed... To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 \ src/external/gpl3/gdb/lib/libreadline/arch/aarch64eb/defs.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/lib
Module Name:src Committed By: rin Date: Thu Aug 17 10:21:23 UTC 2023 Modified Files: src/external/gpl3/gdb/lib/libbfd/arch/aarch64: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/aarch64eb: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/alpha: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/arm: config.h defs.mk targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/armeb: config.h defs.mk targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/hppa: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/i386: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/ia64: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/m68k: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/mips64eb: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/mips64el: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/mipseb: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/mipsel: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/mipsn64eb: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/mipsn64el: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/powerpc: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/powerpc64: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/riscv32: config.h defs.mk targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/riscv64: config.h defs.mk targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/sh3eb: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/sh3el: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/sparc: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/sparc64: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/vax: config.h targmatch.h src/external/gpl3/gdb/lib/libbfd/arch/x86_64: config.h targmatch.h src/external/gpl3/gdb/lib/libgdb/arch/aarch64: defs.mk init.c src/external/gpl3/gdb/lib/libgdb/arch/aarch64eb: defs.mk init.c src/external/gpl3/gdb/lib/libgdb/arch/alpha: defs.mk init.c src/external/gpl3/gdb/lib/libgdb/arch/arm: defs.mk src/external/gpl3/gdb/lib/libgdb/arch/armeb: config.h defs.mk src/external/gpl3/gdb/lib/libgdb/arch/hppa: defs.mk src/external/gpl3/gdb/lib/libgdb/arch/i386: defs.mk src/external/gpl3/gdb/lib/libgdb/arch/ia64: defs.mk init.c src/external/gpl3/gdb/lib/libgdb/arch/m68k: defs.mk src/external/gpl3/gdb/lib/libgdb/arch/mips64eb: defs.mk src/external/gpl3/gdb/lib/libgdb/arch/mips64el: defs.mk src/external/gpl3/gdb/lib/libgdb/arch/mipseb: defs.mk src/external/gpl3/gdb/lib/libgdb/arch/mipsel: defs.mk src/external/gpl3/gdb/lib/libgdb/arch/mipsn64eb: defs.mk src/external/gpl3/gdb/lib/libgdb/arch/mipsn64el: defs.mk src/external/gpl3/gdb/lib/libgdb/arch/powerpc: defs.mk src/external/gpl3/gdb/lib/libgdb/arch/powerpc64: defs.mk src/external/gpl3/gdb/lib/libgdb/arch/riscv32: defs.mk src/external/gpl3/gdb/lib/libgdb/arch/riscv64: defs.mk src/external/gpl3/gdb/lib/libgdb/arch/sh3eb: defs.mk src/external/gpl3/gdb/lib/libgdb/arch/sh3el: defs.mk src/external/gpl3/gdb/lib/libgdb/arch/sparc: defs.mk src/external/gpl3/gdb/lib/libgdb/arch/sparc64: defs.mk src/external/gpl3/gdb/lib/libgdb/arch/vax: defs.mk init.c src/external/gpl3/gdb/lib/libgdb/arch/x86_64: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/aarch64: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/aarch64eb: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/alpha: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/arm: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/armeb: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/hppa: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/i386: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/ia64: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/m68k: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/mips64eb: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/mips64el: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/mipseb: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/mipsel: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/mipsn64eb: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/mipsn64el: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/powerpc: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/powerpc64: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/riscv32: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/riscv64: defs.mk src/external/gpl3/gdb/lib/libreadline/arch/sh3eb: defs.mk sr
CVS commit: [netbsd-10] src/doc
Module Name:src Committed By: martin Date: Thu Aug 17 10:03:37 UTC 2023 Modified Files: src/doc [netbsd-10]: CHANGES-10.0 Log Message: Tickets #329 and #330 To generate a diff of this commit: cvs rdiff -u -r1.1.2.108 -r1.1.2.109 src/doc/CHANGES-10.0 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/CHANGES-10.0 diff -u src/doc/CHANGES-10.0:1.1.2.108 src/doc/CHANGES-10.0:1.1.2.109 --- src/doc/CHANGES-10.0:1.1.2.108 Thu Aug 17 09:31:26 2023 +++ src/doc/CHANGES-10.0 Thu Aug 17 10:03:37 2023 @@ -1,4 +1,4 @@ -# $NetBSD: CHANGES-10.0,v 1.1.2.108 2023/08/17 09:31:26 martin Exp $ +# $NetBSD: CHANGES-10.0,v 1.1.2.109 2023/08/17 10:03:37 martin Exp $ A complete list of changes from the initial NetBSD 10.0 branch on 2022-12-16 until the 10.0 release: @@ -11180,3 +11180,19 @@ external/apache2/mDNSResponder/dist/mDNS mdnsd(8): switch to use arc4random(3) for randomness [gutteridge, ticket #328] +distrib/sets/lists/debug/module.md.amd64 1.14 +distrib/sets/lists/modules/md.amd64 1.100 +sys/arch/amd64/conf/GENERIC 1.605 +sys/external/bsd/drm2/dist/include/drm/drm_pciids.h 1.5 +sys/modules/Makefile1.279 + + viadrmums(4): build legacy VIA DRM UMS driver module for amd64. + [andvar, ticket #329] + +sys/dev/vnd.c 1.289 + + vnd(4): PR 57421: fix deadlock in low-memory scenario by allowing + the pagedaemon to allocate for I/O to flush dirty buffers to free + memory. + [riastradh, ticket #330] +
CVS commit: [netbsd-10] src/doc
Module Name:src Committed By: martin Date: Thu Aug 17 10:03:37 UTC 2023 Modified Files: src/doc [netbsd-10]: CHANGES-10.0 Log Message: Tickets #329 and #330 To generate a diff of this commit: cvs rdiff -u -r1.1.2.108 -r1.1.2.109 src/doc/CHANGES-10.0 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-10] src/sys/dev
Module Name:src Committed By: martin Date: Thu Aug 17 10:00:01 UTC 2023 Modified Files: src/sys/dev [netbsd-10]: vnd.c Log Message: Pull up following revision(s) (requested by riastradh in ticket #330): sys/dev/vnd.c: revision 1.289 Neither limit the number of requests for the page daemon. Otherwise you may deadlock when the backend needs to allocate memory and the page daemon needs to flush dirty vnd buffers. See PR 57421 for details. To generate a diff of this commit: cvs rdiff -u -r1.287.4.1 -r1.287.4.2 src/sys/dev/vnd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/vnd.c diff -u src/sys/dev/vnd.c:1.287.4.1 src/sys/dev/vnd.c:1.287.4.2 --- src/sys/dev/vnd.c:1.287.4.1 Thu Mar 16 07:19:51 2023 +++ src/sys/dev/vnd.c Thu Aug 17 10:00:01 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: vnd.c,v 1.287.4.1 2023/03/16 07:19:51 martin Exp $ */ +/* $NetBSD: vnd.c,v 1.287.4.2 2023/08/17 10:00:01 martin Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 2008, 2020 The NetBSD Foundation, Inc. @@ -91,7 +91,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.287.4.1 2023/03/16 07:19:51 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.287.4.2 2023/08/17 10:00:01 martin Exp $"); #if defined(_KERNEL_OPT) #include "opt_vnd.h" @@ -123,6 +123,8 @@ __KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.28 #include #include +#include + #include #include @@ -559,7 +561,7 @@ vndstrategy(struct buf *bp) * thread to add requests, as a wedge on vnd queues * requests with biodone() -> dkstart() -> vndstrategy(). */ - if (curlwp != vnd->sc_kthread) { + if (curlwp != vnd->sc_kthread && curlwp != uvm.pagedaemon_lwp) { while (vnd->sc_pending >= VND_MAXPENDING(vnd)) tsleep(&vnd->sc_pending, PRIBIO, "vndpc", 0); }
CVS commit: [netbsd-10] src/sys/dev
Module Name:src Committed By: martin Date: Thu Aug 17 10:00:01 UTC 2023 Modified Files: src/sys/dev [netbsd-10]: vnd.c Log Message: Pull up following revision(s) (requested by riastradh in ticket #330): sys/dev/vnd.c: revision 1.289 Neither limit the number of requests for the page daemon. Otherwise you may deadlock when the backend needs to allocate memory and the page daemon needs to flush dirty vnd buffers. See PR 57421 for details. To generate a diff of this commit: cvs rdiff -u -r1.287.4.1 -r1.287.4.2 src/sys/dev/vnd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-10] src
Module Name:src Committed By: martin Date: Thu Aug 17 09:57:28 UTC 2023 Modified Files: src/distrib/sets/lists/debug [netbsd-10]: module.md.amd64 src/distrib/sets/lists/modules [netbsd-10]: md.amd64 src/sys/arch/amd64/conf [netbsd-10]: GENERIC src/sys/external/bsd/drm2/dist/include/drm [netbsd-10]: drm_pciids.h src/sys/modules [netbsd-10]: Makefile Log Message: Pull up following revision(s) (requested by andvar in ticket #329): distrib/sets/lists/modules/md.amd64: revision 1.100 sys/external/bsd/drm2/dist/include/drm/drm_pciids.h: revision 1.5 sys/arch/amd64/conf/GENERIC: revision 1.605 sys/modules/Makefile: revision 1.279 distrib/sets/lists/debug/module.md.amd64: revision 1.14 viadrmums(4): build legacy VIA DRM UMS driver module for amd64. This driver is not built-in by default, thus loadable module can help (un)lucky owners of 64-bit capable VIA (Nano/Eden) systems or early AMD/Intel systems with some VIA chipsets, which include VIA integrated graphics. I also boldly added product IDs for few later models from VX8xx/VX9xx chipsets without 3D support (DX9_0) to "expand" the driver support to more systems. Tested successfully basic functionality on VX800, and partially successfully on VX900 (on VX900 Xorg failed to initialize due to openchrome related issues, viadrmums attaches and it is by used the driver). Didn't test on VX855, I don't have one. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.12.2.1 src/distrib/sets/lists/debug/module.md.amd64 cvs rdiff -u -r1.98 -r1.98.2.1 src/distrib/sets/lists/modules/md.amd64 cvs rdiff -u -r1.599.4.1 -r1.599.4.2 src/sys/arch/amd64/conf/GENERIC cvs rdiff -u -r1.4 -r1.4.4.1 \ src/sys/external/bsd/drm2/dist/include/drm/drm_pciids.h cvs rdiff -u -r1.274 -r1.274.2.1 src/sys/modules/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/sets/lists/debug/module.md.amd64 diff -u src/distrib/sets/lists/debug/module.md.amd64:1.12 src/distrib/sets/lists/debug/module.md.amd64:1.12.2.1 --- src/distrib/sets/lists/debug/module.md.amd64:1.12 Thu Jul 28 22:00:23 2022 +++ src/distrib/sets/lists/debug/module.md.amd64 Thu Aug 17 09:57:28 2023 @@ -1,4 +1,4 @@ -# $NetBSD: module.md.amd64,v 1.12 2022/07/28 22:00:23 riastradh Exp $ +# $NetBSD: module.md.amd64,v 1.12.2.1 2023/08/17 09:57:28 martin Exp $ ./usr/libdata/debug/@MODULEDIR@/acpiacadmodules-base-kernel kmod,debug ./usr/libdata/debug/@MODULEDIR@/acpiacad/acpiacad.kmod.debug modules-base-kernel kmod,debug ./usr/libdata/debug/@MODULEDIR@/acpibatmodules-base-kernel kmod,debug @@ -203,6 +203,8 @@ ./usr/libdata/debug/@MODULEDIR@/tvpll/tvpll.kmod.debug modules-base-kernel kmod,debug ./usr/libdata/debug/@MODULEDIR@/ubsecmodules-base-kernel kmod,debug ./usr/libdata/debug/@MODULEDIR@/ubsec/ubsec.kmod.debug modules-base-kernel kmod,debug +./usr/libdata/debug/@MODULEDIR@/viadrmums modules-base-kernel kmod,debug +./usr/libdata/debug/@MODULEDIR@/viadrmums/viadrmums.kmod.debug modules-base-kernel kmod,debug ./usr/libdata/debug/@MODULEDIR@/vmtmodules-base-kernel kmod,debug ./usr/libdata/debug/@MODULEDIR@/vmt/vmt.kmod.debug modules-base-kernel kmod,debug ./usr/libdata/debug/@MODULEDIR@/wbsiomodules-base-kernel kmod,debug Index: src/distrib/sets/lists/modules/md.amd64 diff -u src/distrib/sets/lists/modules/md.amd64:1.98 src/distrib/sets/lists/modules/md.amd64:1.98.2.1 --- src/distrib/sets/lists/modules/md.amd64:1.98 Wed Sep 7 11:37:25 2022 +++ src/distrib/sets/lists/modules/md.amd64 Thu Aug 17 09:57:28 2023 @@ -1,4 +1,4 @@ -# $NetBSD: md.amd64,v 1.98 2022/09/07 11:37:25 martin Exp $ +# $NetBSD: md.amd64,v 1.98.2.1 2023/08/17 09:57:28 martin Exp $ # ./@MODULEDIR@/acpiacadmodules-base-kernel kmod ./@MODULEDIR@/acpiacad/acpiacad.kmod modules-base-kernel kmod @@ -220,6 +220,8 @@ ./@MODULEDIR@/tvpll/tvpll.kmod modules-base-kernel kmod ./@MODULEDIR@/ubsecmodules-base-kernel kmod ./@MODULEDIR@/ubsec/ubsec.kmod modules-base-kernel kmod +./@MODULEDIR@/viadrmumsmodules-base-kernel kmod +./@MODULEDIR@/viadrmums/viadrmums.kmod modules-base-kernel kmod ./@MODULEDIR@/vmtmodules-base-kernel kmod ./@MODULEDIR@/vmt/vmt.kmod modules-base-kernel kmod ./@MODULEDIR@/wbsiomodules-base-kernel kmod Index: src/sys/arch/amd64/conf/GENERIC diff -u src/sys/arch/amd64/conf/GENERIC:1.599.4.1 src/sys/arch/amd64/conf/GENERIC:1.599.4.2 --- src/sys/arch/amd64/conf/GENERIC:1.599.4.1 Tue Aug 1 14:06:36 2023 +++ src/sys/arch/amd64/conf/GENERIC Thu Aug 17 09:57:28 2023 @@ -1,4 +1,4 @@ -# $NetBSD: GENERIC,v 1.599.4.1 2023/08/01 14:06:36 martin Exp $ +# $NetBSD: GENERIC,v 1.599.4.2 2023/08/17 09:57:28 martin Exp $ # # GENERIC machine description file # @@ -22,7 +22,7 @@ include "arch/amd64/conf/std.amd64" options INCLUDE_CONFIG_FILE # embed config file in kernel binary -#ident "G
CVS commit: [netbsd-10] src
Module Name:src Committed By: martin Date: Thu Aug 17 09:57:28 UTC 2023 Modified Files: src/distrib/sets/lists/debug [netbsd-10]: module.md.amd64 src/distrib/sets/lists/modules [netbsd-10]: md.amd64 src/sys/arch/amd64/conf [netbsd-10]: GENERIC src/sys/external/bsd/drm2/dist/include/drm [netbsd-10]: drm_pciids.h src/sys/modules [netbsd-10]: Makefile Log Message: Pull up following revision(s) (requested by andvar in ticket #329): distrib/sets/lists/modules/md.amd64: revision 1.100 sys/external/bsd/drm2/dist/include/drm/drm_pciids.h: revision 1.5 sys/arch/amd64/conf/GENERIC: revision 1.605 sys/modules/Makefile: revision 1.279 distrib/sets/lists/debug/module.md.amd64: revision 1.14 viadrmums(4): build legacy VIA DRM UMS driver module for amd64. This driver is not built-in by default, thus loadable module can help (un)lucky owners of 64-bit capable VIA (Nano/Eden) systems or early AMD/Intel systems with some VIA chipsets, which include VIA integrated graphics. I also boldly added product IDs for few later models from VX8xx/VX9xx chipsets without 3D support (DX9_0) to "expand" the driver support to more systems. Tested successfully basic functionality on VX800, and partially successfully on VX900 (on VX900 Xorg failed to initialize due to openchrome related issues, viadrmums attaches and it is by used the driver). Didn't test on VX855, I don't have one. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.12.2.1 src/distrib/sets/lists/debug/module.md.amd64 cvs rdiff -u -r1.98 -r1.98.2.1 src/distrib/sets/lists/modules/md.amd64 cvs rdiff -u -r1.599.4.1 -r1.599.4.2 src/sys/arch/amd64/conf/GENERIC cvs rdiff -u -r1.4 -r1.4.4.1 \ src/sys/external/bsd/drm2/dist/include/drm/drm_pciids.h cvs rdiff -u -r1.274 -r1.274.2.1 src/sys/modules/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-10] src/doc
Module Name:src Committed By: martin Date: Thu Aug 17 09:31:26 UTC 2023 Modified Files: src/doc [netbsd-10]: CHANGES-10.0 Log Message: Ammend ticket #328 for additional (empty) commits To generate a diff of this commit: cvs rdiff -u -r1.1.2.107 -r1.1.2.108 src/doc/CHANGES-10.0 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/CHANGES-10.0 diff -u src/doc/CHANGES-10.0:1.1.2.107 src/doc/CHANGES-10.0:1.1.2.108 --- src/doc/CHANGES-10.0:1.1.2.107 Tue Aug 15 10:05:47 2023 +++ src/doc/CHANGES-10.0 Thu Aug 17 09:31:26 2023 @@ -1,4 +1,4 @@ -# $NetBSD: CHANGES-10.0,v 1.1.2.107 2023/08/15 10:05:47 martin Exp $ +# $NetBSD: CHANGES-10.0,v 1.1.2.108 2023/08/17 09:31:26 martin Exp $ A complete list of changes from the initial NetBSD 10.0 branch on 2022-12-16 until the 10.0 release: @@ -11173,7 +11173,9 @@ sys/uvm/uvm_fault.c1.234 uvm: PR 56535: prevent TLB invalidation races during COW resolution. [chs, ticket #327] -external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile 1.18 +external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile 1.18 +external/apache2/mDNSResponder/dist/mDNSCore/DNSCommon.c 1.10 +external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c 1.18 mdnsd(8): switch to use arc4random(3) for randomness [gutteridge, ticket #328]
CVS commit: [netbsd-10] src/doc
Module Name:src Committed By: martin Date: Thu Aug 17 09:31:26 UTC 2023 Modified Files: src/doc [netbsd-10]: CHANGES-10.0 Log Message: Ammend ticket #328 for additional (empty) commits To generate a diff of this commit: cvs rdiff -u -r1.1.2.107 -r1.1.2.108 src/doc/CHANGES-10.0 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/lib
Module Name:src Committed By: rin Date: Thu Aug 17 09:03:34 UTC 2023 Removed Files: src/external/gpl3/gdb/lib/libbfd/arch/coldfire: bfd-in3.h bfd.h bfdver.h config.h defs.mk targmatch.h src/external/gpl3/gdb/lib/libdecnumber/arch/coldfire: config.h defs.mk gstdint.h src/external/gpl3/gdb/lib/libgdb/arch/coldfire: config.h defs.mk init.c jit-reader.h observer.h observer.inc version.c xml-builtin.c src/external/gpl3/gdb/lib/libiberty/arch/coldfire: config.h defs.mk src/external/gpl3/gdb/lib/libopcodes/arch/coldfire: config.h defs.mk src/external/gpl3/gdb/lib/libreadline/arch/coldfire: config.h defs.mk Log Message: gdb: Remove mknative-generated files for coldfire toolchain has been broken for a while, and will take time if revive. To generate a diff of this commit: cvs rdiff -u -r1.6 -r0 \ src/external/gpl3/gdb/lib/libbfd/arch/coldfire/bfd-in3.h \ src/external/gpl3/gdb/lib/libbfd/arch/coldfire/bfd.h \ src/external/gpl3/gdb/lib/libbfd/arch/coldfire/bfdver.h cvs rdiff -u -r1.7 -r0 \ src/external/gpl3/gdb/lib/libbfd/arch/coldfire/config.h \ src/external/gpl3/gdb/lib/libbfd/arch/coldfire/targmatch.h cvs rdiff -u -r1.2 -r0 src/external/gpl3/gdb/lib/libbfd/arch/coldfire/defs.mk cvs rdiff -u -r1.2 -r0 \ src/external/gpl3/gdb/lib/libdecnumber/arch/coldfire/config.h cvs rdiff -u -r1.1 -r0 \ src/external/gpl3/gdb/lib/libdecnumber/arch/coldfire/defs.mk cvs rdiff -u -r1.3 -r0 \ src/external/gpl3/gdb/lib/libdecnumber/arch/coldfire/gstdint.h cvs rdiff -u -r1.8 -r0 \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/config.h cvs rdiff -u -r1.7 -r0 src/external/gpl3/gdb/lib/libgdb/arch/coldfire/defs.mk \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/init.c cvs rdiff -u -r1.4 -r0 \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/jit-reader.h cvs rdiff -u -r1.5 -r0 \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.h \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.inc cvs rdiff -u -r1.6 -r0 \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/version.c \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/xml-builtin.c cvs rdiff -u -r1.6 -r0 \ src/external/gpl3/gdb/lib/libiberty/arch/coldfire/config.h cvs rdiff -u -r1.4 -r0 \ src/external/gpl3/gdb/lib/libiberty/arch/coldfire/defs.mk cvs rdiff -u -r1.5 -r0 \ src/external/gpl3/gdb/lib/libopcodes/arch/coldfire/config.h cvs rdiff -u -r1.1 -r0 \ src/external/gpl3/gdb/lib/libopcodes/arch/coldfire/defs.mk cvs rdiff -u -r1.2 -r0 \ src/external/gpl3/gdb/lib/libreadline/arch/coldfire/config.h \ src/external/gpl3/gdb/lib/libreadline/arch/coldfire/defs.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/lib
Module Name:src Committed By: rin Date: Thu Aug 17 09:03:34 UTC 2023 Removed Files: src/external/gpl3/gdb/lib/libbfd/arch/coldfire: bfd-in3.h bfd.h bfdver.h config.h defs.mk targmatch.h src/external/gpl3/gdb/lib/libdecnumber/arch/coldfire: config.h defs.mk gstdint.h src/external/gpl3/gdb/lib/libgdb/arch/coldfire: config.h defs.mk init.c jit-reader.h observer.h observer.inc version.c xml-builtin.c src/external/gpl3/gdb/lib/libiberty/arch/coldfire: config.h defs.mk src/external/gpl3/gdb/lib/libopcodes/arch/coldfire: config.h defs.mk src/external/gpl3/gdb/lib/libreadline/arch/coldfire: config.h defs.mk Log Message: gdb: Remove mknative-generated files for coldfire toolchain has been broken for a while, and will take time if revive. To generate a diff of this commit: cvs rdiff -u -r1.6 -r0 \ src/external/gpl3/gdb/lib/libbfd/arch/coldfire/bfd-in3.h \ src/external/gpl3/gdb/lib/libbfd/arch/coldfire/bfd.h \ src/external/gpl3/gdb/lib/libbfd/arch/coldfire/bfdver.h cvs rdiff -u -r1.7 -r0 \ src/external/gpl3/gdb/lib/libbfd/arch/coldfire/config.h \ src/external/gpl3/gdb/lib/libbfd/arch/coldfire/targmatch.h cvs rdiff -u -r1.2 -r0 src/external/gpl3/gdb/lib/libbfd/arch/coldfire/defs.mk cvs rdiff -u -r1.2 -r0 \ src/external/gpl3/gdb/lib/libdecnumber/arch/coldfire/config.h cvs rdiff -u -r1.1 -r0 \ src/external/gpl3/gdb/lib/libdecnumber/arch/coldfire/defs.mk cvs rdiff -u -r1.3 -r0 \ src/external/gpl3/gdb/lib/libdecnumber/arch/coldfire/gstdint.h cvs rdiff -u -r1.8 -r0 \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/config.h cvs rdiff -u -r1.7 -r0 src/external/gpl3/gdb/lib/libgdb/arch/coldfire/defs.mk \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/init.c cvs rdiff -u -r1.4 -r0 \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/jit-reader.h cvs rdiff -u -r1.5 -r0 \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.h \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/observer.inc cvs rdiff -u -r1.6 -r0 \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/version.c \ src/external/gpl3/gdb/lib/libgdb/arch/coldfire/xml-builtin.c cvs rdiff -u -r1.6 -r0 \ src/external/gpl3/gdb/lib/libiberty/arch/coldfire/config.h cvs rdiff -u -r1.4 -r0 \ src/external/gpl3/gdb/lib/libiberty/arch/coldfire/defs.mk cvs rdiff -u -r1.5 -r0 \ src/external/gpl3/gdb/lib/libopcodes/arch/coldfire/config.h cvs rdiff -u -r1.1 -r0 \ src/external/gpl3/gdb/lib/libopcodes/arch/coldfire/defs.mk cvs rdiff -u -r1.2 -r0 \ src/external/gpl3/gdb/lib/libreadline/arch/coldfire/config.h \ src/external/gpl3/gdb/lib/libreadline/arch/coldfire/defs.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tools/gdb
Module Name:src Committed By: rin Date: Thu Aug 17 07:54:11 UTC 2023 Modified Files: src/tools/gdb: Makefile Log Message: tools/gdb: Drop working dir for mknative from generated files Migrate -I${.OBJDIR}/.native/include from CPPFLAGS to CCADDFLAGS for this purpose. No binary changes for native binaries as far as I can see. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/tools/gdb/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tools/gdb/Makefile diff -u src/tools/gdb/Makefile:1.47 src/tools/gdb/Makefile:1.48 --- src/tools/gdb/Makefile:1.47 Thu Aug 17 05:35:09 2023 +++ src/tools/gdb/Makefile Thu Aug 17 07:54:10 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.47 2023/08/17 05:35:09 rin Exp $ +# $NetBSD: Makefile,v 1.48 2023/08/17 07:54:10 rin Exp $ .include @@ -38,7 +38,7 @@ MKNATIVE_ENV= ${BINENV} ${CONFIGURE_ENV: CC=${CC:Q}' '${CCADDFLAGS:Q} \ CXX=${CXX:Q}' '${CCADDFLAGS:Q}' '${CXXADDFLAGS:Q} \ CPP=${CPP:Q}' '-I${DESTDIR}/usr/include \ - CFLAGS= CPPFLAGS=-I${.OBJDIR}/.native/include \ + CFLAGS= CPPFLAGS= \ CXXFLAGS= LDFLAGS=-L${GMPOBJ} \ AS=${AS:Q} AWK=${TOOL_AWK:Q} LD=${LD:Q} \ MSGFMT=${TOOLDIR}/bin/${_TOOL_PREFIX}msgfmt \ @@ -49,7 +49,9 @@ MKNATIVE_ENV= ${BINENV} ${CONFIGURE_ENV: MKENV_BUILD_MAKE=${MKNATIVE_ENV} ${BUILD_MAKE} -CCADDFLAGS+= --sysroot=${DESTDIR} -B${DESTDIR}/usr/lib/ -I${.OBJDIR}/.native/gcc/include +CCADDFLAGS+= --sysroot=${DESTDIR} -B${DESTDIR}/usr/lib/ \ + -I${.OBJDIR}/.native/include \ + -I${.OBJDIR}/.native/gcc/include LDADDFLAGS+= -L${DESTDIR}/lib -L${DESTDIR}/usr/lib CXXADDFLAGS+= -D__STDC_FORMAT_MACROS CXXADDFLAGS+= -D__STDC_LIMIT_MACROS
CVS commit: src/tools/gdb
Module Name:src Committed By: rin Date: Thu Aug 17 07:54:11 UTC 2023 Modified Files: src/tools/gdb: Makefile Log Message: tools/gdb: Drop working dir for mknative from generated files Migrate -I${.OBJDIR}/.native/include from CPPFLAGS to CCADDFLAGS for this purpose. No binary changes for native binaries as far as I can see. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/tools/gdb/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Thu Aug 17 07:51:29 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: netbsd-tdep.c netbsd-tdep.h Log Message: gdb/netbsd: Drop unused functions. NFCI. Note that these two funcs, nbsd_ilp32_solib_svr4_fetch_link_map_offsets, and nbsd_lp64_solib_svr4_fetch_link_map_offsets, merely fall back to default ELF functions. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gdb/dist/gdb/netbsd-tdep.c cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/gdb/netbsd-tdep.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/gdb/netbsd-tdep.c diff -u src/external/gpl3/gdb/dist/gdb/netbsd-tdep.c:1.2 src/external/gpl3/gdb/dist/gdb/netbsd-tdep.c:1.3 --- src/external/gpl3/gdb/dist/gdb/netbsd-tdep.c:1.2 Thu Aug 17 06:54:31 2023 +++ src/external/gpl3/gdb/dist/gdb/netbsd-tdep.c Thu Aug 17 07:51:29 2023 @@ -46,21 +46,6 @@ #define KINFO_VME_FLAG_GROWS_UP 0x0010 #define KINFO_VME_FLAG_GROWS_DOWN 0x0020 -/* FIXME: kettenis/20060115: We should really eliminate the next two - functions completely. */ - -struct link_map_offsets * -nbsd_ilp32_solib_svr4_fetch_link_map_offsets (void) -{ - return svr4_ilp32_fetch_link_map_offsets (); -} - -struct link_map_offsets * -nbsd_lp64_solib_svr4_fetch_link_map_offsets (void) -{ - return svr4_lp64_fetch_link_map_offsets (); -} - int nbsd_pc_in_sigtramp (CORE_ADDR pc, const char *func_name) { Index: src/external/gpl3/gdb/dist/gdb/netbsd-tdep.h diff -u src/external/gpl3/gdb/dist/gdb/netbsd-tdep.h:1.1.1.1 src/external/gpl3/gdb/dist/gdb/netbsd-tdep.h:1.2 --- src/external/gpl3/gdb/dist/gdb/netbsd-tdep.h:1.1.1.1 Sun Jul 30 22:44:47 2023 +++ src/external/gpl3/gdb/dist/gdb/netbsd-tdep.h Thu Aug 17 07:51:29 2023 @@ -20,9 +20,6 @@ #ifndef NBSD_TDEP_H #define NBSD_TDEP_H -struct link_map_offsets *nbsd_ilp32_solib_svr4_fetch_link_map_offsets (void); -struct link_map_offsets *nbsd_lp64_solib_svr4_fetch_link_map_offsets (void); - int nbsd_pc_in_sigtramp (CORE_ADDR, const char *); /* NetBSD specific set of ABI-related routines. */
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Thu Aug 17 07:51:29 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: netbsd-tdep.c netbsd-tdep.h Log Message: gdb/netbsd: Drop unused functions. NFCI. Note that these two funcs, nbsd_ilp32_solib_svr4_fetch_link_map_offsets, and nbsd_lp64_solib_svr4_fetch_link_map_offsets, merely fall back to default ELF functions. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gdb/dist/gdb/netbsd-tdep.c cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/gdb/netbsd-tdep.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Thu Aug 17 07:47:07 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: configure.nat configure.tgt Log Message: gdb/bfd: Drop duplicate entries for source files, lost during merge No functional changes intended. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gdb/dist/gdb/configure.nat cvs rdiff -u -r1.31 -r1.32 src/external/gpl3/gdb/dist/gdb/configure.tgt Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Thu Aug 17 07:47:07 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: configure.nat configure.tgt Log Message: gdb/bfd: Drop duplicate entries for source files, lost during merge No functional changes intended. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gdb/dist/gdb/configure.nat cvs rdiff -u -r1.31 -r1.32 src/external/gpl3/gdb/dist/gdb/configure.tgt Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/gdb/configure.nat diff -u src/external/gpl3/gdb/dist/gdb/configure.nat:1.9 src/external/gpl3/gdb/dist/gdb/configure.nat:1.10 --- src/external/gpl3/gdb/dist/gdb/configure.nat:1.9 Mon Aug 14 20:42:27 2023 +++ src/external/gpl3/gdb/dist/gdb/configure.nat Thu Aug 17 07:47:07 2023 @@ -362,7 +362,7 @@ case ${gdb_host} in ;; i386) # Host: NetBSD/i386 ELF - NATDEPFILES="${NATDEPFILES} netbsd-nat.o x86-nat.o \ + NATDEPFILES="${NATDEPFILES} x86-nat.o \ nat/x86-dregs.o \ x86-bsd-nat.o i386-bsd-nat.o i386-netbsd-nat.o" ;; @@ -376,7 +376,7 @@ case ${gdb_host} in ;; pa) # Host: NetBSD/hppa - NATDEPFILES="${NATDEPFILES} netbsd-nat.o hppa-netbsd-nat.o" + NATDEPFILES="${NATDEPFILES} hppa-netbsd-nat.o" ;; powerpc) # Host: NetBSD/powerpc @@ -405,8 +405,8 @@ case ${gdb_host} in case ${gdb_host_cpu} in i386) # Host: NetBSD/amd64 - NATDEPFILES="${NATDEPFILES} netbsd-nat.o amd64-nat.o \ - x86-nat.o nat/x86-dregs.o x86-bsd-nat.o amd64-bsd-nat.o \ + NATDEPFILES="${NATDEPFILES} amd64-nat.o x86-nat.o \ + nat/x86-dregs.o x86-bsd-nat.o amd64-bsd-nat.o \ amd64-netbsd-nat.o" ;; sparc) Index: src/external/gpl3/gdb/dist/gdb/configure.tgt diff -u src/external/gpl3/gdb/dist/gdb/configure.tgt:1.31 src/external/gpl3/gdb/dist/gdb/configure.tgt:1.32 --- src/external/gpl3/gdb/dist/gdb/configure.tgt:1.31 Thu Aug 17 07:45:11 2023 +++ src/external/gpl3/gdb/dist/gdb/configure.tgt Thu Aug 17 07:47:07 2023 @@ -269,7 +269,7 @@ hppa*-*-linux*) ;; hppa*-*-netbsd*) # Target: NetBSD/hppa - gdb_target_obs="hppa-bsd-tdep.o hppa-netbsd-tdep.o solib-svr4.o" + gdb_target_obs="hppa-bsd-tdep.o hppa-netbsd-tdep.o" ;; hppa*-*-openbsd*) # Target: OpenBSD/hppa
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Thu Aug 17 07:45:11 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: configure.tgt Log Message: gdb/vax and ia64: Add missing tdep files for NetBSD They are also missing for gdb 11. XXX For vax, something still wrong. For ia64, compile test only. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/external/gpl3/gdb/dist/gdb/configure.tgt Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/gdb/configure.tgt diff -u src/external/gpl3/gdb/dist/gdb/configure.tgt:1.30 src/external/gpl3/gdb/dist/gdb/configure.tgt:1.31 --- src/external/gpl3/gdb/dist/gdb/configure.tgt:1.30 Mon Aug 14 20:42:27 2023 +++ src/external/gpl3/gdb/dist/gdb/configure.tgt Thu Aug 17 07:45:11 2023 @@ -349,6 +349,11 @@ ia64-*-*vms*) gdb_target_obs="ia64-vms-tdep.o" ;; +ia64-*-netbsd*) + # Target: Intel IA-64 running netbsd + gdb_target_obs="ia64-netbsd-tdep.o" + ;; + iq2000-*-*) gdb_target_obs="iq2000-tdep.o" ;; @@ -689,7 +694,7 @@ v850*-*-elf | v850*-*-rtems*) vax-*-netbsd* | vax-*-knetbsd*-gnu) # Target: NetBSD/vax - gdb_target_obs="vax-tdep.o" + gdb_target_obs="vax-tdep.o vax-netbsd-tdep.o" ;; vax-*-openbsd*) # Target: OpenBSD/vax
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Thu Aug 17 07:45:11 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: configure.tgt Log Message: gdb/vax and ia64: Add missing tdep files for NetBSD They are also missing for gdb 11. XXX For vax, something still wrong. For ia64, compile test only. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/external/gpl3/gdb/dist/gdb/configure.tgt Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 07:40:20 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: configure Log Message: gdb/bfd: Disable secure PLT for NetBSD/alpha, lost during merge Until our ld.elf_so supports it, see PR port-alpha/57511 This does not affect platforms other than alpha. XXX mknative later To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gdb/dist/bfd/configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/configure diff -u src/external/gpl3/gdb/dist/bfd/configure:1.16 src/external/gpl3/gdb/dist/bfd/configure:1.17 --- src/external/gpl3/gdb/dist/bfd/configure:1.16 Thu Aug 17 07:37:36 2023 +++ src/external/gpl3/gdb/dist/bfd/configure Thu Aug 17 07:40:20 2023 @@ -11979,7 +11979,7 @@ if test "${enable_secureplt+set}" = set; *)as_fn_error $? "bad value ${enableval} for secureplt option" "$LINENO" 5 ;; esac else - use_secureplt=true + use_secureplt=false # XXX port-alpha/57511 fi if test $use_secureplt = true; then
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 07:40:20 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: configure Log Message: gdb/bfd: Disable secure PLT for NetBSD/alpha, lost during merge Until our ld.elf_so supports it, see PR port-alpha/57511 This does not affect platforms other than alpha. XXX mknative later To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gdb/dist/bfd/configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 07:37:36 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: configure Log Message: gdb/bfd: Add initial support to NetBSD-style core file for riscv Not working yet: Reading symbols from cat... Reading symbols from /usr/libdata/debug//bin/cat.debug... warning: Couldn't find general-purpose registers in core file. Core was generated by `cat'. Program terminated with signal SIGQUIT, Quit. warning: Couldn't find general-purpose registers in core file. #0 in ?? () (gdb) To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gdb/dist/bfd/configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/configure diff -u src/external/gpl3/gdb/dist/bfd/configure:1.15 src/external/gpl3/gdb/dist/bfd/configure:1.16 --- src/external/gpl3/gdb/dist/bfd/configure:1.15 Mon Jul 31 16:59:49 2023 +++ src/external/gpl3/gdb/dist/bfd/configure Thu Aug 17 07:37:36 2023 @@ -14114,6 +14114,9 @@ if test "${target}" = "${host}"; then ns32k-*-netbsd* | ns32k-*-openbsd*) COREFILE=netbsd-core.lo ;; + riscv*-*-netbsd*) + COREFILE=netbsd-core.lo + ;; rs6000-*-lynx*) COREFILE=lynx-core.lo ;;
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 07:37:36 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: configure Log Message: gdb/bfd: Add initial support to NetBSD-style core file for riscv Not working yet: Reading symbols from cat... Reading symbols from /usr/libdata/debug//bin/cat.debug... warning: Couldn't find general-purpose registers in core file. Core was generated by `cat'. Program terminated with signal SIGQUIT, Quit. warning: Couldn't find general-purpose registers in core file. #0 in ?? () (gdb) To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gdb/dist/bfd/configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 07:33:21 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: binutils/bfd: Fix target triplets of NetBSD/arm from binutils.old XXX mknative later To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/external/gpl3/binutils/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/binutils/dist/bfd/config.bfd diff -u src/external/gpl3/binutils/dist/bfd/config.bfd:1.38 src/external/gpl3/binutils/dist/bfd/config.bfd:1.39 --- src/external/gpl3/binutils/dist/bfd/config.bfd:1.38 Wed Feb 8 01:53:12 2023 +++ src/external/gpl3/binutils/dist/bfd/config.bfd Thu Aug 17 07:33:21 2023 @@ -374,11 +374,11 @@ case "${targ}" in targ_defvec=arm_elf32_nacl_be_vec targ_selvecs="arm_elf32_nacl_le_vec" ;; - armeb-*-netbsd*) + arm*eb-*-netbsd*) targ_defvec=arm_elf32_be_vec targ_selvecs="arm_elf32_le_vec" ;; - arm-*-netbsd*) + arm*-*-netbsd*) targ_defvec=arm_elf32_le_vec targ_selvecs="arm_elf32_be_vec" ;;
CVS commit: src/external/gpl3/binutils/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 07:33:21 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: config.bfd Log Message: binutils/bfd: Fix target triplets of NetBSD/arm from binutils.old XXX mknative later To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/external/gpl3/binutils/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 07:29:22 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: gdb/bfd: Correct default byte-order for armeb, lost during merge XXX mknative later To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/bfd/config.bfd diff -u src/external/gpl3/gdb/dist/bfd/config.bfd:1.24 src/external/gpl3/gdb/dist/bfd/config.bfd:1.25 --- src/external/gpl3/gdb/dist/bfd/config.bfd:1.24 Mon Jul 31 16:59:49 2023 +++ src/external/gpl3/gdb/dist/bfd/config.bfd Thu Aug 17 07:29:22 2023 @@ -385,11 +385,11 @@ case "${targ}" in targ_defvec=arm_elf32_nacl_be_vec targ_selvecs="arm_elf32_nacl_le_vec" ;; - armeb-*-netbsd*) + arm*eb-*-netbsd*) targ_defvec=arm_elf32_be_vec targ_selvecs="arm_elf32_le_vec" ;; - arm-*-netbsd* | arm-*-openbsd*) + arm*-*-netbsd* | arm-*-openbsd*) targ_defvec=arm_elf32_le_vec targ_selvecs="arm_elf32_be_vec" ;;
CVS commit: src/external/gpl3/gdb/dist/bfd
Module Name:src Committed By: rin Date: Thu Aug 17 07:29:22 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/bfd: config.bfd Log Message: gdb/bfd: Correct default byte-order for armeb, lost during merge XXX mknative later To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/external/gpl3/gdb/dist/bfd/config.bfd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Thu Aug 17 07:25:52 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: aarch64-netbsd-nat.c aarch64-netbsd-tdep.c ia64-netbsd-tdep.c Log Message: gdb/aarch64, ia64: Make constructors called correctly. For gdb 13, _init_foo_bar functions are registered into init.c by newly-introduced ``make-init-c'' script. It does not recognize functions declaration with void argument. As a result, these constructors are not called for aarch64 and ia64. XXX mknative later To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gdb/dist/gdb/aarch64-netbsd-nat.c \ src/external/gpl3/gdb/dist/gdb/aarch64-netbsd-tdep.c \ src/external/gpl3/gdb/dist/gdb/ia64-netbsd-tdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/gdb/aarch64-netbsd-nat.c diff -u src/external/gpl3/gdb/dist/gdb/aarch64-netbsd-nat.c:1.1 src/external/gpl3/gdb/dist/gdb/aarch64-netbsd-nat.c:1.2 --- src/external/gpl3/gdb/dist/gdb/aarch64-netbsd-nat.c:1.1 Mon Aug 14 20:42:27 2023 +++ src/external/gpl3/gdb/dist/gdb/aarch64-netbsd-nat.c Thu Aug 17 07:25:52 2023 @@ -174,7 +174,7 @@ aarch64_nbsd_supply_pcb (struct regcache } void -_initialize_aarch64_nbsd_nat (void) +_initialize_aarch64_nbsd_nat () { add_inf_child_target (&the_aarch64_nbsd_nat_target); Index: src/external/gpl3/gdb/dist/gdb/aarch64-netbsd-tdep.c diff -u src/external/gpl3/gdb/dist/gdb/aarch64-netbsd-tdep.c:1.1 src/external/gpl3/gdb/dist/gdb/aarch64-netbsd-tdep.c:1.2 --- src/external/gpl3/gdb/dist/gdb/aarch64-netbsd-tdep.c:1.1 Mon Aug 14 20:42:27 2023 +++ src/external/gpl3/gdb/dist/gdb/aarch64-netbsd-tdep.c Thu Aug 17 07:25:52 2023 @@ -196,9 +196,8 @@ aarch64_nbsd_init_abi (struct gdbarch_in (gdbarch, aarch64_nbsd_iterate_over_regset_sections); } -void _initialize_aarch64_nbsd_tdep (void); void -_initialize_aarch64_nbsd_tdep (void) +_initialize_aarch64_nbsd_tdep () { gdbarch_register_osabi (bfd_arch_aarch64, 0, GDB_OSABI_NETBSD, aarch64_nbsd_init_abi); Index: src/external/gpl3/gdb/dist/gdb/ia64-netbsd-tdep.c diff -u src/external/gpl3/gdb/dist/gdb/ia64-netbsd-tdep.c:1.1 src/external/gpl3/gdb/dist/gdb/ia64-netbsd-tdep.c:1.2 --- src/external/gpl3/gdb/dist/gdb/ia64-netbsd-tdep.c:1.1 Mon Aug 14 20:42:27 2023 +++ src/external/gpl3/gdb/dist/gdb/ia64-netbsd-tdep.c Thu Aug 17 07:25:52 2023 @@ -35,11 +35,8 @@ ia64nbsd_elf_init_abi (struct gdbarch_in } -/* Provide a prototype to silence -Wmissing-prototypes. */ -void _initialize_ia64nbsd_tdep (void); - void -_initialize_ia64nbsd_tdep (void) +_initialize_ia64nbsd_tdep () { gdbarch_register_osabi (bfd_arch_ia64, 0, GDB_OSABI_NETBSD, ia64nbsd_elf_init_abi);
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Thu Aug 17 07:25:52 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: aarch64-netbsd-nat.c aarch64-netbsd-tdep.c ia64-netbsd-tdep.c Log Message: gdb/aarch64, ia64: Make constructors called correctly. For gdb 13, _init_foo_bar functions are registered into init.c by newly-introduced ``make-init-c'' script. It does not recognize functions declaration with void argument. As a result, these constructors are not called for aarch64 and ia64. XXX mknative later To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gdb/dist/gdb/aarch64-netbsd-nat.c \ src/external/gpl3/gdb/dist/gdb/aarch64-netbsd-tdep.c \ src/external/gpl3/gdb/dist/gdb/ia64-netbsd-tdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Thu Aug 17 07:16:42 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: sh-netbsd-nat.c sh-netbsd-tdep.c Log Message: gdb/sh: Fix register definitions, lost during merge To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/gdb/sh-netbsd-nat.c cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gdb/dist/gdb/sh-netbsd-tdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/gdb/sh-netbsd-nat.c diff -u src/external/gpl3/gdb/dist/gdb/sh-netbsd-nat.c:1.1.1.1 src/external/gpl3/gdb/dist/gdb/sh-netbsd-nat.c:1.2 --- src/external/gpl3/gdb/dist/gdb/sh-netbsd-nat.c:1.1.1.1 Sun Jul 30 22:44:54 2023 +++ src/external/gpl3/gdb/dist/gdb/sh-netbsd-nat.c Thu Aug 17 07:16:42 2023 @@ -44,10 +44,10 @@ static sh_nbsd_nat_target the_sh_nbsd_na (((regno) >= R0_REGNUM && (regno) <= (R0_REGNUM + 15)) \ || (regno) == gdbarch_pc_regnum (gdbarch) || (regno) == PR_REGNUM \ || (regno) == MACH_REGNUM || (regno) == MACL_REGNUM \ -|| (regno) == SR_REGNUM) +|| (regno) == SR_REGNUM || (regno) == GBR_REGNUM) /* Sizeof `struct reg' in . */ -#define SHNBSD_SIZEOF_GREGS (21 * 4) +#define SHNBSD_SIZEOF_GREGS (22 * 4) void sh_nbsd_nat_target::fetch_registers (struct regcache *regcache, int regno) Index: src/external/gpl3/gdb/dist/gdb/sh-netbsd-tdep.c diff -u src/external/gpl3/gdb/dist/gdb/sh-netbsd-tdep.c:1.3 src/external/gpl3/gdb/dist/gdb/sh-netbsd-tdep.c:1.4 --- src/external/gpl3/gdb/dist/gdb/sh-netbsd-tdep.c:1.3 Thu Aug 17 07:09:09 2023 +++ src/external/gpl3/gdb/dist/gdb/sh-netbsd-tdep.c Thu Aug 17 07:16:42 2023 @@ -58,9 +58,42 @@ static const struct sh_corefile_regmap r {PR_REGNUM, 2 * 4}, {MACH_REGNUM, 3 * 4}, {MACL_REGNUM, 4 * 4}, + {GBR_REGNUM, 21 * 4}, {-1 /* Terminator. */, 0} }; + + +#define REGSx16(base) \ + {(base), 0}, \ + {(base) + 1, 4}, \ + {(base) + 2, 8}, \ + {(base) + 3, 12}, \ + {(base) + 4, 16}, \ + {(base) + 5, 20}, \ + {(base) + 6, 24}, \ + {(base) + 7, 28}, \ + {(base) + 8, 32}, \ + {(base) + 9, 36}, \ + {(base) + 10, 40}, \ + {(base) + 11, 44}, \ + {(base) + 12, 48}, \ + {(base) + 13, 52}, \ + {(base) + 14, 56}, \ + {(base) + 15, 60} + +/* Convert an FPU register number into an offset into a ptrace + register structure. */ +static const struct sh_corefile_regmap fpregmap[] = +{ + REGSx16 (FR0_REGNUM), + /* XXX: REGSx16(XF0_REGNUM) omitted. */ + {FPSCR_REGNUM, 128}, + {FPUL_REGNUM, 132}, + {-1 /* Terminator. */, 0} +}; + + /* From . */ static const int shnbsd_mc_reg_offset[] = { @@ -91,7 +124,7 @@ static const int shnbsd_mc_reg_offset[] /* SH register sets. */ - + static void shnbsd_sigtramp_cache_init (const struct tramp_frame *, frame_info_ptr, @@ -165,7 +198,10 @@ shnbsd_init_abi (struct gdbarch_info inf nbsd_init_abi (info, gdbarch); tdep->core_gregmap = (struct sh_corefile_regmap *)regmap; - tdep->sizeof_gregset = 84; + tdep->sizeof_gregset = 88; + + tdep->core_fpregmap = (struct sh_corefile_regmap *)fpregmap; + tdep->sizeof_fpregset = 0; /* XXX */ set_solib_svr4_fetch_link_map_offsets (gdbarch, svr4_ilp32_fetch_link_map_offsets);
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Thu Aug 17 07:16:42 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: sh-netbsd-nat.c sh-netbsd-tdep.c Log Message: gdb/sh: Fix register definitions, lost during merge To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/gdb/sh-netbsd-nat.c cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gdb/dist/gdb/sh-netbsd-tdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Thu Aug 17 07:09:09 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: sh-netbsd-tdep.c Log Message: gdb/sh: Stop installing OpenBSD OSABI, lost during merge To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gdb/dist/gdb/sh-netbsd-tdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/gdb/sh-netbsd-tdep.c diff -u src/external/gpl3/gdb/dist/gdb/sh-netbsd-tdep.c:1.2 src/external/gpl3/gdb/dist/gdb/sh-netbsd-tdep.c:1.3 --- src/external/gpl3/gdb/dist/gdb/sh-netbsd-tdep.c:1.2 Mon Aug 14 20:42:27 2023 +++ src/external/gpl3/gdb/dist/gdb/sh-netbsd-tdep.c Thu Aug 17 07:09:09 2023 @@ -178,6 +178,4 @@ _initialize_shnbsd_tdep () { gdbarch_register_osabi (bfd_arch_sh, 0, GDB_OSABI_NETBSD, shnbsd_init_abi); - gdbarch_register_osabi (bfd_arch_sh, 0, GDB_OSABI_OPENBSD, - shnbsd_init_abi); }
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: rin Date: Thu Aug 17 07:09:09 UTC 2023 Modified Files: src/external/gpl3/gdb/dist/gdb: sh-netbsd-tdep.c Log Message: gdb/sh: Stop installing OpenBSD OSABI, lost during merge To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gdb/dist/gdb/sh-netbsd-tdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.