svn commit: r364057 - head/usr.bin/calendar/calendars/de_DE.ISO8859-1
Author: grog Date: Sun Aug 9 00:35:47 2020 New Revision: 364057 URL: https://svnweb.freebsd.org/changeset/base/364057 Log: Correct date for Nagasaki bombing. Modified: head/usr.bin/calendar/calendars/de_DE.ISO8859-1/calendar.geschichte Modified: head/usr.bin/calendar/calendars/de_DE.ISO8859-1/calendar.geschichte == --- head/usr.bin/calendar/calendars/de_DE.ISO8859-1/calendar.geschichte Sun Aug 9 00:34:35 2020(r364056) +++ head/usr.bin/calendar/calendars/de_DE.ISO8859-1/calendar.geschichte Sun Aug 9 00:35:47 2020(r364057) @@ -104,7 +104,7 @@ LANG=de_DE.ISO8859-1 10/01 Verk�ndigung der Urteile im N�rnberger Hauptkriegsverbrecherproze�, 1946 02/25 Aufl�sung der Landes Preu�en durch den Kontrollrat, 1947 08/06 Erster Atombombenabwurf auf Hiroshima, 1945 -08/08 Atombombenabwurf auf Nagasaki, 1945 +08/09 Atombombenabwurf auf Nagasaki, 1945 04/19 Aufstand im Warschauer Ghetto, 1943 12/07 Japan bombardiert Pearl Harbor, 1941 ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
svn commit: r364056 - head/usr.bin/calendar/calendars
Author: grog Date: Sun Aug 9 00:34:35 2020 New Revision: 364056 URL: https://svnweb.freebsd.org/changeset/base/364056 Log: Remove incorrect duplicate. Modified: head/usr.bin/calendar/calendars/calendar.history Modified: head/usr.bin/calendar/calendars/calendar.history == --- head/usr.bin/calendar/calendars/calendar.historySat Aug 8 19:48:15 2020(r364055) +++ head/usr.bin/calendar/calendars/calendar.historySun Aug 9 00:34:35 2020(r364056) @@ -408,7 +408,6 @@ 08/06 Caricom in Barbados 08/06 Cy Young pitches first game, 1890 08/07 Jack the Ripper makes his first kill, 1888 -08/08 Atomic bomb dropped on Nagasaki, 1945 08/08 Montenegro declares war on Germany, 1914 08/08 Richard Nixon resigns the US presidency, 1974 08/08 The Great Train Robbery -- $7,368,000, 1963 ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
svn commit: r364055 - head
Author: se Date: Sat Aug 8 19:48:15 2020 New Revision: 364055 URL: https://svnweb.freebsd.org/changeset/base/364055 Log: Mention the new implementation of bc and dc which has become the default version in FreeBSD-CURRENT. Modified: head/RELNOTES Modified: head/RELNOTES == --- head/RELNOTES Sat Aug 8 19:39:38 2020(r364054) +++ head/RELNOTES Sat Aug 8 19:48:15 2020(r364055) @@ -27,6 +27,13 @@ r363180: r363084: nc(1) now implements SCTP mode, enabled by specifying the --sctp option. +r362681: + A new implementation of bc and dc has been imported. It offers + better standards compliance, performance, localization and comes + with extensive test cases that are optionally installed. + Use WITHOUT_GH_BC=yes to build and install the world with the + previous version instead of the new one, if required. + r362158, r362163: struct export_args has changed so that the "user" specified for the -maproot and -mapall exports(5) options may be in more than ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
svn commit: r364054 - head/sys/netinet
Author: tuexen Date: Sat Aug 8 19:39:38 2020 New Revision: 364054 URL: https://svnweb.freebsd.org/changeset/base/364054 Log: Improve the ECN negotiation when the TCP SYN-cache is used by making sure that * ECN is disabled if the client sends an non-ECN-setup SYN segment. * ECN is disabled is the ECN-setup SYN-ACK segment is retransmitted more than net.inet.tcp.ecn.maxretries times. Reviewed by: rscheff MFC after:1 week Sponsored by: Netflix, Inc. Differential Revision:https://reviews.freebsd.org/D26008 Modified: head/sys/netinet/tcp_syncache.c Modified: head/sys/netinet/tcp_syncache.c == --- head/sys/netinet/tcp_syncache.c Sat Aug 8 16:56:20 2020 (r364053) +++ head/sys/netinet/tcp_syncache.c Sat Aug 8 19:39:38 2020 (r364054) @@ -510,6 +510,9 @@ syncache_timer(void *xsch) sch->sch_nextc = sc->sc_rxttime; continue; } + if (sc->sc_rxmits > V_tcp_ecn_maxretries) { + sc->sc_flags &= ~SCF_ECN; + } if (sc->sc_rxmits > V_tcp_syncache.rexmt_limit) { if ((s = tcp_log_addrs(>sc_inc, NULL, NULL, NULL))) { log(LOG_DEBUG, "%s; %s: Retransmits exhausted, " @@ -1505,6 +1508,13 @@ syncache_add(struct in_conninfo *inc, struct tcpopt *t sc->sc_tsreflect = to->to_tsval; else sc->sc_flags &= ~SCF_TIMESTAMP; + /* +* Disable ECN if needed. +*/ + if ((sc->sc_flags & SCF_ECN) && + ((th->th_flags & (TH_ECE|TH_CWR)) != (TH_ECE|TH_CWR))) { + sc->sc_flags &= ~SCF_ECN; + } #ifdef MAC /* * Since we have already unconditionally allocated label ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
svn commit: r364053 - head/release/arm64
Author: manu Date: Sat Aug 8 16:56:20 2020 New Revision: 364053 URL: https://svnweb.freebsd.org/changeset/base/364053 Log: release: RPI3: Add the RPI2 DTB The RPI2 v1.2 is using the same SoC as the RPI3 so it can boot this image but needs the RPI2 dtb. MFC after:3 days Modified: head/release/arm64/RPI3.conf Modified: head/release/arm64/RPI3.conf == --- head/release/arm64/RPI3.confSat Aug 8 16:41:28 2020 (r364052) +++ head/release/arm64/RPI3.confSat Aug 8 16:56:20 2020 (r364053) @@ -4,7 +4,7 @@ # DTB_DIR="/usr/local/share/rpi-firmware" -DTB="bcm2710-rpi-3-b.dtb bcm2710-rpi-3-b-plus.dtb bcm2711-rpi-4-b.dtb" +DTB="bcm2709-rpi-2-b.dtb bcm2710-rpi-3-b.dtb bcm2710-rpi-3-b-plus.dtb bcm2711-rpi-4-b.dtb" EMBEDDED_TARGET_ARCH="aarch64" EMBEDDED_TARGET="arm64" EMBEDDEDBUILD=1 ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
Re: svn commit: r363992 - head/usr.sbin/pwd_mkdb
On Sat, 2020-08-08 at 11:08 +0100, Alexander Richardson wrote: > On Sat, 8 Aug 2020 at 02:19, Mateusz Guzik wrote: > > > > This broke i386 builds: > > > > /usr/src/usr.bin/chpass/field.c:175:15: error: incompatible pointer > > types passing > > '_bootstrap_time_t *' (aka 'unsigned long long *') to > > parameter > > of type 'time_t *' > > (aka 'int *') [-Werror,-Wincompatible-pointer-types] > > if (!atot(p, >pw_change)) > > ^~ > > /usr/src/usr.bin/chpass/chpass.h:67:27: note: passing argument to > > parameter here > > int atot(char *, time_t *); > > ^ > > /usr/src/usr.bin/chpass/field.c:185:15: error: incompatible pointer > > types passing > > '_bootstrap_time_t *' (aka 'unsigned long long *') to > > parameter > > of type 'time_t *' > > (aka 'int *') [-Werror,-Wincompatible-pointer-types] > > if (!atot(p, >pw_expire)) > > ^~ > > /usr/src/usr.bin/chpass/chpass.h:67:27: note: passing argument to > > parameter here > > int atot(char *, time_t *); > > ^ > > Sorry, fixed in r364049. > It may be fixed in terms of compiling, but how about at runtime? _bootstrap_time_t is still typedef'd as 64-bit, but on i386 a time_t is a 32-bit type. -- Ian > > On 8/6/20, Alex Richardson wrote: > > > Author: arichardson > > > Date: Thu Aug 6 20:46:13 2020 > > > New Revision: 363992 > > > URL: https://svnweb.freebsd.org/changeset/base/363992 > > > > > > Log: > > > Allow bootstrapping pwd_mkdb on Linux/macOS > > > > > > We need to provide a struct passwd that is compatible with the > > > target > > > system and this is not the case when cross-building from > > > macOS/Linux. > > > It should also be a problem when bootstrapping for an i386 > > > target from a > > > FreeBSD amd64 host since time_t does not match across those > > > systems. > > > However, pwd_mkdb always truncates integer values to 32-bit so > > > this > > > difference does not result in different databases. > > > > > > Reviewed By:brooks > > > Differential Revision: https://reviews.freebsd.org/D25931 > > > > > > Added: > > > head/usr.sbin/pwd_mkdb/pwd.h (contents, props changed) > > > Modified: > > > head/usr.sbin/pwd_mkdb/Makefile > > > > > > Modified: head/usr.sbin/pwd_mkdb/Makefile > > > = > > > = > > > --- head/usr.sbin/pwd_mkdb/Makefile Thu Aug 6 20:44:40 > > > 2020(r363991) > > > +++ head/usr.sbin/pwd_mkdb/Makefile Thu Aug 6 20:46:13 > > > 2020(r363992) > > > @@ -9,5 +9,8 @@ MAN= pwd_mkdb.8 > > > SRCS=pw_scan.c pwd_mkdb.c > > > > > > CFLAGS+= -I${SRCTOP}/lib/libc/gen# for pw_scan.h > > > +.if defined(BOOTSTRAPPING) > > > +CFLAGS+=-I${.CURDIR} > > > +.endif > > > > > > .include > > > > > > Added: head/usr.sbin/pwd_mkdb/pwd.h > > > = > > > = > > > --- /dev/null 00:00:00 1970 (empty, because file is newly > > > added) > > > +++ head/usr.sbin/pwd_mkdb/pwd.h Thu Aug 6 20:46:13 > > > 2020(r363992) > > > @@ -0,0 +1,66 @@ > > > +/*- > > > + * SPDX-License-Identifier: BSD-2-Clause > > > + * > > > + * Copyright 2018-2020 Alex Richardson > > > + * > > > + * This software was developed by SRI International and the > > > University of > > > + * Cambridge Computer Laboratory (Department of Computer Science > > > and > > > + * Technology) under DARPA contract HR0011-18-C-0016 ("ECATS"), > > > as part of > > > the > > > + * DARPA SSITH research programme. > > > + * > > > + * This software was developed by SRI International and the > > > University of > > > + * Cambridge Computer Laboratory under DARPA/AFRL contract > > > (FA8750-10-C-0237) > > > + * ("CTSRD"), as part of the DARPA CRASH research programme. > > > + * > > > + * Redistribution and use in source and binary forms, with or > > > without > > > + * modification, are permitted provided that the following > > > conditions > > > + * are met: > > > + * 1. Redistributions of source code must retain the above > > > copyright > > > + *notice, this list of conditions and the following > > > disclaimer. > > > + * 2. Redistributions in binary form must reproduce the above > > > copyright > > > + *notice, this list of conditions and the following > > > disclaimer in the > > > + *documentation and/or other materials provided with the > > > distribution. > > > + * > > > + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS > > > IS'' AND > > > + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED > > > TO, THE > > > + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A > > > PARTICULAR > > > PURPOSE > > > + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS > > > BE LIABLE > > > + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
svn commit: r364050 - head/tests/sys/net/routing
Author: dim Date: Sat Aug 8 11:06:27 2020 New Revision: 364050 URL: https://svnweb.freebsd.org/changeset/base/364050 Log: Use static inline for iface_{setup,delete}_addr in tests/sys/net/routing. This fixes possible link errors, similar to: ld: error: undefined symbol: iface_setup_addr >>> referenced by test_rtsock_l3.c:111 (tests/sys/net/routing/test_rtsock_l3.c:111) >>> test_rtsock_l3.o:(presetup_ipv4) >>> referenced by test_rtsock_l3.c:79 (tests/sys/net/routing/test_rtsock_l3.c:79) >>> test_rtsock_l3.o:(presetup_ipv6) >>> referenced by test_rtsock_l3.c:512 (tests/sys/net/routing/test_rtsock_l3.c:512) >>> test_rtsock_l3.o:(atfu_rtm_change_v4_gw_success_body) >>> referenced 10 more times In C (not C++), 'naked' inline is almost always a mistake. Either use static inline (this is appropriate for most cases), or extern inline. MFC after:3 days Modified: head/tests/sys/net/routing/rtsock_common.h Modified: head/tests/sys/net/routing/rtsock_common.h == --- head/tests/sys/net/routing/rtsock_common.h Sat Aug 8 10:05:27 2020 (r364049) +++ head/tests/sys/net/routing/rtsock_common.h Sat Aug 8 11:06:27 2020 (r364050) @@ -204,7 +204,7 @@ iface_open(char *ifname) * Sets primary IPv4 addr. * Returns 0 on success. */ -inline int +static inline int iface_setup_addr(char *ifname, char *addr, int plen) { char cmd[512]; @@ -225,7 +225,7 @@ iface_setup_addr(char *ifname, char *addr, int plen) * Removes primary IPv4 prefix. * Returns 0 on success. */ -inline int +static inline int iface_delete_addr(char *ifname, char *addr) { char cmd[512]; ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
Re: svn commit: r363992 - head/usr.sbin/pwd_mkdb
On Sat, 8 Aug 2020 at 02:19, Mateusz Guzik wrote: > > This broke i386 builds: > > /usr/src/usr.bin/chpass/field.c:175:15: error: incompatible pointer > types passing > '_bootstrap_time_t *' (aka 'unsigned long long *') to parameter > of type 'time_t *' > (aka 'int *') [-Werror,-Wincompatible-pointer-types] > if (!atot(p, >pw_change)) > ^~ > /usr/src/usr.bin/chpass/chpass.h:67:27: note: passing argument to parameter > here > int atot(char *, time_t *); > ^ > /usr/src/usr.bin/chpass/field.c:185:15: error: incompatible pointer > types passing > '_bootstrap_time_t *' (aka 'unsigned long long *') to parameter > of type 'time_t *' > (aka 'int *') [-Werror,-Wincompatible-pointer-types] > if (!atot(p, >pw_expire)) > ^~ > /usr/src/usr.bin/chpass/chpass.h:67:27: note: passing argument to parameter > here > int atot(char *, time_t *); > ^ Sorry, fixed in r364049. > On 8/6/20, Alex Richardson wrote: > > Author: arichardson > > Date: Thu Aug 6 20:46:13 2020 > > New Revision: 363992 > > URL: https://svnweb.freebsd.org/changeset/base/363992 > > > > Log: > > Allow bootstrapping pwd_mkdb on Linux/macOS > > > > We need to provide a struct passwd that is compatible with the target > > system and this is not the case when cross-building from macOS/Linux. > > It should also be a problem when bootstrapping for an i386 target from a > > FreeBSD amd64 host since time_t does not match across those systems. > > However, pwd_mkdb always truncates integer values to 32-bit so this > > difference does not result in different databases. > > > > Reviewed By:brooks > > Differential Revision: https://reviews.freebsd.org/D25931 > > > > Added: > > head/usr.sbin/pwd_mkdb/pwd.h (contents, props changed) > > Modified: > > head/usr.sbin/pwd_mkdb/Makefile > > > > Modified: head/usr.sbin/pwd_mkdb/Makefile > > == > > --- head/usr.sbin/pwd_mkdb/Makefile Thu Aug 6 20:44:40 2020 > > (r363991) > > +++ head/usr.sbin/pwd_mkdb/Makefile Thu Aug 6 20:46:13 2020 > > (r363992) > > @@ -9,5 +9,8 @@ MAN= pwd_mkdb.8 > > SRCS=pw_scan.c pwd_mkdb.c > > > > CFLAGS+= -I${SRCTOP}/lib/libc/gen# for pw_scan.h > > +.if defined(BOOTSTRAPPING) > > +CFLAGS+=-I${.CURDIR} > > +.endif > > > > .include > > > > Added: head/usr.sbin/pwd_mkdb/pwd.h > > == > > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > > +++ head/usr.sbin/pwd_mkdb/pwd.h Thu Aug 6 20:46:13 2020 > > (r363992) > > @@ -0,0 +1,66 @@ > > +/*- > > + * SPDX-License-Identifier: BSD-2-Clause > > + * > > + * Copyright 2018-2020 Alex Richardson > > + * > > + * This software was developed by SRI International and the University of > > + * Cambridge Computer Laboratory (Department of Computer Science and > > + * Technology) under DARPA contract HR0011-18-C-0016 ("ECATS"), as part of > > the > > + * DARPA SSITH research programme. > > + * > > + * This software was developed by SRI International and the University of > > + * Cambridge Computer Laboratory under DARPA/AFRL contract > > (FA8750-10-C-0237) > > + * ("CTSRD"), as part of the DARPA CRASH research programme. > > + * > > + * Redistribution and use in source and binary forms, with or without > > + * modification, are permitted provided that the following conditions > > + * are met: > > + * 1. Redistributions of source code must retain the above copyright > > + *notice, this list of conditions and the following disclaimer. > > + * 2. Redistributions in binary form must reproduce the above copyright > > + *notice, this list of conditions and the following disclaimer in the > > + *documentation and/or other materials provided with the distribution. > > + * > > + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND > > + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE > > + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR > > PURPOSE > > + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE > > + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR > > CONSEQUENTIAL > > + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS > > + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) > > + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, > > STRICT > > + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY > > WAY > > + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF > > + * SUCH DAMAGE. > > + * > > + * $FreeBSD$ > > + */ > > + > > +/* > > + * When building pwd_mkdb we need to use target systems definition of > > + * struct
svn commit: r364049 - in head: usr.bin/chpass usr.sbin/pwd_mkdb usr.sbin/pwd_mkdb/bootstrap
Author: arichardson Date: Sat Aug 8 10:05:27 2020 New Revision: 364049 URL: https://svnweb.freebsd.org/changeset/base/364049 Log: Fix i386 build of chpass after r363992 My change to allow bootstrapping pwd_mkdb (r363992) resulted in i386 build failures because the bootstrap header was being included in non-bootstrap chpass. Dropping the no longer required pwd_mkdb include path from chpass fixes the build, but to be certain that the failure doesn't get re-introduced, I've also moved the bootstrap pwd.h into a subdirectory so that adding -I${SRCTOP}/usr.sbin/pwd_mkdb doesn't pull it in. Reported by: mjg Added: head/usr.sbin/pwd_mkdb/bootstrap/ head/usr.sbin/pwd_mkdb/bootstrap/pwd.h (contents, props changed) - copied, changed from r364046, head/usr.sbin/pwd_mkdb/pwd.h Deleted: head/usr.sbin/pwd_mkdb/pwd.h Modified: head/usr.bin/chpass/Makefile head/usr.sbin/pwd_mkdb/Makefile Modified: head/usr.bin/chpass/Makefile == --- head/usr.bin/chpass/MakefileFri Aug 7 23:32:42 2020 (r364048) +++ head/usr.bin/chpass/MakefileSat Aug 8 10:05:27 2020 (r364049) @@ -3,7 +3,7 @@ .include -.PATH: ${SRCTOP}/usr.sbin/pwd_mkdb ${SRCTOP}/lib/libc/gen +.PATH: ${SRCTOP}/lib/libc/gen PROG= chpass SRCS= chpass.c edit.c field.c pw_scan.c table.c util.c @@ -15,7 +15,7 @@ CFLAGS+= -DYP .endif #Some people need this, uncomment to activate #CFLAGS+=-DRESTRICT_FULLNAME_CHANGE -CFLAGS+=-I${SRCTOP}/usr.sbin/pwd_mkdb -I${SRCTOP}/lib/libc/gen -I. +CFLAGS+=-I${SRCTOP}/lib/libc/gen -I. LIBADD=crypt util .if ${MK_NIS} != "no" Modified: head/usr.sbin/pwd_mkdb/Makefile == --- head/usr.sbin/pwd_mkdb/Makefile Fri Aug 7 23:32:42 2020 (r364048) +++ head/usr.sbin/pwd_mkdb/Makefile Sat Aug 8 10:05:27 2020 (r364049) @@ -10,7 +10,7 @@ SRCS= pw_scan.c pwd_mkdb.c CFLAGS+= -I${SRCTOP}/lib/libc/gen # for pw_scan.h .if defined(BOOTSTRAPPING) -CFLAGS+=-I${.CURDIR} +CFLAGS+=-I${.CURDIR}/bootstrap .endif .include Copied and modified: head/usr.sbin/pwd_mkdb/bootstrap/pwd.h (from r364046, head/usr.sbin/pwd_mkdb/pwd.h) == ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"