svn commit: r368820 - head
Author: lwhsu Date: Sun Dec 20 02:59:44 2020 New Revision: 368820 URL: https://svnweb.freebsd.org/changeset/base/368820 Log: Mark the repository as being converted to Git. This is the last Subversion commit to src. Sponsored by: The FreeBSD Foundation Modified: head/README head/README.md Modified: head/README == --- head/README Sat Dec 19 22:04:46 2020(r368819) +++ head/README Sun Dec 20 02:59:44 2020(r368820) @@ -1,3 +1,5 @@ +This repository is being converted from Subversion to Git. + This is the top level of the FreeBSD source directory. This file was last revised on: $FreeBSD$ Modified: head/README.md == --- head/README.md Sat Dec 19 22:04:46 2020(r368819) +++ head/README.md Sun Dec 20 02:59:44 2020(r368820) @@ -1,3 +1,5 @@ +This repository is being converted from Subversion to Git. + FreeBSD Source: --- This is the top level of the FreeBSD source directory. This file ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r368694 - svnadmin/conf
Author: lwhsu Date: Wed Dec 16 11:02:25 2020 New Revision: 368694 URL: https://svnweb.freebsd.org/changeset/base/368694 Log: Mark creating new branch under user and projects needs to inform git-admin first Similarly, it will make the maintenance svn2git convertor easier when it's getting close to the flag day of migrating src repository to git. This is only for creating new branches under user and projects, the existing branches are still open for development needs before repository being migrated to git. Please commit with "Approved by: git-admin (implicitly)" More details: https://github.com/bsdimp/freebsd-git-docs/blob/main/projects-user.md Approved by: core Sponsored by: The FreeBSD Foundation Modified: svnadmin/conf/approvers Modified: svnadmin/conf/approvers == --- svnadmin/conf/approvers Wed Dec 16 09:21:40 2020(r368693) +++ svnadmin/conf/approvers Wed Dec 16 11:02:25 2020(r368694) @@ -42,3 +42,5 @@ ^vendor-crypto/git-admin ^vendor-cddl/ git-admin ^vendor-sys/ git-admin +^user/ git-admin +^projects/ git-admin ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r368640 - svnadmin/conf
Author: lwhsu Date: Mon Dec 14 19:47:08 2020 New Revision: 368640 URL: https://svnweb.freebsd.org/changeset/base/368640 Log: Mark vendor imports needs to discuss with git-admin first It's safer to review the vendor imports to svn when it's getting close to the flag day of migrating src repository to git. More details: https://lists.freebsd.org/pipermail/freebsd-hackers/2020-December/056780.html Approved by: core Sponsored by: The FreeBSD Foundation Modified: svnadmin/conf/approvers Modified: svnadmin/conf/approvers == --- svnadmin/conf/approvers Mon Dec 14 19:18:11 2020(r368639) +++ svnadmin/conf/approvers Mon Dec 14 19:47:08 2020(r368640) @@ -38,3 +38,7 @@ ^head/sys/libkern/arc4random.c (security-officer|so|secteam|core|csprng) ^stable/(1[12])/sys/dev/random (security-officer|so|secteam|core|csprng) ^stable/(1[12])/sys/libkern/arc4random.c (security-officer|so|secteam|core|csprng) +^vendor/ git-admin +^vendor-crypto/git-admin +^vendor-cddl/ git-admin +^vendor-sys/ git-admin ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r368292 - stable/11/sys/dev/usb/net
Author: lwhsu Date: Thu Dec 3 02:22:05 2020 New Revision: 368292 URL: https://svnweb.freebsd.org/changeset/base/368292 Log: MFC r367812: ipheth(4): Fix for iOS 14 Fix USB tethering for iOS 14. Inspired by: https://github.com/libimobiledevice/libimobiledevice/issues/1038 PR: 249979 Reviewed by: hselasky Differential Revision:https://reviews.freebsd.org/D27250 Modified: stable/11/sys/dev/usb/net/if_iphethvar.h Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/dev/usb/net/if_iphethvar.h == --- stable/11/sys/dev/usb/net/if_iphethvar.hThu Dec 3 02:21:48 2020 (r368291) +++ stable/11/sys/dev/usb/net/if_iphethvar.hThu Dec 3 02:22:05 2020 (r368292) @@ -37,7 +37,7 @@ #defineIPHETH_USBINTF_SUBCLASS 253 #defineIPHETH_USBINTF_PROTO1 -#defineIPHETH_BUF_SIZE 1516 +#defineIPHETH_BUF_SIZE 1514 #defineIPHETH_TX_TIMEOUT 5000/* ms */ #defineIPHETH_RX_FRAMES_MAX1 ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r368291 - stable/12/sys/dev/usb/net
Author: lwhsu Date: Thu Dec 3 02:21:48 2020 New Revision: 368291 URL: https://svnweb.freebsd.org/changeset/base/368291 Log: MFC r367812: ipheth(4): Fix for iOS 14 Fix USB tethering for iOS 14. Inspired by: https://github.com/libimobiledevice/libimobiledevice/issues/1038 PR: 249979 Reviewed by: hselasky Differential Revision:https://reviews.freebsd.org/D27250 Modified: stable/12/sys/dev/usb/net/if_iphethvar.h Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/dev/usb/net/if_iphethvar.h == --- stable/12/sys/dev/usb/net/if_iphethvar.hThu Dec 3 01:39:59 2020 (r368290) +++ stable/12/sys/dev/usb/net/if_iphethvar.hThu Dec 3 02:21:48 2020 (r368291) @@ -39,7 +39,7 @@ #defineIPHETH_USBINTF_SUBCLASS 253 #defineIPHETH_USBINTF_PROTO1 -#defineIPHETH_BUF_SIZE 1516 +#defineIPHETH_BUF_SIZE 1514 #defineIPHETH_TX_TIMEOUT 5000/* ms */ #defineIPHETH_RX_FRAMES_MAX1 ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r367695 - in head/sys: kern sys
On Fri, Nov 20, 2020 at 3:00 AM John Baldwin wrote: > On 11/18/20 8:52 PM, Mark Johnston wrote: > > There are some technical issues around Phabricator that would need to be > > ironed out before this is really doable. For me, the main one is that > > email notifications are all-or-nothing: I would very much like to be > > able to get email for each new review without automatically being > > subscribed. > > That would indeed be interesting. In all of the Projects I've worked > with using GH or e-mail, it does seem to be all-or-nothing if you are > on the notify list. > > Hmm, looks like you can create a Herald rule to do this btw. Let's > see if this works: > > https://reviews.freebsd.org/H138 Hmm, this reminds me there is an item on my TODO list: complete the setup of dev-reviews@ list: https://lists.freebsd.org/mailman/listinfo/dev-reviews The purpose of it is exactly to let people (only) subscribe to the newly created review. And thanks for your rule and I just realized there is a "mailing list" type of Phabricator user, Let's see if this works: https://reviews.freebsd.org/H139 Best, Li-Wen ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367812 - head/sys/dev/usb/net
Author: lwhsu Date: Wed Nov 18 19:35:30 2020 New Revision: 367812 URL: https://svnweb.freebsd.org/changeset/base/367812 Log: ipheth(4): Fix for iOS 14 Fix USB tethering for iOS 14. Inspired by: https://github.com/libimobiledevice/libimobiledevice/issues/1038 PR: 249979 Reviewed by: hselasky MFC after:2 weeks Differential Revision:https://reviews.freebsd.org/D27250 Modified: head/sys/dev/usb/net/if_iphethvar.h Modified: head/sys/dev/usb/net/if_iphethvar.h == --- head/sys/dev/usb/net/if_iphethvar.h Wed Nov 18 19:23:30 2020 (r367811) +++ head/sys/dev/usb/net/if_iphethvar.h Wed Nov 18 19:35:30 2020 (r367812) @@ -39,7 +39,7 @@ #defineIPHETH_USBINTF_SUBCLASS 253 #defineIPHETH_USBINTF_PROTO1 -#defineIPHETH_BUF_SIZE 1516 +#defineIPHETH_BUF_SIZE 1514 #defineIPHETH_TX_TIMEOUT 5000/* ms */ #defineIPHETH_RX_FRAMES_MAX1 ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367266 - stable/11/bin/echo
Author: lwhsu Date: Mon Nov 2 01:34:58 2020 New Revision: 367266 URL: https://svnweb.freebsd.org/changeset/base/367266 Log: MFC r367136: Whitespace cleanup Modified: stable/11/bin/echo/echo.c Directory Properties: stable/11/ (props changed) Modified: stable/11/bin/echo/echo.c == --- stable/11/bin/echo/echo.c Mon Nov 2 01:34:43 2020(r367265) +++ stable/11/bin/echo/echo.c Mon Nov 2 01:34:58 2020(r367266) @@ -69,7 +69,7 @@ errexit(const char *prog, const char *reason) write(STDERR_FILENO, "\n", 1); exit(1); } - + int main(int argc, char *argv[]) { @@ -98,13 +98,12 @@ main(int argc, char *argv[]) while (argv[0] != NULL) { size_t len; - + len = strlen(argv[0]); /* -* If the next argument is NULL then this is -* the last argument, therefore we need to check -* for a trailing \c. +* If the next argument is NULL then this is the last argument, +* therefore we need to check for a trailing \c. */ if (argv[1] == NULL) { /* is there room for a '\c' and is there one? */ ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367265 - stable/12/bin/echo
Author: lwhsu Date: Mon Nov 2 01:34:43 2020 New Revision: 367265 URL: https://svnweb.freebsd.org/changeset/base/367265 Log: MFC r367136: Whitespace cleanup Modified: stable/12/bin/echo/echo.c Directory Properties: stable/12/ (props changed) Modified: stable/12/bin/echo/echo.c == --- stable/12/bin/echo/echo.c Mon Nov 2 01:30:17 2020(r367264) +++ stable/12/bin/echo/echo.c Mon Nov 2 01:34:43 2020(r367265) @@ -71,7 +71,7 @@ errexit(const char *prog, const char *reason) write(STDERR_FILENO, "\n", 1); exit(1); } - + int main(int argc, char *argv[]) { @@ -100,13 +100,12 @@ main(int argc, char *argv[]) while (argv[0] != NULL) { size_t len; - + len = strlen(argv[0]); /* -* If the next argument is NULL then this is -* the last argument, therefore we need to check -* for a trailing \c. +* If the next argument is NULL then this is the last argument, +* therefore we need to check for a trailing \c. */ if (argv[1] == NULL) { /* is there room for a '\c' and is there one? */ ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367264 - stable/11/bin/echo
Author: lwhsu Date: Mon Nov 2 01:30:17 2020 New Revision: 367264 URL: https://svnweb.freebsd.org/changeset/base/367264 Log: MFC r367134: Remove superfluous `this` in comment PR: 250721 Submitted by: Hiroya EBINE Modified: stable/11/bin/echo/echo.c Directory Properties: stable/11/ (props changed) Modified: stable/11/bin/echo/echo.c == --- stable/11/bin/echo/echo.c Mon Nov 2 01:29:50 2020(r367263) +++ stable/11/bin/echo/echo.c Mon Nov 2 01:30:17 2020(r367264) @@ -102,7 +102,7 @@ main(int argc, char *argv[]) len = strlen(argv[0]); /* -* If the next argument is NULL then this is this +* If the next argument is NULL then this is * the last argument, therefore we need to check * for a trailing \c. */ ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367263 - stable/12/bin/echo
Author: lwhsu Date: Mon Nov 2 01:29:50 2020 New Revision: 367263 URL: https://svnweb.freebsd.org/changeset/base/367263 Log: MFC r367134: Remove superfluous `this` in comment PR: 250721 Submitted by: Hiroya EBINE Modified: stable/12/bin/echo/echo.c Directory Properties: stable/12/ (props changed) Modified: stable/12/bin/echo/echo.c == --- stable/12/bin/echo/echo.c Mon Nov 2 01:05:41 2020(r367262) +++ stable/12/bin/echo/echo.c Mon Nov 2 01:29:50 2020(r367263) @@ -104,7 +104,7 @@ main(int argc, char *argv[]) len = strlen(argv[0]); /* -* If the next argument is NULL then this is this +* If the next argument is NULL then this is * the last argument, therefore we need to check * for a trailing \c. */ ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367262 - in stable/11/tools/tools/locale: etc/final-maps tools
Author: lwhsu Date: Mon Nov 2 01:05:41 2020 New Revision: 367262 URL: https://svnweb.freebsd.org/changeset/base/367262 Log: MFC r353127: Pre-generate Big5 charmap from CLDR data. The one used previously was missing the characters in 0-127 range, making various tools try to escape them in output. PR: 235100 Reviewed by: bapt Tested by:Ting-Wei Lan Differential Revision:https://reviews.freebsd.org/D21794 Modified: stable/11/tools/tools/locale/etc/final-maps/map.Big5 (contents, props changed) stable/11/tools/tools/locale/tools/finalize Directory Properties: stable/11/ (props changed) Modified: stable/11/tools/tools/locale/etc/final-maps/map.Big5 == --- stable/11/tools/tools/locale/etc/final-maps/map.Big5Mon Nov 2 01:01:41 2020(r367261) +++ stable/11/tools/tools/locale/etc/final-maps/map.Big5Mon Nov 2 01:05:41 2020(r367262) @@ -1,13708 +1,13968 @@ +## +# POSIX charmap +# Generated automatically from the Unicode Character Database and Common Locale Data Repository +# see http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html +# charset: Big5 +## +# +# Copyright 1991-2011 Unicode, Inc. All rights reserved. Distributed under the Terms of Use in # +# http://www.unicode.org/copyright.html. # +# # +# Permission is hereby granted, free of charge, to any person obtaining a copy of the Unicode # +# data files and any associated documentation (the "Data Files") or Unicode software and any# +# associated documentation (the "Software") to deal in the Data Files or Software without # +# restriction, including without limitation the rights to use, copy, modify, merge, publish,# +# distribute, and/or sell copies of the Data Files or Software, and to permit persons to whom # +# the Data Files or Software are furnished to do so, provided that (a) the above copyright # +# notice(s) and this permission notice appear with all copies of the Data Files or Software,# +# (b) both the above copyright notice(s) and this permission notice appear in associated# +# documentation, and (c) there is clear notice in each modified Data File or in the Software as # +# well as in the documentation associated with the Data File(s) or Software that the data or# +# software has been modified. # +# # +# THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR# +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A# +# PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT # +# HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR # +# CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, # +# WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN # +# CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE. # +# + "Big5" - 1 - 2 +1 +2 + CHARMAP - \xa1\x40 - \xa1\x41 - \xa1\x42 - \xa1\x43 - \xa1\x44 - \xa1\x45 - \xa1\x46 - \xa1\x47 - \xa1\x48 - \xa1\x49 - \xa1\x4a - \xa1\x4b - \xa1\x4c - \xa1\x4d - \xa1\x4e - \xa1\x4f - \xa1\x50 - \xa1\x51 - \xa1\x52 - \xa1\x53 - \xa1\x54 - \xa1\x55 - \xa1\x56 - \xa1\x57 - \xa1\x58 - \xa1\x59 - \xa1\x5b - \xa1\x5c - \xa1\x5d - \xa1\x5e - \xa1\x5f - \xa1\x60 - \xa1\x61 - \xa1\x62 - \xa1\x63 - \xa1\x64 - \xa1\x65 - \xa1\x66 - \xa1\x67 - \xa1\x68 - \xa1\x69 - \xa1\x6a - \xa1\x6b - \xa1\x6c - \xa1\x6d - \xa1\x6e - \xa1\x6f - \xa1\x70 - \xa1\x71 - \xa1\x72 - \xa1\x73 - \xa1\x74 - \xa1\x75 - \xa1\x76 - \xa1\x77 - \xa1\x78 - \xa1\x79 - \xa1\x7a - \xa1\x7b - \xa1\x7c - \xa1\x7d - \xa1\x7e - \xa1\xa1 - \xa1\xa2 - \xa1\xa3 - \xa1\xa4 - \xa1\xa5 - \xa1\xa6 - \xa1\xa7 - \xa1\xa8 - \xa1\xa9 - \xa1\xaa - \xa1\xab - \xa1\xac - \xa1\xad - \xa1\xae - \xa1\xaf - \xa1\xb0 - \xa1\xb1 - \xa1\xb2 - \xa1\xb3 - \xa1\xb4 - \xa1\xb5 - \xa1\xb6 - \xa1\xb7 - \xa1\xb8 - \xa1\xb9 - \xa1\xba - \xa1\xbb - \xa1\xbc - \xa1\xbd - \xa1\xbe - \xa1\xbf - \xa1\xc0 - \xa1\xc1 - \xa1\xc2 - \xa1\xc4 - \xa1\xc6 - \xa1\xc7 - \xa1\xc8 - \xa1\xc9 - \xa1\xca - \xa1\xcb - \xa1\xcc - \xa1\xcd - \xa1\xce - \xa1\xcf - \xa1\xd0 - \xa1\xd1 - \xa1\xd2 - \xa1\xd3 - \xa1\xd4 - \xa1\xd5 - \xa1\xd6 -
svn commit: r367136 - head/bin/echo
Author: lwhsu Date: Thu Oct 29 14:44:09 2020 New Revision: 367136 URL: https://svnweb.freebsd.org/changeset/base/367136 Log: Whitespace cleanup MFC after:3 days Modified: head/bin/echo/echo.c Modified: head/bin/echo/echo.c == --- head/bin/echo/echo.cThu Oct 29 14:42:51 2020(r367135) +++ head/bin/echo/echo.cThu Oct 29 14:44:09 2020(r367136) @@ -71,7 +71,7 @@ errexit(const char *prog, const char *reason) write(STDERR_FILENO, "\n", 1); exit(1); } - + int main(int argc, char *argv[]) { @@ -100,13 +100,12 @@ main(int argc, char *argv[]) while (argv[0] != NULL) { size_t len; - + len = strlen(argv[0]); /* -* If the next argument is NULL then this is -* the last argument, therefore we need to check -* for a trailing \c. +* If the next argument is NULL then this is the last argument, +* therefore we need to check for a trailing \c. */ if (argv[1] == NULL) { /* is there room for a '\c' and is there one? */ ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367134 - head/bin/echo
Author: lwhsu Date: Thu Oct 29 14:42:02 2020 New Revision: 367134 URL: https://svnweb.freebsd.org/changeset/base/367134 Log: Remove superfluous `this` in comment PR: 250721 Submitted by: Hiroya EBINE MFC after:3 days Modified: head/bin/echo/echo.c Modified: head/bin/echo/echo.c == --- head/bin/echo/echo.cThu Oct 29 14:28:27 2020(r367133) +++ head/bin/echo/echo.cThu Oct 29 14:42:02 2020(r367134) @@ -104,7 +104,7 @@ main(int argc, char *argv[]) len = strlen(argv[0]); /* -* If the next argument is NULL then this is this +* If the next argument is NULL then this is * the last argument, therefore we need to check * for a trailing \c. */ ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367131 - head/usr.bin/calendar/calendars
Author: lwhsu Date: Thu Oct 29 14:21:25 2020 New Revision: 367131 URL: https://svnweb.freebsd.org/changeset/base/367131 Log: Update the due date of the quarterly status report While here, move the date to keep 2 weeks ahead notificaion and fix the part of speech. Reviewed by: debdrup Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D26998 Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified: head/usr.bin/calendar/calendars/calendar.freebsd == --- head/usr.bin/calendar/calendars/calendar.freebsdThu Oct 29 12:56:02 2020(r367130) +++ head/usr.bin/calendar/calendars/calendar.freebsdThu Oct 29 14:21:25 2020(r367131) @@ -122,6 +122,7 @@ 03/14 Eric Turgeon born in Edmundston, New Brunswick, Canada, 1982 03/15 Paolo Pisati born in Lodi, Italy, 1977 03/15 Brian Fundakowski Feldman born in Alexandria, Virginia, United States, 1983 +03/15 First quarterly status reports are due on 03/31 03/17 Michael Smith born in Bankstown, New South Wales, Australia, 1971 03/17 Alexander Motin born in Simferopol, Ukraine, 1979 03/18 Koop Mast born in Dokkum, the Netherlands, 1981 @@ -142,7 +143,6 @@ 03/29 Dave Cottlehuber born in Christchurch, New Zealand, 1973 03/29 Thierry Thomas born in Luxeuil les Bains, France, 1961 03/30 Po-Chuan Hsieh born in Taipei, Taiwan, Republic of China, 1978 -03/31 First quarter status reports are due on 04/15 04/01 Matthew Jacob born in San Francisco, California, United States, 1958 04/01 Alexander V. Chernikov born in Moscow, Russian Federation, 1984 04/01 Bill Fenner born in Bellefonte, Pennsylvania, United States, 1971 @@ -249,6 +249,7 @@ 06/09 Stanislav Galabov born in Sofia, Bulgaria, 1978 06/11 Alonso Cardenas Marquez born in Arequipa, Peru, 1979 06/14 Josh Paetzel born in Minneapolis, Minnesota, United States, 1973 +06/15 Second quarterly status reports are due on 06/30 06/17 Tilman Linneweh born in Weinheim, Baden-Wuerttemberg, Germany, 1978 06/18 Li-Wen Hsu born in Taipei, Taiwan, Republic of China, 1984 06/18 Roman Bogorodskiy born in Saratov, Russian Federation, 1986 @@ -265,7 +266,6 @@ 06/29 Daniel Harris born in Lubbock, Texas, United States, 1985 06/29 Andrew Pantyukhin born in Moscow, Russian Federation, 1985 06/30 Guido van Rooij born in Best, Noord-Brabant, the Netherlands, 1965 -06/30 Second quarter status reports are due on 07/15 07/01 Matthew Dillon born in San Francisco, California, United States, 1966 07/01 Mateusz Guzik born in Dołki Górne, Poland, 1986 07/02 Mark Christopher Ovens born in Preston, Lancashire, United Kingdom, 1958 @@ -364,6 +364,7 @@ 09/14 Matthew Seaman born in Bristol, United Kingdom, 1965 09/15 Aleksandr Rybalko born in Odessa, Ukraine, 1977 09/15 Dima Panov born in Khabarovsk, Russian Federation, 1978 +09/15 Third quarterly status reports are due on 09/30 09/16 Maksim Yevmenkin born in Taganrog, USSR, 1974 09/17 Maxim Bolotin born in Rostov-on-Don, Russian Federation, 1976 09/18 Matthew Fleming born in Cleveland, Ohio, United States, 1975 @@ -384,7 +385,6 @@ 09/29 Matthew Hunt born in Johnstown, Pennsylvania, United States, 1976 09/30 Mark Felder born in Prairie du Chien, Wisconsin, United States, 1985 09/30 Hiten M. Pandya born in Dar-es-Salaam, Tanzania, East Africa, 1986 -09/30 Third quarter status reports are due on 10/15 10/02 Beat Gaetzi born in Zurich, Switzerland, 1980 10/02 Grzegorz Blach born in Starachowice, Poland, 1985 10/05 Hiroki Sato born in Yamagata, Japan, 1977 @@ -464,6 +464,7 @@ 12/11 Koichiro Iwao born in Oita, Japan, 1987 12/15 James FitzGibbon born in Amersham, Buckinghamshire, United Kingdom, 1974 12/15 Timur I. Bakeyev born in Kazan, Republic of Tatarstan, USSR, 1974 +12/15 Fourth quarterly status reports are due on 12/31 12/18 Chris Timmons born in Ellensburg, Washington, United States, 1964 12/18 Dag-Erling Smorgrav born in Brussels, Belgium, 1977 12/18 Muhammad Moinur Rahman born in Dhaka, Bangladesh, 1983 @@ -484,6 +485,5 @@ 12/28 Marius Strobl born in Cham, Bavaria, Germany, 1978 12/30 Sean Eric Fagan born in Los Angeles, California, United States, 1967 12/31 Edwin Groothuis born in Geldrop, the Netherlands, 1970 -12/31 Fourth quarter status reports are due on 01/15 #endif /* !_calendar_freebsd_ */ ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r367095 - head/share/misc
Author: lwhsu Date: Wed Oct 28 02:30:44 2020 New Revision: 367095 URL: https://svnweb.freebsd.org/changeset/base/367095 Log: Add FreeBSD 12.2 Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree == --- head/share/misc/bsd-family-tree Tue Oct 27 23:03:15 2020 (r367094) +++ head/share/misc/bsd-family-tree Wed Oct 28 02:30:44 2020 (r367095) @@ -407,11 +407,11 @@ FreeBSD 5.2 | | | | | 10.15.1 | ||DragonFly 5.6.2 | | | *--NetBSD ||| | v | | 9.0 ||| - || | ||| - || | ||DragonFly 5.8 - || | ||| - || | ||DragonFly 5.6.3 - || |NetBSD || + | FreeBSD | | ||| + | 12.2 | | ||DragonFly 5.8 + | | | | ||| + | | | | ||DragonFly 5.6.3 + | v | |NetBSD || || | 8.2|| || ||| FreeBSD 13 -current | NetBSD -current OpenBSD -currentDragonFly -current @@ -810,6 +810,7 @@ NetBSD 9.0 2020-02-14 [NBD] DragonFly 5.8 2020-03-03 [DFB] DragonFly 5.6.32020-03-11 [DFB] NetBSD 8.2 2020-03-31 [NBD] +FreeBSD 12.2 2020-10-27 [FBD] Bibliography ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366561 - head
Author: lwhsu Date: Fri Oct 9 04:03:57 2020 New Revision: 366561 URL: https://svnweb.freebsd.org/changeset/base/366561 Log: Correct the primary to find(1) Sponsored by: The FreeBSD Foundation Modified: head/UPDATING Modified: head/UPDATING == --- head/UPDATING Fri Oct 9 01:48:21 2020(r366560) +++ head/UPDATING Fri Oct 9 04:03:57 2020(r366561) @@ -29,7 +29,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW: 20200923: LINT files are no longer generated. We now include the relevant NOTES files. Note: This may cause conflicts with updating in some cases. - find sys -name LINT\* -rm + find sys -name LINT\* -delete is suggested across this commit to remove the generated LINT files. If you have tried to update with generated files there, the svn ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366512 - head/tests/sys/capsicum
Author: lwhsu Date: Wed Oct 7 09:53:24 2020 New Revision: 366512 URL: https://svnweb.freebsd.org/changeset/base/366512 Log: Temporarily skip failing test cases in CI: sys.capsicum.functional.Capability__NoBypassDAC sys.capsicum.functional.Pdfork__OtherUserForked PR: 250178, 250179 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/capsicum/functional.sh Modified: head/tests/sys/capsicum/functional.sh == --- head/tests/sys/capsicum/functional.sh Wed Oct 7 07:55:55 2020 (r366511) +++ head/tests/sys/capsicum/functional.sh Wed Oct 7 09:53:24 2020 (r366512) @@ -64,6 +64,12 @@ add_testcase() PipePdfork__WildcardWait) eval "${tc_escaped}_body() { skip \"https://bugs.freebsd.org/244165\;; }" ;; + Capability__NoBypassDAC) + eval "${tc_escaped}_body() { skip \"https://bugs.freebsd.org/250178\;; }" + ;; + Pdfork__OtherUserForked) + eval "${tc_escaped}_body() { skip \"https://bugs.freebsd.org/250179\;; }" + ;; *) eval "${tc_escaped}_body() { check ${tc}; }" ;; ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366510 - head/contrib/capsicum-test
Author: lwhsu Date: Wed Oct 7 07:55:55 2020 New Revision: 366510 URL: https://svnweb.freebsd.org/changeset/base/366510 Log: Revert r358001 in favor of r366509 Sponsored by: The FreeBSD Foundation Modified: head/contrib/capsicum-test/procdesc.cc Modified: head/contrib/capsicum-test/procdesc.cc == --- head/contrib/capsicum-test/procdesc.cc Wed Oct 7 07:23:29 2020 (r366509) +++ head/contrib/capsicum-test/procdesc.cc Wed Oct 7 07:55:55 2020 (r366510) @@ -763,7 +763,6 @@ TEST_F(PipePdfork, ModeBits) { #endif TEST_F(PipePdfork, WildcardWait) { - TEST_SKIPPED("https://bugs.freebsd.org/244165;); // TODO(FreeBSD): make wildcard wait ignore pdfork()ed children // https://bugs.freebsd.org/201054 TerminateChild(); ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366509 - head/tests/sys/capsicum
Author: lwhsu Date: Wed Oct 7 07:23:29 2020 New Revision: 366509 URL: https://svnweb.freebsd.org/changeset/base/366509 Log: Skip test written in Googltest in the wrapper script This leaves the main test body untouched and only skip running in the CI env, makes doing local test easier while developing. PR: 244165 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/capsicum/functional.sh Modified: head/tests/sys/capsicum/functional.sh == --- head/tests/sys/capsicum/functional.sh Wed Oct 7 06:16:37 2020 (r366508) +++ head/tests/sys/capsicum/functional.sh Wed Oct 7 07:23:29 2020 (r366509) @@ -59,7 +59,10 @@ add_testcase() if [ "$(atf_config_get ci false)" = "true" ]; then case "${tc_escaped}" in ForkedOpenatTest_WithFlagInCapabilityMode___|OpenatTest__WithFlag) - eval "${tc_escaped}_body() { skip \"http://bugs.freebsd.org/249960\;; }" + eval "${tc_escaped}_body() { skip \"https://bugs.freebsd.org/249960\;; }" + ;; + PipePdfork__WildcardWait) + eval "${tc_escaped}_body() { skip \"https://bugs.freebsd.org/244165\;; }" ;; *) eval "${tc_escaped}_body() { check ${tc}; }" ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366485 - head/tests/sys/capsicum
Author: lwhsu Date: Tue Oct 6 12:57:54 2020 New Revision: 366485 URL: https://svnweb.freebsd.org/changeset/base/366485 Log: Temporarily skip failing test cases in CI: sys.capsicum.functional.ForkedOpenatTest_WithFlagInCapabilityMode___ sys.capsicum.functional.OpenatTest__WithFlag PR: 249960 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/capsicum/functional.sh Modified: head/tests/sys/capsicum/functional.sh == --- head/tests/sys/capsicum/functional.sh Tue Oct 6 12:56:29 2020 (r366484) +++ head/tests/sys/capsicum/functional.sh Tue Oct 6 12:57:54 2020 (r366485) @@ -40,6 +40,13 @@ check() ${SRCDIR}/${CAPSICUM_TEST_BIN} --gtest_filter=${tc} } +skip() +{ + local reason=${1} + + atf_skip "${reason}" +} + add_testcase() { local tc=${1} @@ -48,7 +55,20 @@ add_testcase() tc_escaped=$(echo ${tc} | sed -e 's/\./__/') atf_test_case ${tc_escaped} - eval "${tc_escaped}_body() { check ${tc}; }" + + if [ "$(atf_config_get ci false)" = "true" ]; then + case "${tc_escaped}" in + ForkedOpenatTest_WithFlagInCapabilityMode___|OpenatTest__WithFlag) + eval "${tc_escaped}_body() { skip \"http://bugs.freebsd.org/249960\;; }" + ;; + *) + eval "${tc_escaped}_body() { check ${tc}; }" + ;; + esac + else + eval "${tc_escaped}_body() { check ${tc}; }" + fi + atf_add_test_case ${tc_escaped} } ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366470 - in head: share/mk tests/sys/capsicum
Author: lwhsu Date: Tue Oct 6 06:45:52 2020 New Revision: 366470 URL: https://svnweb.freebsd.org/changeset/base/366470 Log: Make capsicum test cases fine-grained Add a wrapping script to use ATF to run tests written with Googletest one by one. This helps locating and tracking the failing case in CI easier. This is a temporarily solution while Googletest support in Kyua is developing. We will revert this once Kyua+Googletest integration is ready. Reviewed by: emaste Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D25896 Added: head/tests/sys/capsicum/functional.sh (contents, props changed) Modified: head/share/mk/bsd.test.mk head/share/mk/googletest.test.mk head/tests/sys/capsicum/Makefile Modified: head/share/mk/bsd.test.mk == --- head/share/mk/bsd.test.mk Tue Oct 6 04:18:42 2020(r366469) +++ head/share/mk/bsd.test.mk Tue Oct 6 06:45:52 2020(r366470) @@ -62,10 +62,11 @@ TESTS_ENV+= LD_LIBRARY_PATH=${TESTS_LD_LIBRARY_PATH:tW _TESTS= # Pull in the definitions of all supported test interfaces. -.include .include .include .include +# Include atf last to let other test framework use it +.include # Sort the tests alphabetically, so the results are deterministically formed # across runs. Modified: head/share/mk/googletest.test.mk == --- head/share/mk/googletest.test.mkTue Oct 6 04:18:42 2020 (r366469) +++ head/share/mk/googletest.test.mkTue Oct 6 06:45:52 2020 (r366470) @@ -30,12 +30,18 @@ GTESTS?= .include PROGS_CXX+= ${GTESTS} -_TESTS+= ${GTESTS} .for _T in ${GTESTS} BINDIR.${_T}= ${TESTSDIR} CXXFLAGS.${_T}+= ${GTESTS_CXXFLAGS} MAN.${_T}?= # empty SRCS.${_T}?= ${_T}.cc +.if !empty(GTESTS_WRAPPER_SH.${_T}) +# A stopgap/workaround to let kyua execute test case one by one +ATF_TESTS_SH+= ${GTESTS_WRAPPER_SH.${_T}} +.else +_TESTS+= ${_T} TEST_INTERFACE.${_T}= plain +.endif + .endfor .endif Modified: head/tests/sys/capsicum/Makefile == --- head/tests/sys/capsicum/MakefileTue Oct 6 04:18:42 2020 (r366469) +++ head/tests/sys/capsicum/MakefileTue Oct 6 06:45:52 2020 (r366470) @@ -14,6 +14,7 @@ CFLAGS+= -I${SRCTOP}/tests .PATH: ${SRCTOP}/contrib/capsicum-test GTESTS+= capsicum-test +GTESTS_WRAPPER_SH.capsicum-test= functional SRCS.capsicum-test+= \ capsicum-test-main.cc \ @@ -50,6 +51,6 @@ BINMODE.mini-me.setuid= 4555 WARNS.capsicum-test= 3 -.endif +.endif # MK_GOOGLETEST .include Added: head/tests/sys/capsicum/functional.sh == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tests/sys/capsicum/functional.sh Tue Oct 6 06:45:52 2020 (r366470) @@ -0,0 +1,68 @@ +#- +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# +# Copyright (c) 2020 The FreeBSD Foundation +# +# This software was developed by Li-Wen Hsu +# under sponsorship from the FreeBSD Foundation. +# +# 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$ + +SRCDIR=$(atf_get_srcdir) +CAPSICUM_TEST_BIN=capsicum-test + +check() +{ + local tc=${1} + + atf_check -s exit:0 -o match:PASSED -e ignore \ + ${SRCDIR}/${CAPSICUM_TEST_BIN} --gtest_filter=${tc} +} + +add_testcase() +{ + local tc=${1} + local tc_escaped word + + tc_escaped=$(echo ${tc} | sed -e 's/\./__/') + + atf_test_case ${tc_escaped} + eval
svn commit: r366469 - head/tests/sys/kern
Author: lwhsu Date: Tue Oct 6 04:18:42 2020 New Revision: 366469 URL: https://svnweb.freebsd.org/changeset/base/366469 Log: Clear the dmesg buffer to prevent rotating causes issues This is a workaround for the current continuously failing test case sys.kern.sonewconn_overflow.sonewconn_overflow_01 The side effect is the dmesg buffer got cleared and may effect other tests depends on dmesg output running in parallel. The better solution would be tailing the log file like /var/log/debug.log Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/kern/sonewconn_overflow.py Modified: head/tests/sys/kern/sonewconn_overflow.py == --- head/tests/sys/kern/sonewconn_overflow.py Tue Oct 6 02:57:37 2020 (r366468) +++ head/tests/sys/kern/sonewconn_overflow.py Tue Oct 6 04:18:42 2020 (r366469) @@ -85,6 +85,8 @@ class UnixTest(GenericTest): class LogChecker(): def __init__(self): +# Clear the dmesg buffer to prevent rotating causes issues +os.system('/sbin/dmesg -c > /dev/null') # Figure out how big the dmesg buffer is. self.dmesgOff = len(check_output("/sbin/dmesg")) ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366108 - head/share/man/man5
Author: lwhsu Date: Thu Sep 24 08:51:23 2020 New Revision: 366108 URL: https://svnweb.freebsd.org/changeset/base/366108 Log: Regen after r365903 Sponsored by: The FreeBSD Foundation Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 == --- head/share/man/man5/src.conf.5 Thu Sep 24 08:40:32 2020 (r366107) +++ head/share/man/man5/src.conf.5 Thu Sep 24 08:51:23 2020 (r366108) @@ -987,8 +987,8 @@ Enable building with support for verification based on certificates obtained from UEFI. .Pp .It Va WITH_LOADER_FIREWIRE -Enable firewire support in /boot/loader on x86. This option is a nop -on all other platforms. +Enable firewire support in /boot/loader on x86. +This option is a nop on all other platforms. .It Va WITHOUT_LOADER_GELI Disable inclusion of GELI crypto support in the boot chain binaries. .Pp @@ -1033,7 +1033,6 @@ arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/ Set to build with extra verbose debugging in the loader. May explode already nearly too large loader over the limit. Use with care. - .It Va WITH_LOADER_VERIEXEC Enable building .Xr loader 8 @@ -1270,7 +1269,6 @@ This is a default setting on arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf. .It Va WITH_NVME Set to build nvme related tools and kernel modules. - .Pp This is a default setting on amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366073 - stable/12/tests/sys/opencrypto
Author: lwhsu Date: Wed Sep 23 12:11:14 2020 New Revision: 366073 URL: https://svnweb.freebsd.org/changeset/base/366073 Log: MFC r347996, r348024, r348031, r348042 (by ngie) r347996: Replace uses of `foo.(de|en)code('hex')` with `binascii.(un)?hexlify(foo)` Python 3 no longer doesn't support encoding/decoding hexadecimal numbers using the `str.format` method. The backwards compatible new method (using the binascii module/methods) is a comparable means of converting to/from hexadecimal format. In short, the functional change is the following: * `foo.decode('hex')` -> `binascii.unhexlify(foo)` * `foo.encode('hex')` -> `binascii.hexlify(foo)` While here, move the dpkt import in `cryptodev.py` down per PEP8, so it comes after the standard library provided imports. PR: 237403 r348024: Followup to r347996 Replace uses of `foo.encode("hex")` with `binascii.hexlify(foo)` for forwards compatibility between python 2.x and python 3. PR: 237403 r348031: Squash deprecation warning related to array.array(..).tostring() In version 3.2+, `array.array(..).tostring()` was renamed to `array.array(..).tobytes()`. Conditionally call `array.array(..).tobytes()` if the python version is 3.2+. PR: 237403 r348042: Fix encoding issues with python 3 In python 3, the default encoding was switched from ascii character sets to unicode character sets in order to support internationalization by default. Some interfaces, like ioctls and packets, however, specify data in terms of non-unicode encodings formats, either in host endian (`fcntl.ioctl`) or network endian (`dpkt`) byte order/format. This change alters assumptions made by previous code where it was all data objects were assumed to be basestrings, when they should have been treated as byte arrays. In order to achieve this the following are done: * str objects with encodings needing to be encoded as ascii byte arrays are done so via `.encode("ascii")`. In order for this to work on python 3 in a type agnostic way (as it anecdotally varied depending on the caller), call `.encode("ascii")` only on str objects with python 3 to cast them to ascii byte arrays in a helper function name `str_to_ascii(..)`. * `dpkt.Packet` objects needing to be passed in to `fcntl.ioctl(..)` are done so by casting them to byte arrays via `bytes()`, which calls `dpkt.Packet__str__` under the covers and does the necessary str to byte array conversion needed for the `dpkt` APIs and `struct` module. In order to accomodate this change, apply the necessary typecasting for the byte array literal in order to search `fop.name` for nul bytes. This resolves all remaining python 2.x and python 3.x compatibility issues on amd64. More work needs to be done for the tests to function with i386, in general (this is a legacy issue). PR: 237403 Tested with: python 2.7.16 (amd64), python 3.6.8 (amd64) Modified: stable/12/tests/sys/opencrypto/cryptodev.py stable/12/tests/sys/opencrypto/cryptotest.py Directory Properties: stable/12/ (props changed) Modified: stable/12/tests/sys/opencrypto/cryptodev.py == --- stable/12/tests/sys/opencrypto/cryptodev.py Wed Sep 23 11:02:23 2020 (r366072) +++ stable/12/tests/sys/opencrypto/cryptodev.py Wed Sep 23 12:11:14 2020 (r366073) @@ -32,13 +32,16 @@ import array -import dpkt +import binascii from fcntl import ioctl import os import platform import signal from struct import pack as _pack +import sys +import dpkt + from cryptodevh import * __all__ = [ 'Crypto', 'MismatchError', ] @@ -131,22 +134,33 @@ def _getdev(): _cryptodev = _getdev() +def str_to_ascii(val): + if sys.version_info[0] >= 3: + if isinstance(val, str): + return val.encode("ascii") + return val; + def _findop(crid, name): fop = FindOp() fop.crid = crid - fop.name = name + fop.name = str_to_ascii(name) s = array.array('B', fop.pack_hdr()) ioctl(_cryptodev, CIOCFINDDEV, s, 1) fop.unpack(s) try: - idx = fop.name.index('\x00') + idx = fop.name.index(b'\x00') name = fop.name[:idx] except ValueError: name = fop.name return fop.crid, name +def array_tobytes(array_obj): + if sys.version_info[:2] >= (3, 2): + return array_obj.tobytes() + return array_obj.tostring() + class Crypto: @staticmethod def findcrid(name): @@ -208,15 +222,15 @@ class Crypto: if self._maclen is not None: m = array.array('B', [0] * self._maclen) cop.mac = m.buffer_info()[0] - ivbuf = array.array('B', iv) + ivbuf =
svn commit: r366067 - in stable/12/sys/dev/usb: . net
Author: lwhsu Date: Wed Sep 23 09:58:48 2020 New Revision: 366067 URL: https://svnweb.freebsd.org/changeset/base/366067 Log: MFC r365444: Add support to BELKIN B2B128 USB3 Ethernet Adapter to axge(4) Github PR:https://github.com/freebsd/freebsd/pull/439 Submitted by: https://github.com/jdpc86 Modified: stable/12/sys/dev/usb/net/if_axge.c stable/12/sys/dev/usb/usbdevs Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/dev/usb/net/if_axge.c == --- stable/12/sys/dev/usb/net/if_axge.c Wed Sep 23 08:22:14 2020 (r366066) +++ stable/12/sys/dev/usb/net/if_axge.c Wed Sep 23 09:58:48 2020 (r366067) @@ -69,6 +69,7 @@ static const STRUCT_USB_HOST_ID axge_devs[] = { #defineAXGE_DEV(v,p) { USB_VP(USB_VENDOR_##v, USB_PRODUCT_##v##_##p) } AXGE_DEV(ASIX, AX88178A), AXGE_DEV(ASIX, AX88179), + AXGE_DEV(BELKIN, B2B128), AXGE_DEV(DLINK, DUB1312), AXGE_DEV(LENOVO, GIGALAN), AXGE_DEV(SITECOMEU, LN032), Modified: stable/12/sys/dev/usb/usbdevs == --- stable/12/sys/dev/usb/usbdevs Wed Sep 23 08:22:14 2020 (r366066) +++ stable/12/sys/dev/usb/usbdevs Wed Sep 23 09:58:48 2020 (r366067) @@ -1367,6 +1367,7 @@ product BELKIN F5U109 0x0109 F5U109 Serial product BELKIN USB2SCSI0x0115 USB to SCSI product BELKIN F8T012 0x0121 F8T012xx1 Bluetooth USB Adapter product BELKIN USB2LAN 0x0121 USB to LAN +product BELKIN B2B128 0x0128 USB3 to LAN product BELKIN F5U208 0x0208 F5U208 VideoBus II product BELKIN F5U237 0x0237 F5U237 USB 2.0 7-Port Hub product BELKIN F5U257 0x0257 F5U257 Serial ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366068 - in stable/11/sys/dev/usb: . net
Author: lwhsu Date: Wed Sep 23 09:59:06 2020 New Revision: 366068 URL: https://svnweb.freebsd.org/changeset/base/366068 Log: MFC r365444: Add support to BELKIN B2B128 USB3 Ethernet Adapter to axge(4) Github PR:https://github.com/freebsd/freebsd/pull/439 Submitted by: https://github.com/jdpc86 Modified: stable/11/sys/dev/usb/net/if_axge.c stable/11/sys/dev/usb/usbdevs Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/dev/usb/net/if_axge.c == --- stable/11/sys/dev/usb/net/if_axge.c Wed Sep 23 09:58:48 2020 (r366067) +++ stable/11/sys/dev/usb/net/if_axge.c Wed Sep 23 09:59:06 2020 (r366068) @@ -66,6 +66,7 @@ static const STRUCT_USB_HOST_ID axge_devs[] = { #defineAXGE_DEV(v,p) { USB_VP(USB_VENDOR_##v, USB_PRODUCT_##v##_##p) } AXGE_DEV(ASIX, AX88178A), AXGE_DEV(ASIX, AX88179), + AXGE_DEV(BELKIN, B2B128), AXGE_DEV(DLINK, DUB1312), AXGE_DEV(LENOVO, GIGALAN), AXGE_DEV(SITECOMEU, LN032), Modified: stable/11/sys/dev/usb/usbdevs == --- stable/11/sys/dev/usb/usbdevs Wed Sep 23 09:58:48 2020 (r366067) +++ stable/11/sys/dev/usb/usbdevs Wed Sep 23 09:59:06 2020 (r366068) @@ -1316,6 +1316,7 @@ product BELKIN F5U109 0x0109 F5U109 Serial product BELKIN USB2SCSI0x0115 USB to SCSI product BELKIN F8T012 0x0121 F8T012xx1 Bluetooth USB Adapter product BELKIN USB2LAN 0x0121 USB to LAN +product BELKIN B2B128 0x0128 USB3 to LAN product BELKIN F5U208 0x0208 F5U208 VideoBus II product BELKIN F5U237 0x0237 F5U237 USB 2.0 7-Port Hub product BELKIN F5U257 0x0257 F5U257 Serial ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r366010 - stable/12/tests/sys/opencrypto
Author: lwhsu Date: Tue Sep 22 20:04:57 2020 New Revision: 366010 URL: https://svnweb.freebsd.org/changeset/base/366010 Log: MFC r346623 (by ngie): Chase PEP-3110 Replace `except Environment, e:` with `except Environment as e` for compatibility between python 2.x and python 3.x. While here, fix a bad indentation change from r346620 by reindenting the code properly. Sponsored by: The FreeBSD Foundation Modified: stable/12/tests/sys/opencrypto/cryptotest.py Directory Properties: stable/12/ (props changed) Modified: stable/12/tests/sys/opencrypto/cryptotest.py == --- stable/12/tests/sys/opencrypto/cryptotest.pyTue Sep 22 18:18:57 2020(r366009) +++ stable/12/tests/sys/opencrypto/cryptotest.pyTue Sep 22 20:04:57 2020(r366010) @@ -126,7 +126,7 @@ def GenTestCase(cname): mac=self._gmacsizes[len(cipherkey)], mackey=cipherkey, crid=crid, maclen=16) - except EnvironmentError, e: + except EnvironmentError as e: # Can't test algorithms the driver does not support. if e.errno != errno.EOPNOTSUPP: raise @@ -135,7 +135,7 @@ def GenTestCase(cname): if mode == 'ENCRYPT': try: rct, rtag = c.encrypt(pt, iv, aad) - except EnvironmentError, e: + except EnvironmentError as e: # Can't test inputs the driver does not support. if e.errno != errno.EINVAL: raise @@ -155,7 +155,7 @@ def GenTestCase(cname): else: try: rpt, rtag = c.decrypt(*args) - except EnvironmentError, e: + except EnvironmentError as e: # Can't test inputs the driver does not support. if e.errno != errno.EINVAL: raise @@ -223,7 +223,7 @@ def GenTestCase(cname): try: c = Crypto(meth, cipherkey, crid=crid) r = curfun(c, pt, iv) - except EnvironmentError, e: + except EnvironmentError as e: # Can't test hashes the driver does not support. if e.errno != errno.EOPNOTSUPP: raise @@ -254,7 +254,7 @@ def GenTestCase(cname): mackey=key, maclen=16) r, tag = Crypto.encrypt(c, payload, nonce, aad) - except EnvironmentError, e: + except EnvironmentError as e: if e.errno != errno.EOPNOTSUPP: raise continue @@ -296,7 +296,7 @@ def GenTestCase(cname): key=key, mac=cryptodev.CRYPTO_AES_CCM_CBC_MAC, mackey=key, maclen=16) - except EnvironmentError, e: + except EnvironmentError as e: if e.errno != errno.EOPNOTSUPP: raise continue @@ -390,13 +390,13 @@ def GenTestCase(cname): for data in lines: msg = data['Msg'].decode('hex') -msg = msg[:int(data['Len'])] + msg = msg[:int(data['Len'])] md =
svn commit: r365831 - head/contrib/netbsd-tests/fs/tmpfs
Author: lwhsu Date: Thu Sep 17 07:13:41 2020 New Revision: 365831 URL: https://svnweb.freebsd.org/changeset/base/365831 Log: Revert r249362, atime update in tmpfs is fixed in r365810 PR: 249362 Sponsored by: The FreeBSD Foundation Modified: head/contrib/netbsd-tests/fs/tmpfs/t_times.sh Modified: head/contrib/netbsd-tests/fs/tmpfs/t_times.sh == --- head/contrib/netbsd-tests/fs/tmpfs/t_times.sh Thu Sep 17 04:39:39 2020(r365830) +++ head/contrib/netbsd-tests/fs/tmpfs/t_times.sh Thu Sep 17 07:13:41 2020(r365831) @@ -36,10 +36,6 @@ empty_head() { atf_set "require.user" "root" } empty_body() { - if [ "$(atf_config_get ci false)" = "true" ]; then - atf_skip "https://bugs.freebsd.org/249362; - fi - test_mount atf_check -s eq:0 -o empty -e empty touch a @@ -72,10 +68,6 @@ non_empty_head() { atf_set "require.user" "root" } non_empty_body() { - if [ "$(atf_config_get ci false)" = "true" ]; then - atf_skip "https://bugs.freebsd.org/249362; - fi - test_mount echo foo >b || atf_fail "Non-empty creation failed" ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365793 - head/contrib/netbsd-tests/fs/tmpfs
Author: lwhsu Date: Wed Sep 16 09:58:15 2020 New Revision: 365793 URL: https://svnweb.freebsd.org/changeset/base/365793 Log: Temporarily skip sys.fs.tmpfs.times_test.{empty,non_empty} in CI PR: 249362 Sponsored by: The FreeBSD Foundation Modified: head/contrib/netbsd-tests/fs/tmpfs/t_times.sh Modified: head/contrib/netbsd-tests/fs/tmpfs/t_times.sh == --- head/contrib/netbsd-tests/fs/tmpfs/t_times.sh Wed Sep 16 07:53:15 2020(r365792) +++ head/contrib/netbsd-tests/fs/tmpfs/t_times.sh Wed Sep 16 09:58:15 2020(r365793) @@ -36,6 +36,10 @@ empty_head() { atf_set "require.user" "root" } empty_body() { + if [ "$(atf_config_get ci false)" = "true" ]; then + atf_skip "https://bugs.freebsd.org/249362; + fi + test_mount atf_check -s eq:0 -o empty -e empty touch a @@ -68,6 +72,10 @@ non_empty_head() { atf_set "require.user" "root" } non_empty_body() { + if [ "$(atf_config_get ci false)" = "true" ]; then + atf_skip "https://bugs.freebsd.org/249362; + fi + test_mount echo foo >b || atf_fail "Non-empty creation failed" ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365748 - releng/12.2/sys/dev/usb/net
Author: lwhsu Date: Tue Sep 15 12:34:01 2020 New Revision: 365748 URL: https://svnweb.freebsd.org/changeset/base/365748 Log: MFC r365606 and MF12 r365744: urndis(4): Add support of Inseego/Novatel Wireless MiFi 8800/8000 PR: 245152 Submitted by: rootl...@gmail.com Reviewed by: hselasky Approved by: re (gjb) Modified: releng/12.2/sys/dev/usb/net/if_urndis.c Directory Properties: releng/12.2/ (props changed) Modified: releng/12.2/sys/dev/usb/net/if_urndis.c == --- releng/12.2/sys/dev/usb/net/if_urndis.c Tue Sep 15 09:27:01 2020 (r365747) +++ releng/12.2/sys/dev/usb/net/if_urndis.c Tue Sep 15 12:34:01 2020 (r365748) @@ -178,6 +178,9 @@ static const STRUCT_USB_HOST_ID urndis_host_devs[] = { /* Nokia 7 plus */ {USB_IFACE_CLASS(UICLASS_IAD), USB_IFACE_SUBCLASS(0x4), USB_IFACE_PROTOCOL(UIPROTO_ACTIVESYNC)}, + /* Novatel Wireless 8800/8000/etc */ + {USB_IFACE_CLASS(UICLASS_IAD), USB_IFACE_SUBCLASS(0xef), + USB_IFACE_PROTOCOL(UIPROTO_RNDIS)}, }; DRIVER_MODULE(urndis, uhub, urndis_driver, urndis_devclass, NULL, NULL); ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365744 - stable/12/sys/dev/usb/net
Author: lwhsu Date: Tue Sep 15 06:14:00 2020 New Revision: 365744 URL: https://svnweb.freebsd.org/changeset/base/365744 Log: MFC r365606: urndis(4): Add support of Inseego/Novatel Wireless MiFi 8800/8000 PR: 245152 Submitted by: rootl...@gmail.com Reviewed by: hselasky Modified: stable/12/sys/dev/usb/net/if_urndis.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/dev/usb/net/if_urndis.c == --- stable/12/sys/dev/usb/net/if_urndis.c Tue Sep 15 06:12:30 2020 (r365743) +++ stable/12/sys/dev/usb/net/if_urndis.c Tue Sep 15 06:14:00 2020 (r365744) @@ -178,6 +178,9 @@ static const STRUCT_USB_HOST_ID urndis_host_devs[] = { /* Nokia 7 plus */ {USB_IFACE_CLASS(UICLASS_IAD), USB_IFACE_SUBCLASS(0x4), USB_IFACE_PROTOCOL(UIPROTO_ACTIVESYNC)}, + /* Novatel Wireless 8800/8000/etc */ + {USB_IFACE_CLASS(UICLASS_IAD), USB_IFACE_SUBCLASS(0xef), + USB_IFACE_PROTOCOL(UIPROTO_RNDIS)}, }; DRIVER_MODULE(urndis, uhub, urndis_driver, urndis_devclass, NULL, NULL); ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365743 - stable/11/sys/dev/usb/net
Author: lwhsu Date: Tue Sep 15 06:12:30 2020 New Revision: 365743 URL: https://svnweb.freebsd.org/changeset/base/365743 Log: MFC r365606: urndis(4): Add support of Inseego/Novatel Wireless MiFi 8800/8000 PR: 245152 Submitted by: rootl...@gmail.com Reviewed by: hselasky Modified: stable/11/sys/dev/usb/net/if_urndis.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/dev/usb/net/if_urndis.c == --- stable/11/sys/dev/usb/net/if_urndis.c Tue Sep 15 05:51:03 2020 (r365742) +++ stable/11/sys/dev/usb/net/if_urndis.c Tue Sep 15 06:12:30 2020 (r365743) @@ -178,6 +178,9 @@ static const STRUCT_USB_HOST_ID urndis_host_devs[] = { /* Nokia 7 plus */ {USB_IFACE_CLASS(UICLASS_IAD), USB_IFACE_SUBCLASS(0x4), USB_IFACE_PROTOCOL(UIPROTO_ACTIVESYNC)}, + /* Novatel Wireless 8800/8000/etc */ + {USB_IFACE_CLASS(UICLASS_IAD), USB_IFACE_SUBCLASS(0xef), + USB_IFACE_PROTOCOL(UIPROTO_RNDIS)}, }; DRIVER_MODULE(urndis, uhub, urndis_driver, urndis_devclass, NULL, NULL); ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365625 - head/tests/sys/kern
Author: lwhsu Date: Fri Sep 11 05:45:27 2020 New Revision: 365625 URL: https://svnweb.freebsd.org/changeset/base/365625 Log: Revert r365592 and r365603 as the tests are fixed by r365593 PR: 249236 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/kern/memfd_test.c Modified: head/tests/sys/kern/memfd_test.c == --- head/tests/sys/kern/memfd_test.cFri Sep 11 02:02:15 2020 (r365624) +++ head/tests/sys/kern/memfd_test.cFri Sep 11 05:45:27 2020 (r365625) @@ -43,9 +43,6 @@ ATF_TC_BODY(basic, tc) int fd; char buf[8]; - if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) - atf_tc_skip("https://bugs.freebsd.org/249236;); - ATF_REQUIRE((fd = memfd_create("...", 0)) != -1); /* write(2) should grow us out automatically. */ @@ -102,9 +99,6 @@ ATF_TC_BODY(write_seal, tc) int fd; char *addr, buf[BUF_SIZE]; - if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) - atf_tc_skip("https://bugs.freebsd.org/249236;); - ATF_REQUIRE((fd = memfd_create("...", MFD_ALLOW_SEALING)) != -1); ATF_REQUIRE(ftruncate(fd, BUF_SIZE) == 0); @@ -134,9 +128,6 @@ ATF_TC_BODY(mmap_write_seal, tc) int fd; char *addr, *paddr, *raddr; - if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) - atf_tc_skip("https://bugs.freebsd.org/249236;); - ATF_REQUIRE((fd = memfd_create("...", MFD_ALLOW_SEALING)) != -1); ATF_REQUIRE(ftruncate(fd, BUF_SIZE) == 0); @@ -202,9 +193,6 @@ ATF_TC_WITHOUT_HEAD(truncate_seals); ATF_TC_BODY(truncate_seals, tc) { - if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) - atf_tc_skip("https://bugs.freebsd.org/249236;); - ATF_REQUIRE(memfd_truncate_test(4, 8, F_SEAL_GROW) == EPERM); ATF_REQUIRE(memfd_truncate_test(8, 4, F_SEAL_SHRINK) == EPERM); ATF_REQUIRE(memfd_truncate_test(8, 4, F_SEAL_GROW) == 0); @@ -240,9 +228,6 @@ ATF_TC_BODY(dup_seals, tc) char buf[8]; int fd, fdx; int seals; - - if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) - atf_tc_skip("https://bugs.freebsd.org/249236;); ATF_REQUIRE((fd = memfd_create("...", MFD_ALLOW_SEALING)) != -1); ATF_REQUIRE((fdx = dup(fd)) != -1); ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365606 - head/sys/dev/usb/net
Author: lwhsu Date: Thu Sep 10 18:27:52 2020 New Revision: 365606 URL: https://svnweb.freebsd.org/changeset/base/365606 Log: urndis(4): Add support of Inseego/Novatel Wireless MiFi 8800/8000 PR: 245152 Submitted by: rootl...@gmail.com Reviewed by: hselasky MFC after:3 days Modified: head/sys/dev/usb/net/if_urndis.c Modified: head/sys/dev/usb/net/if_urndis.c == --- head/sys/dev/usb/net/if_urndis.cThu Sep 10 18:19:45 2020 (r365605) +++ head/sys/dev/usb/net/if_urndis.cThu Sep 10 18:27:52 2020 (r365606) @@ -179,6 +179,9 @@ static const STRUCT_USB_HOST_ID urndis_host_devs[] = { /* Nokia 7 plus */ {USB_IFACE_CLASS(UICLASS_IAD), USB_IFACE_SUBCLASS(0x4), USB_IFACE_PROTOCOL(UIPROTO_ACTIVESYNC)}, + /* Novatel Wireless 8800/8000/etc */ + {USB_IFACE_CLASS(UICLASS_IAD), USB_IFACE_SUBCLASS(0xef), + USB_IFACE_PROTOCOL(UIPROTO_RNDIS)}, }; DRIVER_MODULE(urndis, uhub, urndis_driver, urndis_devclass, NULL, NULL); ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r365592 - head/tests/sys/kern
On Fri, Sep 11, 2020 at 1:18 AM Kyle Evans wrote: > > On Thu, Sep 10, 2020 at 12:16 PM Li-Wen Hsu wrote: > > > > Author: lwhsu > > Date: Thu Sep 10 17:15:44 2020 > > New Revision: 365592 > > URL: https://svnweb.freebsd.org/changeset/base/365592 > > > > Log: > > Temporarily skip failing sys.kern.memfd_test.* tests in CI > > > > PR: 249236 > > Sponsored by: The FreeBSD Foundation > > > > Oy, I was literally just about to hit commit on the fix for these. Oops, Although I should have marked them earlier, just don't get another report of the same issues. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365592 - head/tests/sys/kern
Author: lwhsu Date: Thu Sep 10 17:15:44 2020 New Revision: 365592 URL: https://svnweb.freebsd.org/changeset/base/365592 Log: Temporarily skip failing sys.kern.memfd_test.* tests in CI PR: 249236 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/kern/memfd_test.c Modified: head/tests/sys/kern/memfd_test.c == --- head/tests/sys/kern/memfd_test.cThu Sep 10 17:12:42 2020 (r365591) +++ head/tests/sys/kern/memfd_test.cThu Sep 10 17:15:44 2020 (r365592) @@ -43,6 +43,9 @@ ATF_TC_BODY(basic, tc) int fd; char buf[8]; + if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) + atf_skip "https://bugs.freebsd.org/249236; + ATF_REQUIRE((fd = memfd_create("...", 0)) != -1); /* write(2) should grow us out automatically. */ @@ -99,6 +102,9 @@ ATF_TC_BODY(write_seal, tc) int fd; char *addr, buf[BUF_SIZE]; + if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) + atf_skip "https://bugs.freebsd.org/249236; + ATF_REQUIRE((fd = memfd_create("...", MFD_ALLOW_SEALING)) != -1); ATF_REQUIRE(ftruncate(fd, BUF_SIZE) == 0); @@ -128,6 +134,9 @@ ATF_TC_BODY(mmap_write_seal, tc) int fd; char *addr, *paddr, *raddr; + if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) + atf_skip "https://bugs.freebsd.org/249236; + ATF_REQUIRE((fd = memfd_create("...", MFD_ALLOW_SEALING)) != -1); ATF_REQUIRE(ftruncate(fd, BUF_SIZE) == 0); @@ -193,6 +202,9 @@ ATF_TC_WITHOUT_HEAD(truncate_seals); ATF_TC_BODY(truncate_seals, tc) { + if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) + atf_skip "https://bugs.freebsd.org/249236; + ATF_REQUIRE(memfd_truncate_test(4, 8, F_SEAL_GROW) == EPERM); ATF_REQUIRE(memfd_truncate_test(8, 4, F_SEAL_SHRINK) == EPERM); ATF_REQUIRE(memfd_truncate_test(8, 4, F_SEAL_GROW) == 0); @@ -228,6 +240,9 @@ ATF_TC_BODY(dup_seals, tc) char buf[8]; int fd, fdx; int seals; + + if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) + atf_skip "https://bugs.freebsd.org/249236; ATF_REQUIRE((fd = memfd_create("...", MFD_ALLOW_SEALING)) != -1); ATF_REQUIRE((fdx = dup(fd)) != -1); ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365553 - in head: . share/man/man9
Author: lwhsu Date: Thu Sep 10 06:32:25 2020 New Revision: 365553 URL: https://svnweb.freebsd.org/changeset/base/365553 Log: Remove vm_map_create(9) KPI's manpage according to r364302 Submitted by: Ka Ho Ng Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D26372 Deleted: head/share/man/man9/vm_map_create.9 Modified: head/ObsoleteFiles.inc head/share/man/man9/Makefile head/share/man/man9/vm_map.9 Modified: head/ObsoleteFiles.inc == --- head/ObsoleteFiles.inc Thu Sep 10 04:17:23 2020(r365552) +++ head/ObsoleteFiles.inc Thu Sep 10 06:32:25 2020(r365553) @@ -36,6 +36,9 @@ # xargs -n1 | sort | uniq -d; # done +# 20200910: remove vm_map_create(9) to sync with the code +OLD_FILES+=usr/share/man/man9/vm_map_create.9.gz + # 20200820: Removal of the ufm driver. OLD_FILES+=usr/share/man/man4/ufm.4.gz Modified: head/share/man/man9/Makefile == --- head/share/man/man9/MakefileThu Sep 10 04:17:23 2020 (r365552) +++ head/share/man/man9/MakefileThu Sep 10 06:32:25 2020 (r365553) @@ -361,7 +361,6 @@ MAN=accept_filter.9 \ vm_fault_prefault.9 \ vm_map.9 \ vm_map_check_protection.9 \ - vm_map_create.9 \ vm_map_delete.9 \ vm_map_entry_resize_free.9 \ vm_map_find.9 \ Modified: head/share/man/man9/vm_map.9 == --- head/share/man/man9/vm_map.9Thu Sep 10 04:17:23 2020 (r365552) +++ head/share/man/man9/vm_map.9Thu Sep 10 06:32:25 2020 (r365553) @@ -310,7 +310,6 @@ is backed by a .Sh SEE ALSO .Xr pmap 9 , .Xr vm_map_check_protection 9 , -.Xr vm_map_create 9 , .Xr vm_map_delete 9 , .Xr vm_map_entry_resize_free 9 , .Xr vm_map_find 9 , ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365551 - stable/12/share/man/man4
Author: lwhsu Date: Thu Sep 10 04:17:05 2020 New Revision: 365551 URL: https://svnweb.freebsd.org/changeset/base/365551 Log: MFC r365403: Slightly improve usb(4) - Mention USB 3.0 - Update links - Fix `mandoc -T lint` warnings Reviewed by: bcr, hselasky Differential Revision:https://reviews.freebsd.org/D26349 Modified: stable/12/share/man/man4/usb.4 Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man4/usb.4 == --- stable/12/share/man/man4/usb.4 Thu Sep 10 04:00:13 2020 (r365550) +++ stable/12/share/man/man4/usb.4 Thu Sep 10 04:17:05 2020 (r365551) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 24, 2018 +.Dd September 7, 2020 .Dt USB 4 .Os .Sh NAME @@ -52,8 +52,7 @@ for more information. .Sh DESCRIPTION .Fx provides machine-independent bus support and drivers for -.Tn USB -devices in host and device side mode. +USB devices in host and device side mode. .Pp The .Nm @@ -67,32 +66,25 @@ driver has three layers: The controller attaches to a physical bus like .Xr pci 4 . -The -.Tn USB -bus attaches to the controller, and the root hub attaches +The USB bus attaches to the controller, and the root hub attaches to the controller. Any devices attached to the bus will attach to the root hub -or another hub attached to the -.Tn USB -bus. +or another hub attached to the USB bus. .Pp The .Nm uhub device will always be present as it is needed for the root hub. .Sh INTRODUCTION TO USB -The -.Tn USB -is a system where external devices can be connected to a PC. +The USB is a system where external devices can be connected to a PC. The most common USB speeds are: .Bl -tag -width 6n -offset indent -.It Low Speed (1.5MBit/sec) -.It Full Speed (12MBit/sec) -.It High Speed (480MBit/sec) +.It Low Speed (1.5 MBit/sec) +.It Full Speed (12 MBit/sec) +.It High Speed (480 MBit/sec) +.It SuperSpeed (5 GBit/sec) .El .Pp -Each -.Tn USB -has a USB controller that is the master of the bus. +Each USB has a USB controller that is the master of the bus. The physical communication is simplex which means the host controller only communicates with one USB device at a time. .Pp @@ -122,9 +114,7 @@ A device may operate in different configurations. Depending on the configuration, the device may present different sets of endpoints and interfaces. .Pp -The bus enumeration of the -.Tn USB -bus proceeds in several steps: +The bus enumeration of the USB bus proceeds in several steps: .Bl -enum .It Any interface specific driver can attach to the device. @@ -143,11 +133,9 @@ Debug output level, where 0 is debugging disabled and debug message verbosity. Default is 0. .Sh SEE ALSO -The -.Tn USB -specifications can be found at: +The USB specifications can be found at: .Pp -.D1 Pa http://www.usb.org/developers/docs/ +.D1 Pa https://www.usb.org/documents .Pp .Xr libusb 3 , .Xr aue 4 , @@ -177,7 +165,7 @@ specifications can be found at: .Sh STANDARDS The .Nm -module complies with the USB 2.0 standard. +module complies with the USB 3.0 standard. .Sh HISTORY The .Nm ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365552 - stable/11/share/man/man4
Author: lwhsu Date: Thu Sep 10 04:17:23 2020 New Revision: 365552 URL: https://svnweb.freebsd.org/changeset/base/365552 Log: MFC r365403: Slightly improve usb(4) - Mention USB 3.0 - Update links - Fix `mandoc -T lint` warnings Reviewed by: bcr, hselasky Differential Revision:https://reviews.freebsd.org/D26349 Modified: stable/11/share/man/man4/usb.4 Directory Properties: stable/11/ (props changed) Modified: stable/11/share/man/man4/usb.4 == --- stable/11/share/man/man4/usb.4 Thu Sep 10 04:17:05 2020 (r365551) +++ stable/11/share/man/man4/usb.4 Thu Sep 10 04:17:23 2020 (r365552) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 29, 2017 +.Dd September 7, 2020 .Dt USB 4 .Os .Sh NAME @@ -52,8 +52,7 @@ for more information. .Sh DESCRIPTION .Fx provides machine-independent bus support and drivers for -.Tn USB -devices in host and device side mode. +USB devices in host and device side mode. .Pp The .Nm @@ -67,32 +66,25 @@ driver has three layers: The controller attaches to a physical bus like .Xr pci 4 . -The -.Tn USB -bus attaches to the controller, and the root hub attaches +The USB bus attaches to the controller, and the root hub attaches to the controller. Any devices attached to the bus will attach to the root hub -or another hub attached to the -.Tn USB -bus. +or another hub attached to the USB bus. .Pp The .Nm uhub device will always be present as it is needed for the root hub. .Sh INTRODUCTION TO USB -The -.Tn USB -is a system where external devices can be connected to a PC. +The USB is a system where external devices can be connected to a PC. The most common USB speeds are: .Bl -tag -width 6n -offset indent -.It Low Speed (1.5MBit/sec) -.It Full Speed (12MBit/sec) -.It High Speed (480MBit/sec) +.It Low Speed (1.5 MBit/sec) +.It Full Speed (12 MBit/sec) +.It High Speed (480 MBit/sec) +.It SuperSpeed (5 GBit/sec) .El .Pp -Each -.Tn USB -has a USB controller that is the master of the bus. +Each USB has a USB controller that is the master of the bus. The physical communication is simplex which means the host controller only communicates with one USB device at a time. .Pp @@ -122,9 +114,7 @@ A device may operate in different configurations. Depending on the configuration, the device may present different sets of endpoints and interfaces. .Pp -The bus enumeration of the -.Tn USB -bus proceeds in several steps: +The bus enumeration of the USB bus proceeds in several steps: .Bl -enum .It Any interface specific driver can attach to the device. @@ -132,11 +122,9 @@ Any interface specific driver can attach to the device If none is found, generic interface class drivers can attach. .El .Sh SEE ALSO -The -.Tn USB -specifications can be found at: +The USB specifications can be found at: .Pp -.D1 Pa http://www.usb.org/developers/docs/ +.D1 Pa https://www.usb.org/documents .Pp .Xr libusb 3 , .Xr aue 4 , @@ -166,7 +154,7 @@ specifications can be found at: .Sh STANDARDS The .Nm -module complies with the USB 2.0 standard. +module complies with the USB 3.0 standard. .Sh HISTORY The .Nm ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365444 - in head/sys/dev/usb: . net
Author: lwhsu Date: Tue Sep 8 04:44:37 2020 New Revision: 365444 URL: https://svnweb.freebsd.org/changeset/base/365444 Log: Add support to BELKIN B2B128 USB3 Ethernet Adapter to axge(4) Github PR:https://github.com/freebsd/freebsd/pull/439 Submitted by: https://github.com/jdpc86 MFC after:2 weeks Modified: head/sys/dev/usb/net/if_axge.c head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/net/if_axge.c == --- head/sys/dev/usb/net/if_axge.c Tue Sep 8 03:55:49 2020 (r365443) +++ head/sys/dev/usb/net/if_axge.c Tue Sep 8 04:44:37 2020 (r365444) @@ -75,6 +75,7 @@ static const STRUCT_USB_HOST_ID axge_devs[] = { #defineAXGE_DEV(v,p) { USB_VP(USB_VENDOR_##v, USB_PRODUCT_##v##_##p) } AXGE_DEV(ASIX, AX88178A), AXGE_DEV(ASIX, AX88179), + AXGE_DEV(BELKIN, B2B128), AXGE_DEV(DLINK, DUB1312), AXGE_DEV(LENOVO, GIGALAN), AXGE_DEV(SITECOMEU, LN032), Modified: head/sys/dev/usb/usbdevs == --- head/sys/dev/usb/usbdevsTue Sep 8 03:55:49 2020(r365443) +++ head/sys/dev/usb/usbdevsTue Sep 8 04:44:37 2020(r365444) @@ -1366,6 +1366,7 @@ product BELKIN F5U109 0x0109 F5U109 Serial product BELKIN USB2SCSI0x0115 USB to SCSI product BELKIN F8T012 0x0121 F8T012xx1 Bluetooth USB Adapter product BELKIN USB2LAN 0x0121 USB to LAN +product BELKIN B2B128 0x0128 USB3 to LAN product BELKIN F5U208 0x0208 F5U208 VideoBus II product BELKIN F5U237 0x0237 F5U237 USB 2.0 7-Port Hub product BELKIN F5U257 0x0257 F5U257 Serial ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365424 - head/sbin/bectl/tests
Author: lwhsu Date: Mon Sep 7 18:15:58 2020 New Revision: 365424 URL: https://svnweb.freebsd.org/changeset/base/365424 Log: Call atf_skip function in cleanup procedure as it also triggers zfs.ko loading PR: 249055 Sponsored by: The FreeBSD Foundation Modified: head/sbin/bectl/tests/bectl_test.sh Modified: head/sbin/bectl/tests/bectl_test.sh == --- head/sbin/bectl/tests/bectl_test.sh Mon Sep 7 17:31:58 2020 (r365423) +++ head/sbin/bectl/tests/bectl_test.sh Mon Sep 7 18:15:58 2020 (r365424) @@ -452,6 +452,11 @@ bectl_jail_body() # attempts to destroy the zpool. bectl_jail_cleanup() { + if [ "$(atf_config_get ci false)" = "true" ] && \ + [ "$(uname -p)" = "i386" ]; then + atf_skip "https://bugs.freebsd.org/249055; + fi + zpool=$(get_zpool_name) for bootenv in "default" "target" "1234"; do # mountpoint of the boot environment ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365403 - head/share/man/man4
Author: lwhsu Date: Mon Sep 7 07:44:14 2020 New Revision: 365403 URL: https://svnweb.freebsd.org/changeset/base/365403 Log: Slightly improve usb(4) - Mention USB 3.0 - Update links - Fix `mandoc -T lint` warnings Reviewed by: bcr, hselasky MFC after:3 days Differential Revision:https://reviews.freebsd.org/D26349 Modified: head/share/man/man4/usb.4 Modified: head/share/man/man4/usb.4 == --- head/share/man/man4/usb.4 Mon Sep 7 06:53:29 2020(r365402) +++ head/share/man/man4/usb.4 Mon Sep 7 07:44:14 2020(r365403) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 24, 2018 +.Dd September 7, 2020 .Dt USB 4 .Os .Sh NAME @@ -52,8 +52,7 @@ for more information. .Sh DESCRIPTION .Fx provides machine-independent bus support and drivers for -.Tn USB -devices in host and device side mode. +USB devices in host and device side mode. .Pp The .Nm @@ -67,32 +66,25 @@ driver has three layers: The controller attaches to a physical bus like .Xr pci 4 . -The -.Tn USB -bus attaches to the controller, and the root hub attaches +The USB bus attaches to the controller, and the root hub attaches to the controller. Any devices attached to the bus will attach to the root hub -or another hub attached to the -.Tn USB -bus. +or another hub attached to the USB bus. .Pp The .Nm uhub device will always be present as it is needed for the root hub. .Sh INTRODUCTION TO USB -The -.Tn USB -is a system where external devices can be connected to a PC. +The USB is a system where external devices can be connected to a PC. The most common USB speeds are: .Bl -tag -width 6n -offset indent -.It Low Speed (1.5MBit/sec) -.It Full Speed (12MBit/sec) -.It High Speed (480MBit/sec) +.It Low Speed (1.5 MBit/sec) +.It Full Speed (12 MBit/sec) +.It High Speed (480 MBit/sec) +.It SuperSpeed (5 GBit/sec) .El .Pp -Each -.Tn USB -has a USB controller that is the master of the bus. +Each USB has a USB controller that is the master of the bus. The physical communication is simplex which means the host controller only communicates with one USB device at a time. .Pp @@ -122,9 +114,7 @@ A device may operate in different configurations. Depending on the configuration, the device may present different sets of endpoints and interfaces. .Pp -The bus enumeration of the -.Tn USB -bus proceeds in several steps: +The bus enumeration of the USB bus proceeds in several steps: .Bl -enum .It Any interface specific driver can attach to the device. @@ -144,11 +134,9 @@ debug message verbosity. Default is 0. .El .Sh SEE ALSO -The -.Tn USB -specifications can be found at: +The USB specifications can be found at: .Pp -.D1 Pa http://www.usb.org/developers/docs/ +.D1 Pa https://www.usb.org/documents .Pp .Xr libusb 3 , .Xr aue 4 , @@ -178,7 +166,7 @@ specifications can be found at: .Sh STANDARDS The .Nm -module complies with the USB 2.0 standard. +module complies with the USB 3.0 standard. .Sh HISTORY The .Nm ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365337 - head/tests/sys/kern
Author: lwhsu Date: Fri Sep 4 19:24:27 2020 New Revision: 365337 URL: https://svnweb.freebsd.org/changeset/base/365337 Log: Initialize len to avoid ENOMEM from sysctl(3). PR: 248933 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/kern/kern_copyin.c Modified: head/tests/sys/kern/kern_copyin.c == --- head/tests/sys/kern/kern_copyin.c Fri Sep 4 18:55:03 2020 (r365336) +++ head/tests/sys/kern/kern_copyin.c Fri Sep 4 19:24:27 2020 (r365337) @@ -66,6 +66,7 @@ get_maxuser_address(void) mib[1] = KERN_PROC; mib[2] = KERN_PROC_PS_STRINGS; mib[3] = getpid(); + len = sizeof(psstrings); error = sysctl(mib, nitems(mib), , , NULL, 0); if (error != 0) return (0); ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365291 - head/sbin/bectl/tests
Author: lwhsu Date: Thu Sep 3 08:16:57 2020 New Revision: 365291 URL: https://svnweb.freebsd.org/changeset/base/365291 Log: Temporarily skip sbin.bectl.bectl_test.* i386 kernel in CI kldload zfs.ko on i386 hangs in CI Sponsored by: The FreeBSD Foundation Modified: head/sbin/bectl/tests/bectl_test.sh Modified: head/sbin/bectl/tests/bectl_test.sh == --- head/sbin/bectl/tests/bectl_test.sh Thu Sep 3 08:02:19 2020 (r365290) +++ head/sbin/bectl/tests/bectl_test.sh Thu Sep 3 08:16:57 2020 (r365291) @@ -148,6 +148,11 @@ bectl_destroy_head() } bectl_destroy_body() { + if [ "$(atf_config_get ci false)" = "true" ] && \ + [ "$(uname -p)" = "i386" ]; then + atf_skip "https://bugs.freebsd.org/249055; + fi + cwd=$(realpath .) zpool=$(make_zpool_name) disk=${cwd}/disk.img @@ -228,6 +233,11 @@ bectl_export_import_head() } bectl_export_import_body() { + if [ "$(atf_config_get ci false)" = "true" ] && \ + [ "$(uname -p)" = "i386" ]; then + atf_skip "https://bugs.freebsd.org/249055; + fi + cwd=$(realpath .) zpool=$(make_zpool_name) disk=${cwd}/disk.img @@ -256,6 +266,11 @@ bectl_list_head() } bectl_list_body() { + if [ "$(atf_config_get ci false)" = "true" ] && \ + [ "$(uname -p)" = "i386" ]; then + atf_skip "https://bugs.freebsd.org/249055; + fi + cwd=$(realpath .) zpool=$(make_zpool_name) disk=${cwd}/disk.img @@ -291,6 +306,11 @@ bectl_mount_head() } bectl_mount_body() { + if [ "$(atf_config_get ci false)" = "true" ] && \ + [ "$(uname -p)" = "i386" ]; then + atf_skip "https://bugs.freebsd.org/249055; + fi + cwd=$(realpath .) zpool=$(make_zpool_name) disk=${cwd}/disk.img @@ -325,6 +345,11 @@ bectl_rename_head() } bectl_rename_body() { + if [ "$(atf_config_get ci false)" = "true" ] && \ + [ "$(uname -p)" = "i386" ]; then + atf_skip "https://bugs.freebsd.org/249055; + fi + cwd=$(realpath .) zpool=$(make_zpool_name) disk=${cwd}/disk.img @@ -352,6 +377,11 @@ bectl_jail_head() } bectl_jail_body() { + if [ "$(atf_config_get ci false)" = "true" ] && \ + [ "$(uname -p)" = "i386" ]; then + atf_skip "https://bugs.freebsd.org/249055; + fi + cwd=$(realpath .) zpool=$(make_zpool_name) disk=${cwd}/disk.img ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r365271 - in head: lib/libbe/tests sbin/bectl/tests
Author: lwhsu Date: Wed Sep 2 19:18:27 2020 New Revision: 365271 URL: https://svnweb.freebsd.org/changeset/base/365271 Log: Temporarily skip tests panic i386 kernel in CI lib.libbe.be_create.libbe_create sbin.bectl.bectl_test.bectl_create PR: 249055 Sponsored by: The FreeBSD Foundation Modified: head/lib/libbe/tests/be_create.sh head/sbin/bectl/tests/bectl_test.sh Modified: head/lib/libbe/tests/be_create.sh == --- head/lib/libbe/tests/be_create.sh Wed Sep 2 19:02:48 2020 (r365270) +++ head/lib/libbe/tests/be_create.sh Wed Sep 2 19:18:27 2020 (r365271) @@ -88,6 +88,11 @@ libbe_create_head() } libbe_create_body() { + if [ "$(atf_config_get ci false)" = "true" ] && \ + [ "$(uname -p)" = "i386" ]; then + atf_skip "https://bugs.freebsd.org/249055; + fi + cwd=$(atf_get_srcdir) zpool=$(make_zpool_name) disk=${cwd}/disk.img Modified: head/sbin/bectl/tests/bectl_test.sh == --- head/sbin/bectl/tests/bectl_test.sh Wed Sep 2 19:02:48 2020 (r365270) +++ head/sbin/bectl/tests/bectl_test.sh Wed Sep 2 19:18:27 2020 (r365271) @@ -93,6 +93,11 @@ bectl_create_head() } bectl_create_body() { + if [ "$(atf_config_get ci false)" = "true" ] && \ + [ "$(uname -p)" = "i386" ]; then + atf_skip "https://bugs.freebsd.org/249055; + fi + cwd=$(realpath .) zpool=$(make_zpool_name) disk=${cwd}/disk.img ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r364241 - head/sys/dev/ixl
Author: lwhsu Date: Sat Aug 15 03:26:00 2020 New Revision: 364241 URL: https://svnweb.freebsd.org/changeset/base/364241 Log: Remove redeclaration found by gcc build Reviewed by: Jacob Keller Suggested editing from: Krzysztof Galazka Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D25954 Modified: head/sys/dev/ixl/i40e_prototype.h Modified: head/sys/dev/ixl/i40e_prototype.h == --- head/sys/dev/ixl/i40e_prototype.h Sat Aug 15 03:20:39 2020 (r364240) +++ head/sys/dev/ixl/i40e_prototype.h Sat Aug 15 03:26:00 2020 (r364241) @@ -606,6 +606,4 @@ enum i40e_status_code i40e_read_phy_register(struct i4 enum i40e_status_code i40e_write_phy_register(struct i40e_hw *hw, u8 page, u16 reg, u8 phy_addr, u16 value); u8 i40e_get_phy_address(struct i40e_hw *hw, u8 dev_num); -enum i40e_status_code i40e_blink_phy_link_led(struct i40e_hw *hw, - u32 time, u32 interval); #endif /* _I40E_PROTOTYPE_H_ */ ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r364240 - head/sys/dev/ice
Author: lwhsu Date: Sat Aug 15 03:20:39 2020 New Revision: 364240 URL: https://svnweb.freebsd.org/changeset/base/364240 Log: Remove redeclaration found by gcc build Reviewed by: erj Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D25953 Modified: head/sys/dev/ice/ice_common.h Modified: head/sys/dev/ice/ice_common.h == --- head/sys/dev/ice/ice_common.h Fri Aug 14 21:37:38 2020 (r364239) +++ head/sys/dev/ice/ice_common.h Sat Aug 15 03:20:39 2020 (r364240) @@ -46,16 +46,6 @@ enum ice_fw_modes { ICE_FW_MODE_ROLLBACK }; -/* prototype for functions used for SW locks */ -void ice_free_list(struct LIST_HEAD_TYPE *list); -void ice_init_lock(struct ice_lock *lock); -void ice_acquire_lock(struct ice_lock *lock); -void ice_release_lock(struct ice_lock *lock); -void ice_destroy_lock(struct ice_lock *lock); - -void *ice_alloc_dma_mem(struct ice_hw *hw, struct ice_dma_mem *m, u64 size); -void ice_free_dma_mem(struct ice_hw *hw, struct ice_dma_mem *m); - void ice_idle_aq(struct ice_hw *hw, struct ice_ctl_q_info *cq); bool ice_sq_done(struct ice_hw *hw, struct ice_ctl_q_info *cq); @@ -77,13 +67,6 @@ ice_clean_rq_elem(struct ice_hw *hw, struct ice_ctl_q_ enum ice_status ice_get_link_status(struct ice_port_info *pi, bool *link_up); enum ice_status ice_update_link_info(struct ice_port_info *pi); -enum ice_status -ice_acquire_nvm(struct ice_hw *hw, enum ice_aq_res_access_type access); -void ice_release_nvm(struct ice_hw *hw); -enum ice_status -ice_aq_read_nvm(struct ice_hw *hw, u16 module_typeid, u32 offset, u16 length, - void *data, bool last_command, bool read_shadow_ram, - struct ice_sq_cd *cd); enum ice_status ice_acquire_res(struct ice_hw *hw, enum ice_aq_res_ids res, enum ice_aq_res_access_type access, u32 timeout); ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r364098 - head/sys/dev/dwc
Author: lwhsu Date: Tue Aug 11 05:17:10 2020 New Revision: 364098 URL: https://svnweb.freebsd.org/changeset/base/364098 Log: Fix armv{6,7} build after r364088 Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/dwc/if_dwc.c Modified: head/sys/dev/dwc/if_dwc.c == --- head/sys/dev/dwc/if_dwc.c Tue Aug 11 05:10:01 2020(r364097) +++ head/sys/dev/dwc/if_dwc.c Tue Aug 11 05:17:10 2020(r364098) @@ -1220,7 +1220,8 @@ dwc_clock_init(device_t dev) } if (bootverbose) { clk_get_freq(clk, ); - device_printf(dev, "MAC clock(%s) freq: %ld\n", clk_get_name(clk), freq); + device_printf(dev, "MAC clock(%s) freq: %jd\n", + clk_get_name(clk), (intmax_t)freq); } } else { ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r364006 - head/share/man/man9
Author: lwhsu Date: Fri Aug 7 08:57:31 2020 New Revision: 364006 URL: https://svnweb.freebsd.org/changeset/base/364006 Log: Add a .Pp to separate description and sample code for readability. Modified: head/share/man/man9/seqc.9 Modified: head/share/man/man9/seqc.9 == --- head/share/man/man9/seqc.9 Fri Aug 7 08:41:14 2020(r364005) +++ head/share/man/man9/seqc.9 Fri Aug 7 08:57:31 2020(r364006) @@ -98,6 +98,7 @@ obj->var2 = 2; seqc_write_end(>seqc); unlock_exclusive(>lock); .Ed +.Pp The following example for a reader reads the .Va var1 and ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r363880 - head/sys/dev/safexcel
Author: lwhsu Date: Wed Aug 5 05:58:25 2020 New Revision: 363880 URL: https://svnweb.freebsd.org/changeset/base/363880 Log: Appease gcc's -Wparentheses (and -Werror) Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/safexcel/safexcel.c Modified: head/sys/dev/safexcel/safexcel.c == --- head/sys/dev/safexcel/safexcel.cWed Aug 5 03:53:57 2020 (r363879) +++ head/sys/dev/safexcel/safexcel.cWed Aug 5 05:58:25 2020 (r363880) @@ -1635,7 +1635,7 @@ safexcel_instr_ccm(struct safexcel_request *req, struc b0 = (uint8_t *)instr; memset(b0, 0, blen); b0[0] = - L - 1 | /* payload length size */ + (L - 1) | /* payload length size */ ((CCM_CBC_MAX_DIGEST_LEN - 2) / 2) << 3 /* digest length */ | (crp->crp_aad_length > 0 ? 1 : 0) << 6 /* AAD present bit */; memcpy([1], req->iv, AES_CCM_IV_LEN); ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r363797 - head/contrib/googletest/googletest/test
Author: lwhsu Date: Mon Aug 3 12:51:14 2020 New Revision: 363797 URL: https://svnweb.freebsd.org/changeset/base/363797 Log: Disable tests failing after r363679 PR: 248452 Sponsored by: The FreeBSD Foundation Modified: head/contrib/googletest/googletest/test/googletest-port-test.cc Modified: head/contrib/googletest/googletest/test/googletest-port-test.cc == --- head/contrib/googletest/googletest/test/googletest-port-test.cc Mon Aug 3 12:48:51 2020(r363796) +++ head/contrib/googletest/googletest/test/googletest-port-test.cc Mon Aug 3 12:51:14 2020(r363797) @@ -403,6 +403,8 @@ typedef testing::Types< TYPED_TEST_CASE(RETest, StringTypes); // Tests RE's implicit constructors. +/* +https://bugs.freebsd.org/248452 TYPED_TEST(RETest, ImplicitConstructorWorks) { const RE empty(TypeParam("")); EXPECT_STREQ("", empty.pattern()); @@ -413,6 +415,7 @@ TYPED_TEST(RETest, ImplicitConstructorWorks) { const RE normal(TypeParam(".*(\\w+)")); EXPECT_STREQ(".*(\\w+)", normal.pattern()); } +*/ // Tests that RE's constructors reject invalid regular expressions. TYPED_TEST(RETest, RejectsInvalidRegex) { @@ -861,6 +864,8 @@ TEST(MatchRegexAnywhereTest, ReturnsTrueWhenMatchingNo } // Tests RE's implicit constructors. +/* +https://bugs.freebsd.org/248452 TEST(RETest, ImplicitConstructorWorks) { const RE empty(""); EXPECT_STREQ("", empty.pattern()); @@ -868,6 +873,7 @@ TEST(RETest, ImplicitConstructorWorks) { const RE simple("hello"); EXPECT_STREQ("hello", simple.pattern()); } +*/ // Tests that RE's constructors reject invalid regular expressions. TEST(RETest, RejectsInvalidRegex) { ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r363679 - in head: contrib/netbsd-tests/lib/libc/regex/data lib/libc/regex
On Fri, Jul 31, 2020 at 9:50 AM Kyle Evans wrote: > > On Thu, Jul 30, 2020 at 8:47 PM Kyle Evans wrote: > > > > On Wed, Jul 29, 2020 at 10:53 PM Li-Wen Hsu wrote: > > > > > > On Thu, Jul 30, 2020 at 7:22 AM Kyle Evans wrote: > > > > > > > > Author: kevans > > > > Date: Wed Jul 29 23:21:56 2020 > > > > New Revision: 363679 > > > > URL: https://svnweb.freebsd.org/changeset/base/363679 > > > > > > > > Log: > > > > regex(3): Interpret many escaped ordinary characters as EESCAPE > > > > > > > > In IEEE 1003.1-2008 [1] and earlier revisions, BRE/ERE grammar allows > > > > for > > > > any character to be escaped, but "ORD_CHAR preceded by an unescaped > > > >character [gives undefined results]". > > > > > > > > Historically, we've interpreted an escaped ordinary character as the > > > > ordinary character itself. This becomes problematic when some > > > > extensions > > > > give special meanings to an otherwise ordinary character > > > > (e.g. GNU's \b, \s, \w), meaning we may have two different valid > > > > interpretations of the same sequence. > > > > > > > > To make this easier to deal with and given that the standard calls > > > > this > > > > undefined, we should throw an error (EESCAPE) if we run into this > > > > scenario > > > > to ease transition into a state where some escaped ordinaries are > > > > blessed > > > > with a special meaning -- it will either error out or have extended > > > > behavior, rather than have two entirely different versions of > > > > undefined > > > > behavior that leave the consumer of regex(3) guessing as to what > > > > behavior > > > > will be used or leaving them with false impressions. > > > > > > > > This change bumps the symbol version of regcomp to FBSD_1.6 and > > > > provides the > > > > old escape semantics for legacy applications, just in case one has an > > > > older > > > > application that would immediately turn into a pumpkin because of an > > > > extraneous escape that's embedded or otherwise critical to its > > > > operation. > > > > > > > > This is the final piece needed before enhancing libregex with GNU > > > > extensions > > > > and flipping the switch on bsdgrep. > > > > > > > > [1] http://pubs.opengroup.org/onlinepubs/9699919799.2016edition/ > > > > > > > > PR: 229925 (exp-run, courtesy of antoine) > > > > Differential Revision:https://reviews.freebsd.org/D10510 > > > > > > > > Modified: > > > > head/contrib/netbsd-tests/lib/libc/regex/data/meta.in > > > > head/contrib/netbsd-tests/lib/libc/regex/data/subexp.in > > > > head/lib/libc/regex/Symbol.map > > > > head/lib/libc/regex/regcomp.c > > > > > > I think there are 3 test cases need to be modified after this change: > > > > > > https://ci.freebsd.org/job/FreeBSD-head-amd64-test/16011/testReport/junit/lib.googletest.gtest_main/googletest-port-test/main/ > > > https://ci.freebsd.org/job/FreeBSD-head-amd64-test/16011/testReport/junit/usr.bin.diff/diff_test/side_by_side/ > > > https://ci.freebsd.org/job/FreeBSD-head-amd64-test/16011/testReport/junit/usr.bin.sed/sed2_test/hex_subst/ > > > > > > > CC'ing asomers@ and ngie@, because ISTR they have some googletest stock. > > > > Testing my libregex GNU extensions revealed that I'm really not ready > > to commit that just yet. We have two options here for googletest: > > > > 1. Disable it and create a PR to be fixed when my changes are done, > > hopefully by the end of the week, or > > 2. Fix the expressions in > > contrib/googletest/googletest/test/googletest-port-test.cc to be POSIX > > compliant and upstream that. > > > > #2 is generally a replacement of \w -> [[:alnum:]] and \W -> > > [^[:alnum:]] and maybe \s -> [[:space:]]. > > > > Sorry, to be more precise: disable it meaning expect failure of that > specific test or something similar. I think there's no need to let a known issue generate lots of failure reports for more than 24 hours, I suggest let's go with 1) first. For 2), It's also good that both libregex and googletest can aware the difference between POSIX and GNU extensions, but I am not sure how upstream thinks about this. Still worth trying, though. Best, Li-Wen ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r363679 - in head: contrib/netbsd-tests/lib/libc/regex/data lib/libc/regex
On Thu, Jul 30, 2020 at 7:22 AM Kyle Evans wrote: > > Author: kevans > Date: Wed Jul 29 23:21:56 2020 > New Revision: 363679 > URL: https://svnweb.freebsd.org/changeset/base/363679 > > Log: > regex(3): Interpret many escaped ordinary characters as EESCAPE > > In IEEE 1003.1-2008 [1] and earlier revisions, BRE/ERE grammar allows for > any character to be escaped, but "ORD_CHAR preceded by an unescaped >character [gives undefined results]". > > Historically, we've interpreted an escaped ordinary character as the > ordinary character itself. This becomes problematic when some extensions > give special meanings to an otherwise ordinary character > (e.g. GNU's \b, \s, \w), meaning we may have two different valid > interpretations of the same sequence. > > To make this easier to deal with and given that the standard calls this > undefined, we should throw an error (EESCAPE) if we run into this scenario > to ease transition into a state where some escaped ordinaries are blessed > with a special meaning -- it will either error out or have extended > behavior, rather than have two entirely different versions of undefined > behavior that leave the consumer of regex(3) guessing as to what behavior > will be used or leaving them with false impressions. > > This change bumps the symbol version of regcomp to FBSD_1.6 and provides the > old escape semantics for legacy applications, just in case one has an older > application that would immediately turn into a pumpkin because of an > extraneous escape that's > embehttps://ci.freebsd.org/job/FreeBSD-head-amd64-test/16011/testReport/junit/lib.googletest.gtest_main/googletest-port-test/main/dded > or otherwise critical to its operation. > > This is the final piece needed before enhancing libregex with GNU extensions > and flipping the switch on bsdgrep. > > [1] http://pubs.opengroup.org/onlinepubs/9699919799.2016edition/ > > PR: 229925 (exp-run, courtesy of antoine) > Differential Revision:https://reviews.freebsd.org/D10510 > > Modified: > head/contrib/netbsd-tests/lib/libc/regex/data/meta.in > head/contrib/netbsd-tests/lib/libc/regex/data/subexp.in > head/lib/libc/regex/Symbol.map > head/lib/libc/regex/regcomp.c I think there are 3 test cases need to be modified after this change: https://ci.freebsd.org/job/FreeBSD-head-amd64-test/16011/testReport/junit/lib.googletest.gtest_main/googletest-port-test/main/ https://ci.freebsd.org/job/FreeBSD-head-amd64-test/16011/testReport/junit/usr.bin.diff/diff_test/side_by_side/ https://ci.freebsd.org/job/FreeBSD-head-amd64-test/16011/testReport/junit/usr.bin.sed/sed2_test/hex_subst/ Please help to check them, thanks! Li-Wen ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r363423 - head/tests/sys/geom/class/eli
Author: lwhsu Date: Wed Jul 22 17:37:11 2020 New Revision: 363423 URL: https://svnweb.freebsd.org/changeset/base/363423 Log: Fix sys.geom.class.eli.onetime_test.onetime after r363402 PR: 247954 X-MFC with: r363402 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/geom/class/eli/onetime_test.sh Modified: head/tests/sys/geom/class/eli/onetime_test.sh == --- head/tests/sys/geom/class/eli/onetime_test.sh Wed Jul 22 17:36:28 2020(r363422) +++ head/tests/sys/geom/class/eli/onetime_test.sh Wed Jul 22 17:37:11 2020(r363423) @@ -130,7 +130,7 @@ onetime_d_cleanup() geli_test_cleanup } -atf_test_case onetime cleanup +atf_test_case onetime_null cleanup onetime_null_head() { atf_set "descr" "geli onetime can use the null cipher" ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r363170 - in head: contrib/byacc contrib/byacc/package contrib/byacc/package/debian contrib/byacc/package/pkgsrc contrib/byacc/test contrib/byacc/test/btyacc contrib/byacc/test/yacc us
On Wed, Jul 15, 2020 at 6:14 AM Li-Wen Hsu wrote: > > On Tue, Jul 14, 2020 at 9:54 AM Jung-uk Kim wrote: > > > > Author: jkim > > Date: Tue Jul 14 01:54:24 2020 > > New Revision: 363170 > > URL: https://svnweb.freebsd.org/changeset/base/363170 > > > > Log: > > MFV: r362513 > > > > Update byacc to 20200330. > > Hello Jung-uk, > > There are some things I haven't figured out, but currently there is > one yacc test case in our CI is failing. > > Please check the output of usr.bin.yacc.yacc_tests.main at > https://ci.freebsd.org/job/FreeBSD-head-amd64-test/15843/testReport/junit/usr.bin.yacc/yacc_tests/main/ > > The yacc processed result of /usr/tests/usr.bin/yacc/calc.y is > different than the reference, > /usr/tests/usr.bin/yacc/yacc/calc.tab.c > > And checking the files under contrib/byacc/ , there are > (1) ./test/calc.tab.c > (2) ./test/btyacc/calc.tab.c > (3) ./test/yacc/calc.tab.c > > (3) is what we want, and that was the source of > /usr/tests/usr.bin/yacc/yacc/calc.tab.c before this import. It was > updated in the new byacc release and matches the behavior of new yacc. > However, currently we install (1) as /usr/tests/usr.bin/yacc/calc.y , Sorry, I mean currently we install (1) as /usr/tests/usr.bin/yacc/yacc/calc.tab.c > the content looks generated by a very old yacc > > The thing I still don't know is why the source of calc.tab.c is > changed as there is no related change in usr.bin/yacc/tests/Makefile . > Surprisingly, removing (1) can restore the old behavior of using (3) > as the source. I haven't checked why that file appears in the upstream > distfile but it did not exist in our old version of byacc, 20170201. > > I'm not sure what's the best way to fix this. The fastest way is just > removing contrib/byacc/test/calc.tab.c , and the following task is > checking with upstream for the intention of adding that file. We may > also want to fix the Makefile or .mk files to make the source of > /usr/tests/usr.bin/yacc/yacc/calc.tab.c not affected by the file with > the same name under different directories. > > BTW, there are some entries need to be added to the ObsoleteFiles.inc, like > /usr/tests/usr.bin/yacc/err_inherit1.y which is > > Please help check this test issue of the new yacc. > > Thanks, > Li-Wen ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r363170 - in head: contrib/byacc contrib/byacc/package contrib/byacc/package/debian contrib/byacc/package/pkgsrc contrib/byacc/test contrib/byacc/test/btyacc contrib/byacc/test/yacc us
On Tue, Jul 14, 2020 at 9:54 AM Jung-uk Kim wrote: > > Author: jkim > Date: Tue Jul 14 01:54:24 2020 > New Revision: 363170 > URL: https://svnweb.freebsd.org/changeset/base/363170 > > Log: > MFV: r362513 > > Update byacc to 20200330. Hello Jung-uk, There are some things I haven't figured out, but currently there is one yacc test case in our CI is failing. Please check the output of usr.bin.yacc.yacc_tests.main at https://ci.freebsd.org/job/FreeBSD-head-amd64-test/15843/testReport/junit/usr.bin.yacc/yacc_tests/main/ The yacc processed result of /usr/tests/usr.bin/yacc/calc.y is different than the reference, /usr/tests/usr.bin/yacc/yacc/calc.tab.c And checking the files under contrib/byacc/ , there are (1) ./test/calc.tab.c (2) ./test/btyacc/calc.tab.c (3) ./test/yacc/calc.tab.c (3) is what we want, and that was the source of /usr/tests/usr.bin/yacc/yacc/calc.tab.c before this import. It was updated in the new byacc release and matches the behavior of new yacc. However, currently we install (1) as /usr/tests/usr.bin/yacc/calc.y , the content looks generated by a very old yacc The thing I still don't know is why the source of calc.tab.c is changed as there is no related change in usr.bin/yacc/tests/Makefile . Surprisingly, removing (1) can restore the old behavior of using (3) as the source. I haven't checked why that file appears in the upstream distfile but it did not exist in our old version of byacc, 20170201. I'm not sure what's the best way to fix this. The fastest way is just removing contrib/byacc/test/calc.tab.c , and the following task is checking with upstream for the intention of adding that file. We may also want to fix the Makefile or .mk files to make the source of /usr/tests/usr.bin/yacc/yacc/calc.tab.c not affected by the file with the same name under different directories. BTW, there are some entries need to be added to the ObsoleteFiles.inc, like /usr/tests/usr.bin/yacc/err_inherit1.y which is Please help check this test issue of the new yacc. Thanks, Li-Wen ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r363165 - head/lib/libc/tests/gen
Author: lwhsu Date: Mon Jul 13 18:19:02 2020 New Revision: 363165 URL: https://svnweb.freebsd.org/changeset/base/363165 Log: Revert r351416 to let lib.libc.gen.getmntinfo_test.getmntinfo_test get more test This is supposed to be fixed by r363068 PR: 240049 Sponsored by: The FreeBSD Foundation Modified: head/lib/libc/tests/gen/getmntinfo_test.c Modified: head/lib/libc/tests/gen/getmntinfo_test.c == --- head/lib/libc/tests/gen/getmntinfo_test.c Mon Jul 13 17:51:04 2020 (r363164) +++ head/lib/libc/tests/gen/getmntinfo_test.c Mon Jul 13 18:19:02 2020 (r363165) @@ -57,9 +57,6 @@ ATF_TC_BODY(getmntinfo_test, tc) int nmnts; struct statfs *mntinfo; - if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) - atf_tc_skip("https://bugs.freebsd.org/240049;); - /* Test bogus mode */ nmnts = getmntinfo(, 199); ATF_REQUIRE_MSG(nmnts == 0 && errno == EINVAL, ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r363067 - head/usr.bin/xinstall
On Fri, Jul 10, 2020 at 8:45 AM Eugene Grosbein wrote: > > Author: eugen > Date: Fri Jul 10 00:45:34 2020 > New Revision: 363067 > URL: https://svnweb.freebsd.org/changeset/base/363067 > > Log: > install(1): correction after r363064 > > Make it not break if STRIPBIN points to strip version without -o support. > In that case, perform extra copy just like before r363064. Hi Eugene, I'm not sure if this commit or r363064, there are 7 test cases related to install strip are failing these two changes: https://ci.freebsd.org/job/FreeBSD-head-amd64-test/15801/testReport/ Can you help check if the code or the test need fixing? Thanks, Li-Wen ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362983 - stable/12/share/man/man7
Author: lwhsu Date: Tue Jul 7 06:04:21 2020 New Revision: 362983 URL: https://svnweb.freebsd.org/changeset/base/362983 Log: MFC r362539: Mention CI system information in development(7) Approved by: 0mp, bcr Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D25340 Modified: stable/12/share/man/man7/development.7 Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man7/development.7 == --- stable/12/share/man/man7/development.7 Tue Jul 7 02:43:53 2020 (r362982) +++ stable/12/share/man/man7/development.7 Tue Jul 7 06:04:21 2020 (r362983) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd August 22, 2018 +.Dd June 23, 2020 .Dt DEVELOPMENT 7 .Os .Sh NAME @@ -103,6 +103,14 @@ suggest improvements, and, eventually, allows them to commit it: .Pp .Lk https://reviews.FreeBSD.org/ +.Pp +To check the latest +.Fx +build and test status of CURRENT and STABLE branches, +the continuous integration system is at: +.Pp +.Lk https://ci.FreeBSD.org +.Pp .Sh EXAMPLES Check out the CURRENT branch, build it, and install, overwriting the current system: ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362928 - in stable/12: share/man/man4 sys/dev/rtwn/usb sys/dev/usb
Author: lwhsu Date: Sat Jul 4 09:18:19 2020 New Revision: 362928 URL: https://svnweb.freebsd.org/changeset/base/362928 Log: MFC r362672: rtwn: Add a USB ID for Buffalo WI-U2-433DHP PR: 247573 Submitted by: HATANO Tomomi Modified: stable/12/share/man/man4/rtwn_usb.4 stable/12/sys/dev/rtwn/usb/rtwn_usb_attach.h stable/12/sys/dev/usb/usbdevs Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man4/rtwn_usb.4 == --- stable/12/share/man/man4/rtwn_usb.4 Sat Jul 4 08:36:06 2020 (r362927) +++ stable/12/share/man/man4/rtwn_usb.4 Sat Jul 4 09:18:19 2020 (r362928) @@ -29,7 +29,7 @@ .\" .\" $FreeBSD$ .\"/ -.Dd May 12, 2020 +.Dd June 27, 2020 .Dt RTWN_USB 4 .Os .Sh NAME @@ -67,6 +67,7 @@ based USB wireless network adapters, including: .It "ASUS USB-N10 NANO" Ta RTL8188CUS Ta USB 2.0 .It "Asus USB-N13, rev. B1" Ta RTL8192CU Ta USB 2.0 .It "Belkin F7D1102 Surf Wireless Micro" Ta RTL8188CUS Ta USB 2.0 +.It "Buffalo WI-U2-433DHP" Ta RTL8821AU Ta USB 2.0 .It "Buffalo WI-U2-433DM" Ta RTL8821AU Ta USB 2.0 .It "Buffalo WI-U3-866D" Ta RTL8812AU Ta USB 3.0 .It "D-Link DWA-123 rev D1" Ta RTL8188EU Ta USB 2.0 Modified: stable/12/sys/dev/rtwn/usb/rtwn_usb_attach.h == --- stable/12/sys/dev/rtwn/usb/rtwn_usb_attach.hSat Jul 4 08:36:06 2020(r362927) +++ stable/12/sys/dev/rtwn/usb/rtwn_usb_attach.hSat Jul 4 09:18:19 2020(r362928) @@ -158,6 +158,7 @@ static const STRUCT_USB_HOST_ID rtwn_devs[] = { RTWN_RTL8821AU_DEV(EDIMAX, EW7811UTC_2), RTWN_RTL8821AU_DEV(HAWKING, HD65U), RTWN_RTL8821AU_DEV(MELCO, WIU2433DM), + RTWN_RTL8821AU_DEV(MELCO, WIU2433DHP), RTWN_RTL8821AU_DEV(NETGEAR, A6100), RTWN_RTL8821AU_DEV(REALTEK, RTL8821AU_1), RTWN_RTL8821AU_DEV(REALTEK, RTL8821AU_2), Modified: stable/12/sys/dev/usb/usbdevs == --- stable/12/sys/dev/usb/usbdevs Sat Jul 4 08:36:06 2020 (r362927) +++ stable/12/sys/dev/usb/usbdevs Sat Jul 4 09:18:19 2020 (r362928) @@ -3190,6 +3190,7 @@ product MELCO WLIUCG300HPV1 0x01a8 WLI-UC-G300HP-V1 product MELCO WLIUCGNM20x01ee WLI-UC-GNM2 product MELCO WIU2433DM0x0242 WI-U2-433DM product MELCO WIU3866D 0x025d WI-U3-866D +product MELCO WIU2433DHP 0x029b WI-U2-433DHP /* Merlin products */ product MERLIN V620 0x1110 Merlin V620 ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362904 - head/tests/sys/netinet6
Author: lwhsu Date: Fri Jul 3 02:02:34 2020 New Revision: 362904 URL: https://svnweb.freebsd.org/changeset/base/362904 Log: Temporarily skip sys.netinet6.redirect.valid_redirect in CI PR: 247729 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/netinet6/redirect.sh Modified: head/tests/sys/netinet6/redirect.sh == --- head/tests/sys/netinet6/redirect.sh Fri Jul 3 01:19:29 2020 (r362903) +++ head/tests/sys/netinet6/redirect.sh Fri Jul 3 02:02:34 2020 (r362904) @@ -40,6 +40,10 @@ valid_redirect_head() { valid_redirect_body() { + if [ "$(atf_config_get ci false)" = "true" ]; then + atf_skip "https://bugs.freebsd.org/247729; + fi + ids=65533 id=`printf "%x" ${ids}` if [ $$ -gt 65535 ]; then ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r362900 - in head/sys: net netinet netinet6 netpfil/ipfw netpfil/ipfw/nat64
On Fri, Jul 3, 2020 at 5:04 AM Alexander V. Chernikov wrote: > > Author: melifaro > Date: Thu Jul 2 21:04:08 2020 > New Revision: 362900 > URL: https://svnweb.freebsd.org/changeset/base/362900 > > Log: > Complete conversions from fib<4|6>_lookup_nh_ to > fib<4|6>_lookup(). > > fib[46]_lookup_nh_ represents pre-epoch generation of fib api, providing > less guarantees >over pointer validness and requiring on-stack data copying. > > With no callers remaining, remove fib[46]_lookup_nh_ functions. > > Submitted by: Neel Chauhan > Differential Revision:https://reviews.freebsd.org/D25445 > > Modified: > head/sys/net/if_stf.c > head/sys/netinet/if_ether.c > head/sys/netinet/in_fib.c > head/sys/netinet/in_fib.h > head/sys/netinet/in_mcast.c > head/sys/netinet/ip_options.c > head/sys/netinet6/icmp6.c > head/sys/netinet6/in6.c > head/sys/netinet6/in6_fib.c > head/sys/netinet6/in6_fib.h > head/sys/netinet6/in6_mcast.c > head/sys/netinet6/in6_src.c > head/sys/netpfil/ipfw/ip_fw2.c > head/sys/netpfil/ipfw/ip_fw_table_algo.c > head/sys/netpfil/ipfw/nat64/nat64_translate.c Hi, sys.netinet6.redirect.valid_redirect is failing after this change: https://ci.freebsd.org/job/FreeBSD-head-amd64-test/15739/testReport/junit/sys.netinet6/redirect/valid_redirect/ https://ci.freebsd.org/job/FreeBSD-head-i386-test/9849/testReport/junit/sys.netinet6/redirect/valid_redirect/ Can you help check if the code or test needs fixing? Thanks, Li-Wen ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r362767 - in stable/12/usr.bin/mkimg: . tests
On Mon, Jun 29, 2020 at 2:21 PM Oleksandr Tymoshenko wrote: > > Li-Wen Hsu (lw...@freebsd.org) wrote: > > On Mon, Jun 29, 2020 at 8:36 AM Oleksandr Tymoshenko > > wrote: > > > > > > Author: gonzo > > > Date: Mon Jun 29 00:34:11 2020 > > > New Revision: 362767 > > > URL: https://svnweb.freebsd.org/changeset/base/362767 > > > > > > Log: > > > MFC r361935: > > > > > > Add VHDX support to mkimg(1) > > > > > > VHDX is the successor of Microsoft's VHD file format. It increases > > > maximum capacity of the virtual drive to 64TB and introduces features > > > to better handle power/system failures. > > > > > > VHDX is the required format for 2nd generation Hyper-V VMs. > > > > > > Reviewed by: marcel > > > Differential Revision:https://reviews.freebsd.org/D25184 > > > > Some mkimg(1) tests are failing after this merge: > > > > https://ci.freebsd.org/job/FreeBSD-stable-12-amd64-test/2484/ > > https://ci.freebsd.org/job/FreeBSD-stable-12-i386-test/2466/ > > > > Can you check if there are something related to tests also need merging? > > Ooops, sorry for the breakage. Should be fixed in 362772. The problem > was different format for the reference images. I'll wait to check if > the commit fixes the test suite on stable/12 for sure and commit fix > for stable/11 then. Thank you for the quick analysis and fix. Perhaps mering the codes to process the new format of the reference images can easy the process of future update and MFH? Best, Li-Wen ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r362767 - in stable/12/usr.bin/mkimg: . tests
On Mon, Jun 29, 2020 at 8:36 AM Oleksandr Tymoshenko wrote: > > Author: gonzo > Date: Mon Jun 29 00:34:11 2020 > New Revision: 362767 > URL: https://svnweb.freebsd.org/changeset/base/362767 > > Log: > MFC r361935: > > Add VHDX support to mkimg(1) > > VHDX is the successor of Microsoft's VHD file format. It increases > maximum capacity of the virtual drive to 64TB and introduces features > to better handle power/system failures. > > VHDX is the required format for 2nd generation Hyper-V VMs. > > Reviewed by: marcel > Differential Revision:https://reviews.freebsd.org/D25184 Some mkimg(1) tests are failing after this merge: https://ci.freebsd.org/job/FreeBSD-stable-12-amd64-test/2484/ https://ci.freebsd.org/job/FreeBSD-stable-12-i386-test/2466/ Can you check if there are something related to tests also need merging? Thanks! Li-Wen ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r362687 - in stable/12/usr.bin/sed: . tests
On Sat, Jun 27, 2020 at 10:27 PM Mateusz Piotrowski <0...@freebsd.org> wrote: > > Author: 0mp (doc,ports committer) > Date: Sat Jun 27 14:27:37 2020 > New Revision: 362687 > URL: https://svnweb.freebsd.org/changeset/base/362687 > > Log: > MFC 362017, 362039, 362071: > > Read commands from stdin when -f - is passed to sed(1) > > This patch teaches sed to interpret a "-" in a special way when given > as an argument to the -f flag. > > This behavior is also present in GNU sed. > > PR: 244872 > Tested by:antoine (exp-run) > Reviewed by: pfg, tobik (older version) > Approved by: pfg (src) > Relnotes: yes > Differential Revision:https://reviews.freebsd.org/D24079 > > Remove duplicate lines from sed tests > > Reported by: yuripv > Approved by: pfg (src) > > Remove some more duplicate test cases I accidentally committed > > Reported by: markj, yuripv Hi, I think this MFC and for 11's might have some issues. The test cases under usr.bin.sed.sed2_test cannot be listed thus cannot be executed: https://ci.freebsd.org/job/FreeBSD-stable-12-i386-test/2458/testReport/junit/usr.bin.sed/sed2_test/ https://ci.freebsd.org/job/FreeBSD-stable-11-amd64-test/5150/testReport/junit/usr.bin.sed/sed2_test/ This is how they should look like: https://ci.freebsd.org/job/FreeBSD-head-amd64-test/15686/testReport/usr.bin.sed/sed2_test/ You can try with `cd /usr/tests/usr.bin/sed && kyua list sed2_test`. Please check if the merged sed2_test.sh needs adjusting. Thanks, Li-Wen ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362672 - in head: share/man/man4 sys/dev/rtwn/usb sys/dev/usb
Author: lwhsu Date: Sat Jun 27 07:34:15 2020 New Revision: 362672 URL: https://svnweb.freebsd.org/changeset/base/362672 Log: rtwn: Add a USB ID for Buffalo WI-U2-433DHP PR: 247573 Submitted by: HATANO Tomomi MFC after:1 week Modified: head/share/man/man4/rtwn_usb.4 head/sys/dev/rtwn/usb/rtwn_usb_attach.h head/sys/dev/usb/usbdevs Modified: head/share/man/man4/rtwn_usb.4 == --- head/share/man/man4/rtwn_usb.4 Sat Jun 27 02:59:51 2020 (r362671) +++ head/share/man/man4/rtwn_usb.4 Sat Jun 27 07:34:15 2020 (r362672) @@ -29,7 +29,7 @@ .\" .\" $FreeBSD$ .\"/ -.Dd May 12, 2020 +.Dd June 27, 2020 .Dt RTWN_USB 4 .Os .Sh NAME @@ -67,6 +67,7 @@ based USB wireless network adapters, including: .It "ASUS USB-N10 NANO" Ta RTL8188CUS Ta USB 2.0 .It "Asus USB-N13, rev. B1" Ta RTL8192CU Ta USB 2.0 .It "Belkin F7D1102 Surf Wireless Micro" Ta RTL8188CUS Ta USB 2.0 +.It "Buffalo WI-U2-433DHP" Ta RTL8821AU Ta USB 2.0 .It "Buffalo WI-U2-433DM" Ta RTL8821AU Ta USB 2.0 .It "Buffalo WI-U3-866D" Ta RTL8812AU Ta USB 3.0 .It "D-Link DWA-123 rev D1" Ta RTL8188EU Ta USB 2.0 Modified: head/sys/dev/rtwn/usb/rtwn_usb_attach.h == --- head/sys/dev/rtwn/usb/rtwn_usb_attach.h Sat Jun 27 02:59:51 2020 (r362671) +++ head/sys/dev/rtwn/usb/rtwn_usb_attach.h Sat Jun 27 07:34:15 2020 (r362672) @@ -159,6 +159,7 @@ static const STRUCT_USB_HOST_ID rtwn_devs[] = { RTWN_RTL8821AU_DEV(ELECOM, WDB433SU2M2), RTWN_RTL8821AU_DEV(HAWKING, HD65U), RTWN_RTL8821AU_DEV(MELCO, WIU2433DM), + RTWN_RTL8821AU_DEV(MELCO, WIU2433DHP), RTWN_RTL8821AU_DEV(NETGEAR, A6100), RTWN_RTL8821AU_DEV(REALTEK, RTL8821AU_1), RTWN_RTL8821AU_DEV(REALTEK, RTL8821AU_2), Modified: head/sys/dev/usb/usbdevs == --- head/sys/dev/usb/usbdevsSat Jun 27 02:59:51 2020(r362671) +++ head/sys/dev/usb/usbdevsSat Jun 27 07:34:15 2020(r362672) @@ -3190,6 +3190,7 @@ product MELCO WLIUCG300HPV1 0x01a8 WLI-UC-G300HP-V1 product MELCO WLIUCGNM20x01ee WLI-UC-GNM2 product MELCO WIU2433DM0x0242 WI-U2-433DM product MELCO WIU3866D 0x025d WI-U3-866D +product MELCO WIU2433DHP 0x029b WI-U2-433DHP /* Merlin products */ product MERLIN V620 0x1110 Merlin V620 ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362658 - stable/11/contrib/netbsd-tests/kernel
Author: lwhsu Date: Fri Jun 26 18:01:57 2020 New Revision: 362658 URL: https://svnweb.freebsd.org/changeset/base/362658 Log: MFC r362656: Temporarily skip flakey sys.kern.sysv_test.msg in CI PR: 233649 Modified: stable/11/contrib/netbsd-tests/kernel/t_sysv.c Directory Properties: stable/11/ (props changed) Modified: stable/11/contrib/netbsd-tests/kernel/t_sysv.c == --- stable/11/contrib/netbsd-tests/kernel/t_sysv.c Fri Jun 26 18:01:35 2020(r362657) +++ stable/11/contrib/netbsd-tests/kernel/t_sysv.c Fri Jun 26 18:01:57 2020(r362658) @@ -212,6 +212,9 @@ ATF_TC_BODY(msg, tc) int loop; int c_status; + if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) + atf_tc_skip("https://bugs.freebsd.org/233649;); + /* * Install a SIGSYS handler so that we can exit gracefully if * System V Message Queue support isn't in the kernel. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362657 - stable/12/contrib/netbsd-tests/kernel
Author: lwhsu Date: Fri Jun 26 18:01:35 2020 New Revision: 362657 URL: https://svnweb.freebsd.org/changeset/base/362657 Log: MFC r362656: Temporarily skip flakey sys.kern.sysv_test.msg in CI PR: 233649 Modified: stable/12/contrib/netbsd-tests/kernel/t_sysv.c Directory Properties: stable/12/ (props changed) Modified: stable/12/contrib/netbsd-tests/kernel/t_sysv.c == --- stable/12/contrib/netbsd-tests/kernel/t_sysv.c Fri Jun 26 17:58:10 2020(r362656) +++ stable/12/contrib/netbsd-tests/kernel/t_sysv.c Fri Jun 26 18:01:35 2020(r362657) @@ -210,6 +210,9 @@ ATF_TC_BODY(msg, tc) int loop; int c_status; + if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) + atf_tc_skip("https://bugs.freebsd.org/233649;); + /* * Install a SIGSYS handler so that we can exit gracefully if * System V Message Queue support isn't in the kernel. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362656 - head/contrib/netbsd-tests/kernel
Author: lwhsu Date: Fri Jun 26 17:58:10 2020 New Revision: 362656 URL: https://svnweb.freebsd.org/changeset/base/362656 Log: Temporarily skip flakey sys.kern.sysv_test.msg in CI PR: 233649 Modified: head/contrib/netbsd-tests/kernel/t_sysv.c Modified: head/contrib/netbsd-tests/kernel/t_sysv.c == --- head/contrib/netbsd-tests/kernel/t_sysv.c Fri Jun 26 17:35:09 2020 (r362655) +++ head/contrib/netbsd-tests/kernel/t_sysv.c Fri Jun 26 17:58:10 2020 (r362656) @@ -210,6 +210,9 @@ ATF_TC_BODY(msg, tc) int loop; int c_status; + if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) + atf_tc_skip("https://bugs.freebsd.org/233649;); + /* * Install a SIGSYS handler so that we can exit gracefully if * System V Message Queue support isn't in the kernel. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362655 - stable/12/bin/sh/tests
Author: lwhsu Date: Fri Jun 26 17:35:09 2020 New Revision: 362655 URL: https://svnweb.freebsd.org/changeset/base/362655 Log: MFC r362646: Temporarily skip flakey bin.sh.execution.functional_test.bg12 in CI PR: 247559 Sponsored by: The FreeBSD Foundation Modified: stable/12/bin/sh/tests/functional_test.sh Directory Properties: stable/12/ (props changed) Modified: stable/12/bin/sh/tests/functional_test.sh == --- stable/12/bin/sh/tests/functional_test.sh Fri Jun 26 16:20:34 2020 (r362654) +++ stable/12/bin/sh/tests/functional_test.sh Fri Jun 26 17:35:09 2020 (r362655) @@ -27,6 +27,7 @@ # $FreeBSD$ SRCDIR=$(atf_get_srcdir) +CATEGORY=$(basename ${SRCDIR}) check() { @@ -60,7 +61,20 @@ add_testcase() esac atf_test_case ${tc_escaped} - eval "${tc_escaped}_body() { check ${tc}; }" + + if [ "$(atf_config_get ci false)" = "true" ]; then + case "${CATEGORY}/${tc}" in + execution/bg12.0) + eval "${tc_escaped}_body() { atf_skip 'https://bugs.freebsd.org/247559'; }" + ;; + *) + eval "${tc_escaped}_body() { check ${tc}; }" + ;; + esac + else + eval "${tc_escaped}_body() { check ${tc}; }" + fi + atf_add_test_case ${tc_escaped} } ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r362646 - head/bin/sh/tests
On Fri, Jun 26, 2020 at 5:39 PM Li-Wen Hsu wrote: > > Author: lwhsu > Date: Fri Jun 26 09:39:23 2020 > New Revision: 362646 > URL: https://svnweb.freebsd.org/changeset/base/362646 > > Log: > Temporarily skip flakey bin.sh.execution.functional_test.bg12 in CI > > PR: 238870 The correct PR should be https://bugs.freebsd.org/247559 ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362646 - head/bin/sh/tests
Author: lwhsu Date: Fri Jun 26 09:39:23 2020 New Revision: 362646 URL: https://svnweb.freebsd.org/changeset/base/362646 Log: Temporarily skip flakey bin.sh.execution.functional_test.bg12 in CI PR: 238870 Sponsored by: The FreeBSD Foundation Modified: head/bin/sh/tests/functional_test.sh Modified: head/bin/sh/tests/functional_test.sh == --- head/bin/sh/tests/functional_test.shFri Jun 26 09:32:57 2020 (r362645) +++ head/bin/sh/tests/functional_test.shFri Jun 26 09:39:23 2020 (r362646) @@ -27,6 +27,7 @@ # $FreeBSD$ SRCDIR=$(atf_get_srcdir) +CATEGORY=$(basename ${SRCDIR}) check() { @@ -60,7 +61,20 @@ add_testcase() esac atf_test_case ${tc_escaped} - eval "${tc_escaped}_body() { check ${tc}; }" + + if [ "$(atf_config_get ci false)" = "true" ]; then + case "${CATEGORY}/${tc}" in + execution/bg12.0) + eval "${tc_escaped}_body() { atf_skip 'https://bugs.freebsd.org/247559'; }" + ;; + *) + eval "${tc_escaped}_body() { check ${tc}; }" + ;; + esac + else + eval "${tc_escaped}_body() { check ${tc}; }" + fi + atf_add_test_case ${tc_escaped} } ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362610 - head/share/man/man7
Author: lwhsu Date: Thu Jun 25 11:41:28 2020 New Revision: 362610 URL: https://svnweb.freebsd.org/changeset/base/362610 Log: Update tests(7) as kyua(1) was imported to base in r359260 PR: 247151 Reported by: 0mp Reviewed by: 0mp, asomers, bcr, emaste, markj Suggested from: brooks, ngie Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D25339 Modified: head/share/man/man7/tests.7 Modified: head/share/man/man7/tests.7 == --- head/share/man/man7/tests.7 Thu Jun 25 08:15:10 2020(r362609) +++ head/share/man/man7/tests.7 Thu Jun 25 11:41:28 2020(r362610) @@ -26,7 +26,7 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd June 2, 2019 +.Dd June 25, 2020 .Dt TESTS 7 .Os .Sh NAME @@ -61,10 +61,6 @@ some of its optional features. For information on writing the tests, see .Xr atf 7 . .Ss Installing the test suite -The test suite is installed by default as of -.Fx -11.0-RELEASE. -.Pp If the .Pa /usr/tests directory is missing, then you will have to enable the build of the test @@ -102,11 +98,7 @@ third-party packages or manual modifications to config introduce unexpected failures. .El .Ss Running the tests -First, you will need to install the -.Sq devel/kyua -package from -.Xr ports 7 . -Then use the following command to run the whole test suite: +Use the following command to run the whole test suite: .Bd -literal -offset indent $ kyua test -k /usr/tests/Kyuafile .Ed @@ -158,7 +150,7 @@ skipped. .Pp Test suites are configured by defining their configuration variables in -.Pa /usr/local/etc/kyua/kyua.conf . +.Pa /etc/kyua/kyua.conf . The format of this file is detailed in .Xr kyua.conf 5 . .Pp @@ -205,8 +197,8 @@ For more details please refer to: .Lk https://www.freebsd.org/support.html "Problem Reporting" .El .Sh FILES -.Bl -tag -compact -width usrXlocalXetcXkyuaXkyuaXconfXX -.It Pa /usr/local/etc/kyua/kyua.conf +.Bl -tag -compact -width "/etc/kyua/kyua.conf" +.It Pa /etc/kyua/kyua.conf System-wide configuration file for .Xr kyua 1 . .It Pa ~/.kyua/kyua.conf @@ -230,7 +222,9 @@ Top-level test suite definition file. The .Fx Test Suite first appeared in -.Fx 10.1 . +.Fx 10.1 +and was installed by default in +.Fx 11.0 . .Pp The .Nm @@ -238,5 +232,12 @@ manual page first appeared in .Nx 6.0 and was later ported to .Fx 10.1 . +.Pp +The test driver, +.Xr kyua 1 , +was imported as part of the base system in +.Fx 13.0 , +previously being available only in +.Xr ports 7 . .Sh AUTHORS .An Julio Merino Aq Mt j...@freebsd.org ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362573 - head/tests/sys/geom/class/gate
Author: lwhsu Date: Wed Jun 24 07:25:54 2020 New Revision: 362573 URL: https://svnweb.freebsd.org/changeset/base/362573 Log: Temporarily skip unstable sys.geom.class.gate.ggate_test.ggated on i386 in CI PR: 244737 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/geom/class/gate/ggate_test.sh Modified: head/tests/sys/geom/class/gate/ggate_test.sh == --- head/tests/sys/geom/class/gate/ggate_test.shWed Jun 24 06:35:50 2020(r362572) +++ head/tests/sys/geom/class/gate/ggate_test.shWed Jun 24 07:25:54 2020(r362573) @@ -16,6 +16,11 @@ ggated_head() ggated_body() { + if [ "$(atf_config_get ci false)" = "true" ] && \ + [ "$(uname -p)" = "i386" ]; then + atf_skip "https://bugs.freebsd.org/244737; + fi + load_ggate us=$(alloc_ggate_dev) ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362551 - in head/usr.sbin: fstyp/tests makefs/tests
Author: lwhsu Date: Tue Jun 23 19:14:38 2020 New Revision: 362551 URL: https://svnweb.freebsd.org/changeset/base/362551 Log: Revert r362390, those tests are fixed by r362418 PR: 247425 Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/fstyp/tests/fstyp_test.sh head/usr.sbin/makefs/tests/makefs_ffs_tests.sh Modified: head/usr.sbin/fstyp/tests/fstyp_test.sh == --- head/usr.sbin/fstyp/tests/fstyp_test.sh Tue Jun 23 18:35:00 2020 (r362550) +++ head/usr.sbin/fstyp/tests/fstyp_test.sh Tue Jun 23 19:14:38 2020 (r362551) @@ -197,9 +197,6 @@ ufs1_head() { atf_set "descr" "fstyp(8) should detect UFS version 1 filesystems" } ufs1_body() { - if [ "$(atf_config_get ci false)" = "true" ]; then - atf_skip "https://bugs.freebsd.org/247425; - fi atf_check -s exit:0 mkdir dir atf_check -s exit:0 -o ignore makefs -Z -s 64m ufs.img dir atf_check -s exit:0 -o inline:"ufs\n" fstyp ufs.img @@ -211,9 +208,6 @@ ufs2_head() { atf_set "descr" "fstyp(8) should detect UFS version 2 filesystems" } ufs2_body() { - if [ "$(atf_config_get ci false)" = "true" ]; then - atf_skip "https://bugs.freebsd.org/247425; - fi atf_check -s exit:0 mkdir dir atf_check -s exit:0 -o ignore makefs -o version=2 -Z -s 64m ufs.img dir atf_check -s exit:0 -o inline:"ufs\n" fstyp ufs.img @@ -225,9 +219,6 @@ ufs2_label_head() { atf_set "descr" "fstyp(8) can read the label on a UFS v2 filesystem" } ufs2_label_body() { - if [ "$(atf_config_get ci false)" = "true" ]; then - atf_skip "https://bugs.freebsd.org/247425; - fi atf_check -s exit:0 mkdir dir atf_check -s exit:0 -o ignore makefs -o version=2,label="foo" -Z -s 64m ufs.img dir atf_check -s exit:0 -o inline:"ufs foo\n" fstyp -l ufs.img Modified: head/usr.sbin/makefs/tests/makefs_ffs_tests.sh == --- head/usr.sbin/makefs/tests/makefs_ffs_tests.sh Tue Jun 23 18:35:00 2020(r362550) +++ head/usr.sbin/makefs/tests/makefs_ffs_tests.sh Tue Jun 23 19:14:38 2020(r362551) @@ -106,10 +106,6 @@ D_flag_cleanup() atf_test_case F_flag cleanup F_flag_body() { - if [ "$(atf_config_get ci false)" = "true" ]; then - atf_skip "https://bugs.freebsd.org/247425; - fi - create_test_inputs atf_check -e empty -o save:$TEST_SPEC_FILE -s exit:0 \ @@ -129,10 +125,6 @@ F_flag_cleanup() atf_test_case from_mtree_spec_file cleanup from_mtree_spec_file_body() { - if [ "$(atf_config_get ci false)" = "true" ]; then - atf_skip "https://bugs.freebsd.org/247425; - fi - create_test_inputs atf_check -e empty -o save:$TEST_SPEC_FILE -s exit:0 \ @@ -154,10 +146,6 @@ from_mtree_spec_file_cleanup() atf_test_case from_multiple_dirs cleanup from_multiple_dirs_body() { - if [ "$(atf_config_get ci false)" = "true" ]; then - atf_skip "https://bugs.freebsd.org/247425; - fi - test_inputs_dir2=$TMPDIR/inputs2 create_test_inputs @@ -180,10 +168,6 @@ from_multiple_dirs_cleanup() atf_test_case from_single_dir cleanup from_single_dir_body() { - if [ "$(atf_config_get ci false)" = "true" ]; then - atf_skip "https://bugs.freebsd.org/247425; - fi - create_test_inputs atf_check -e empty -o not-empty -s exit:0 \ @@ -200,10 +184,6 @@ from_single_dir_cleanup() atf_test_case o_flag_version_1 cleanup o_flag_version_1_body() { - if [ "$(atf_config_get ci false)" = "true" ]; then - atf_skip "https://bugs.freebsd.org/247425; - fi - ffs_version=1 platform=$(uname) @@ -236,10 +216,6 @@ o_flag_version_1_cleanup() atf_test_case o_flag_version_2 cleanup o_flag_version_2_body() { - if [ "$(atf_config_get ci false)" = "true" ]; then - atf_skip "https://bugs.freebsd.org/247425; - fi - ffs_version=2 platform=$(uname) ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362539 - head/share/man/man7
Author: lwhsu Date: Tue Jun 23 11:40:11 2020 New Revision: 362539 URL: https://svnweb.freebsd.org/changeset/base/362539 Log: Mention CI system information in development(7) Approved by: 0mp, bcr MFC after:2 weeks Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D25340 Modified: head/share/man/man7/development.7 Modified: head/share/man/man7/development.7 == --- head/share/man/man7/development.7 Tue Jun 23 10:56:15 2020 (r362538) +++ head/share/man/man7/development.7 Tue Jun 23 11:40:11 2020 (r362539) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 16, 2019 +.Dd June 23, 2020 .Dt DEVELOPMENT 7 .Os .Sh NAME @@ -103,6 +103,14 @@ suggest improvements, and, eventually, allows them to commit it: .Pp .Lk https://reviews.FreeBSD.org +.Pp +To check the latest +.Fx +build and test status of CURRENT and STABLE branches, +the continuous integration system is at: +.Pp +.Lk https://ci.FreeBSD.org +.Pp .Sh EXAMPLES Check out the CURRENT branch, build it, and install, overwriting the current system: ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362390 - in head/usr.sbin: fstyp/tests makefs/tests
Author: lwhsu Date: Fri Jun 19 17:32:30 2020 New Revision: 362390 URL: https://svnweb.freebsd.org/changeset/base/362390 Log: Skip ufs related tests in fstyp(8) and makefs(8) temporarily They are failing after r362358 and r362359. PR: 247425 Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/fstyp/tests/fstyp_test.sh head/usr.sbin/makefs/tests/makefs_ffs_tests.sh Modified: head/usr.sbin/fstyp/tests/fstyp_test.sh == --- head/usr.sbin/fstyp/tests/fstyp_test.sh Fri Jun 19 17:25:54 2020 (r362389) +++ head/usr.sbin/fstyp/tests/fstyp_test.sh Fri Jun 19 17:32:30 2020 (r362390) @@ -197,6 +197,9 @@ ufs1_head() { atf_set "descr" "fstyp(8) should detect UFS version 1 filesystems" } ufs1_body() { + if [ "$(atf_config_get ci false)" = "true" ]; then + atf_skip "https://bugs.freebsd.org/247425; + fi atf_check -s exit:0 mkdir dir atf_check -s exit:0 -o ignore makefs -Z -s 64m ufs.img dir atf_check -s exit:0 -o inline:"ufs\n" fstyp ufs.img @@ -208,6 +211,9 @@ ufs2_head() { atf_set "descr" "fstyp(8) should detect UFS version 2 filesystems" } ufs2_body() { + if [ "$(atf_config_get ci false)" = "true" ]; then + atf_skip "https://bugs.freebsd.org/247425; + fi atf_check -s exit:0 mkdir dir atf_check -s exit:0 -o ignore makefs -o version=2 -Z -s 64m ufs.img dir atf_check -s exit:0 -o inline:"ufs\n" fstyp ufs.img @@ -219,6 +225,9 @@ ufs2_label_head() { atf_set "descr" "fstyp(8) can read the label on a UFS v2 filesystem" } ufs2_label_body() { + if [ "$(atf_config_get ci false)" = "true" ]; then + atf_skip "https://bugs.freebsd.org/247425; + fi atf_check -s exit:0 mkdir dir atf_check -s exit:0 -o ignore makefs -o version=2,label="foo" -Z -s 64m ufs.img dir atf_check -s exit:0 -o inline:"ufs foo\n" fstyp -l ufs.img Modified: head/usr.sbin/makefs/tests/makefs_ffs_tests.sh == --- head/usr.sbin/makefs/tests/makefs_ffs_tests.sh Fri Jun 19 17:25:54 2020(r362389) +++ head/usr.sbin/makefs/tests/makefs_ffs_tests.sh Fri Jun 19 17:32:30 2020(r362390) @@ -106,6 +106,10 @@ D_flag_cleanup() atf_test_case F_flag cleanup F_flag_body() { + if [ "$(atf_config_get ci false)" = "true" ]; then + atf_skip "https://bugs.freebsd.org/247425; + fi + create_test_inputs atf_check -e empty -o save:$TEST_SPEC_FILE -s exit:0 \ @@ -125,6 +129,10 @@ F_flag_cleanup() atf_test_case from_mtree_spec_file cleanup from_mtree_spec_file_body() { + if [ "$(atf_config_get ci false)" = "true" ]; then + atf_skip "https://bugs.freebsd.org/247425; + fi + create_test_inputs atf_check -e empty -o save:$TEST_SPEC_FILE -s exit:0 \ @@ -146,6 +154,10 @@ from_mtree_spec_file_cleanup() atf_test_case from_multiple_dirs cleanup from_multiple_dirs_body() { + if [ "$(atf_config_get ci false)" = "true" ]; then + atf_skip "https://bugs.freebsd.org/247425; + fi + test_inputs_dir2=$TMPDIR/inputs2 create_test_inputs @@ -168,6 +180,10 @@ from_multiple_dirs_cleanup() atf_test_case from_single_dir cleanup from_single_dir_body() { + if [ "$(atf_config_get ci false)" = "true" ]; then + atf_skip "https://bugs.freebsd.org/247425; + fi + create_test_inputs atf_check -e empty -o not-empty -s exit:0 \ @@ -184,6 +200,10 @@ from_single_dir_cleanup() atf_test_case o_flag_version_1 cleanup o_flag_version_1_body() { + if [ "$(atf_config_get ci false)" = "true" ]; then + atf_skip "https://bugs.freebsd.org/247425; + fi + ffs_version=1 platform=$(uname) @@ -216,6 +236,10 @@ o_flag_version_1_cleanup() atf_test_case o_flag_version_2 cleanup o_flag_version_2_body() { + if [ "$(atf_config_get ci false)" = "true" ]; then + atf_skip "https://bugs.freebsd.org/247425; + fi + ffs_version=2 platform=$(uname) ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r362361 - in head/sys: compat/linuxkpi/common/src vm
On Fri, Jun 19, 2020 at 11:32 AM Mark Johnston wrote: > > Author: markj > Date: Fri Jun 19 03:32:04 2020 > New Revision: 362361 > URL: https://svnweb.freebsd.org/changeset/base/362361 > > Log: > Add a helper function for validating VA ranges. > > Functions which take untrusted user ranges must validate against the > bounds of the map, and also check for wraparound. Instead of having the > same logic duplicated in a number of places, add a function to check. > > Reviewed by: dougm, kib > Sponsored by: The FreeBSD Foundation > MFC after:1 week > Differential Revision:https://reviews.freebsd.org/D25328 I'm not sure if it's this one, or 3623630, the following i386 tests all panicked: https://ci.freebsd.org/job/FreeBSD-head-i386-test/9681/console 00:11:31.669 lib/libc/net/protoent_test:protoent -> panic: __rw_wlock_hard: recursing but non-recursive rw vm object @ /usr/src/sys/vm/vm_object.c:869 https://ci.freebsd.org/job/FreeBSD-head-i386-test/9682/console (includes the fix or r362363) 00:27:53.864 bin/pkill/pkill-j_test:main -> Sleeping thread (tid 100115, pid 65628) owns a non-sleepable lock https://ci.freebsd.org/job/FreeBSD-head-i386-test/9683/console 00:02:26.917 bin/pkill/pkill-j_test:main -> Sleeping thread (tid 100152, pid 26582) owns a non-sleepable lock Can you help check these? Thanks, Li-Wen ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r362072 - head/tests/sys/net
Author: lwhsu Date: Thu Jun 11 18:59:57 2020 New Revision: 362072 URL: https://svnweb.freebsd.org/changeset/base/362072 Log: Skip sys.net.if_lagg_test.lacp_linkstate_destroy_stress in CI because of panic PR: 244168 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/net/if_lagg_test.sh Modified: head/tests/sys/net/if_lagg_test.sh == --- head/tests/sys/net/if_lagg_test.sh Thu Jun 11 18:14:34 2020 (r362071) +++ head/tests/sys/net/if_lagg_test.sh Thu Jun 11 18:59:57 2020 (r362072) @@ -193,8 +193,7 @@ lacp_linkstate_destroy_stress_head() } lacp_linkstate_destroy_stress_body() { - if [ "$(atf_config_get ci false)" = "true" ] && \ - [ "$(uname -p)" = "i386" ]; then + if [ "$(atf_config_get ci false)" = "true" ]; then atf_skip "https://bugs.freebsd.org/244168; fi ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r361660 - head/sys/modules/hyperv/hvsock
Author: lwhsu Date: Sun May 31 05:02:15 2020 New Revision: 361660 URL: https://svnweb.freebsd.org/changeset/base/361660 Log: Fix directly building in sys/modules Sponsored by: The FreeBSD Foundation Modified: head/sys/modules/hyperv/hvsock/Makefile Modified: head/sys/modules/hyperv/hvsock/Makefile == --- head/sys/modules/hyperv/hvsock/Makefile Sun May 31 03:44:13 2020 (r361659) +++ head/sys/modules/hyperv/hvsock/Makefile Sun May 31 05:02:15 2020 (r361660) @@ -5,6 +5,7 @@ KMOD= hv_sock SRCS= hv_sock.c SRCS+= hv_sock.h +SRCS+= device_if.h bus_if.h CFLAGS+= -I${SRCTOP}/sys/dev/hyperv/include\ -I${SRCTOP}/sys/dev/hyperv/vmbus \ ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r361623 - head/tests/sys/netipsec/tunnel
Author: lwhsu Date: Fri May 29 10:09:47 2020 New Revision: 361623 URL: https://svnweb.freebsd.org/changeset/base/361623 Log: Revert r361497, these cases are fixed by r361617. PR: 246737 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/netipsec/tunnel/aes_cbc_128_hmac_sha1.sh head/tests/sys/netipsec/tunnel/aes_cbc_256_hmac_sha2_256.sh head/tests/sys/netipsec/tunnel/aesni_aes_cbc_128_hmac_sha1.sh head/tests/sys/netipsec/tunnel/aesni_aes_cbc_256_hmac_sha2_256.sh Modified: head/tests/sys/netipsec/tunnel/aes_cbc_128_hmac_sha1.sh == --- head/tests/sys/netipsec/tunnel/aes_cbc_128_hmac_sha1.sh Fri May 29 08:30:35 2020(r361622) +++ head/tests/sys/netipsec/tunnel/aes_cbc_128_hmac_sha1.sh Fri May 29 10:09:47 2020(r361623) @@ -11,10 +11,6 @@ v4_head() v4_body() { - if [ "$(atf_config_get ci false)" = "true" ]; then - atf_skip "https://bugs.freebsd.org/246737; - fi - # Unload AESNI module if loaded kldstat -q -n aesni && kldunload aesni Modified: head/tests/sys/netipsec/tunnel/aes_cbc_256_hmac_sha2_256.sh == --- head/tests/sys/netipsec/tunnel/aes_cbc_256_hmac_sha2_256.sh Fri May 29 08:30:35 2020(r361622) +++ head/tests/sys/netipsec/tunnel/aes_cbc_256_hmac_sha2_256.sh Fri May 29 10:09:47 2020(r361623) @@ -11,10 +11,6 @@ v4_head() v4_body() { - if [ "$(atf_config_get ci false)" = "true" ]; then - atf_skip "https://bugs.freebsd.org/246737; - fi - # load AESNI module if not already kldstat -q -n aesni || kldload aesni Modified: head/tests/sys/netipsec/tunnel/aesni_aes_cbc_128_hmac_sha1.sh == --- head/tests/sys/netipsec/tunnel/aesni_aes_cbc_128_hmac_sha1.sh Fri May 29 08:30:35 2020(r361622) +++ head/tests/sys/netipsec/tunnel/aesni_aes_cbc_128_hmac_sha1.sh Fri May 29 10:09:47 2020(r361623) @@ -11,10 +11,6 @@ v4_head() v4_body() { - if [ "$(atf_config_get ci false)" = "true" ]; then - atf_skip "https://bugs.freebsd.org/246737; - fi - # load AESNI module if not already kldstat -q -n aesni || kldload aesni Modified: head/tests/sys/netipsec/tunnel/aesni_aes_cbc_256_hmac_sha2_256.sh == --- head/tests/sys/netipsec/tunnel/aesni_aes_cbc_256_hmac_sha2_256.sh Fri May 29 08:30:35 2020(r361622) +++ head/tests/sys/netipsec/tunnel/aesni_aes_cbc_256_hmac_sha2_256.sh Fri May 29 10:09:47 2020(r361623) @@ -11,10 +11,6 @@ v4_head() v4_body() { - if [ "$(atf_config_get ci false)" = "true" ]; then - atf_skip "https://bugs.freebsd.org/246737; - fi - # Unload AESNI module if loaded kldstat -q -n aesni && kldunload aesni ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r361497 - head/tests/sys/netipsec/tunnel
Author: lwhsu Date: Tue May 26 06:55:03 2020 New Revision: 361497 URL: https://svnweb.freebsd.org/changeset/base/361497 Log: Disable failing test cases in CI: sys.netipsec.tunnel.aes_cbc_128_hmac_sha1.v4 sys.netipsec.tunnel.aes_cbc_256_hmac_sha2_256.v4 sys.netipsec.tunnel.aesni_aes_cbc_128_hmac_sha1.v4 sys.netipsec.tunnel.aesni_aes_cbc_256_hmac_sha2_256.v4 PR: 246737 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/netipsec/tunnel/aes_cbc_128_hmac_sha1.sh head/tests/sys/netipsec/tunnel/aes_cbc_256_hmac_sha2_256.sh head/tests/sys/netipsec/tunnel/aesni_aes_cbc_128_hmac_sha1.sh head/tests/sys/netipsec/tunnel/aesni_aes_cbc_256_hmac_sha2_256.sh Modified: head/tests/sys/netipsec/tunnel/aes_cbc_128_hmac_sha1.sh == --- head/tests/sys/netipsec/tunnel/aes_cbc_128_hmac_sha1.sh Tue May 26 05:55:46 2020(r361496) +++ head/tests/sys/netipsec/tunnel/aes_cbc_128_hmac_sha1.sh Tue May 26 06:55:03 2020(r361497) @@ -11,6 +11,10 @@ v4_head() v4_body() { + if [ "$(atf_config_get ci false)" = "true" ]; then + atf_skip "https://bugs.freebsd.org/246737; + fi + # Unload AESNI module if loaded kldstat -q -n aesni && kldunload aesni Modified: head/tests/sys/netipsec/tunnel/aes_cbc_256_hmac_sha2_256.sh == --- head/tests/sys/netipsec/tunnel/aes_cbc_256_hmac_sha2_256.sh Tue May 26 05:55:46 2020(r361496) +++ head/tests/sys/netipsec/tunnel/aes_cbc_256_hmac_sha2_256.sh Tue May 26 06:55:03 2020(r361497) @@ -11,6 +11,10 @@ v4_head() v4_body() { + if [ "$(atf_config_get ci false)" = "true" ]; then + atf_skip "https://bugs.freebsd.org/246737; + fi + # load AESNI module if not already kldstat -q -n aesni || kldload aesni Modified: head/tests/sys/netipsec/tunnel/aesni_aes_cbc_128_hmac_sha1.sh == --- head/tests/sys/netipsec/tunnel/aesni_aes_cbc_128_hmac_sha1.sh Tue May 26 05:55:46 2020(r361496) +++ head/tests/sys/netipsec/tunnel/aesni_aes_cbc_128_hmac_sha1.sh Tue May 26 06:55:03 2020(r361497) @@ -11,6 +11,10 @@ v4_head() v4_body() { + if [ "$(atf_config_get ci false)" = "true" ]; then + atf_skip "https://bugs.freebsd.org/246737; + fi + # load AESNI module if not already kldstat -q -n aesni || kldload aesni Modified: head/tests/sys/netipsec/tunnel/aesni_aes_cbc_256_hmac_sha2_256.sh == --- head/tests/sys/netipsec/tunnel/aesni_aes_cbc_256_hmac_sha2_256.sh Tue May 26 05:55:46 2020(r361496) +++ head/tests/sys/netipsec/tunnel/aesni_aes_cbc_256_hmac_sha2_256.sh Tue May 26 06:55:03 2020(r361497) @@ -11,6 +11,10 @@ v4_head() v4_body() { + if [ "$(atf_config_get ci false)" = "true" ]; then + atf_skip "https://bugs.freebsd.org/246737; + fi + # Unload AESNI module if loaded kldstat -q -n aesni && kldunload aesni ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r361275 - in head/sys: conf dev/hyperv/hvsock dev/hyperv/include dev/hyperv/vmbus modules/hyperv modules/hyperv/hvsock sys
On Thu, May 21, 2020 at 9:50 AM Wei Hu wrote: > I was not familiar to the mechanism of __FreeBSD_version. But it looks > like a good idea. However I am not sure if I have the right to update the > chapter.xml file. Can you help on what I need to do the update this > version number? It's no problem (actually it's required) to update doc/head/en_US.ISO8859-1/books/porters-handbook/versions/chapter.xml after you bump __FreeBSD_version in src/sys/sys/param.h Best, Li-Wen ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r361278 - in head/sys/dev/hyperv: hvsock vmbus
Author: lwhsu Date: Wed May 20 13:51:27 2020 New Revision: 361278 URL: https://svnweb.freebsd.org/changeset/base/361278 Log: Fix i386 build for r361275 kponsored by: The FreeBSD Foundation Modified: head/sys/dev/hyperv/hvsock/hv_sock.c head/sys/dev/hyperv/vmbus/vmbus_br.c Modified: head/sys/dev/hyperv/hvsock/hv_sock.c == --- head/sys/dev/hyperv/hvsock/hv_sock.cWed May 20 11:20:45 2020 (r361277) +++ head/sys/dev/hyperv/hvsock/hv_sock.cWed May 20 13:51:27 2020 (r361278) @@ -792,7 +792,7 @@ hvs_trans_sosend(struct socket *so, struct sockaddr *a int error = 0; HVSOCK_DBG(HVSOCK_DBG_VERBOSE, - "%s: HyperV Socket hvs_trans_sosend called, uio_resid = %lu\n", + "%s: HyperV Socket hvs_trans_sosend called, uio_resid = %zd\n", __func__, uio->uio_resid); if (so->so_type != SOCK_STREAM) @@ -1154,7 +1154,7 @@ hvsock_br_callback(void *datap, int cplen, void *cbarg return (EINVAL); HVSOCK_DBG(HVSOCK_DBG_VERBOSE, - "%s: called, uio_rw = %s, uio_resid = %lu, cplen = %u, " + "%s: called, uio_rw = %s, uio_resid = %zd, cplen = %u, " "datap = %p\n", __func__, (uio->uio_rw == UIO_READ) ? "read from br":"write to br", uio->uio_resid, cplen, datap); @@ -1168,7 +1168,7 @@ hvsock_br_callback(void *datap, int cplen, void *cbarg SOCKBUF_LOCK(sb); HVSOCK_DBG(HVSOCK_DBG_VERBOSE, - "%s: after uiomove, uio_resid = %lu, error = %d\n", + "%s: after uiomove, uio_resid = %zd, error = %d\n", __func__, uio->uio_resid, error); return (error); @@ -1372,8 +1372,9 @@ hvsock_canwrite_check(struct hvs_pcb *pcb) * We must always reserve a 0-length-payload packet for the FIN. */ HVSOCK_DBG(HVSOCK_DBG_VERBOSE, - "%s: writeable is %u, should be greater than %lu\n", - __func__, writeable, HVSOCK_PKT_LEN(1) + HVSOCK_PKT_LEN(0)); + "%s: writeable is %u, should be greater than %ju\n", + __func__, writeable, + (uintmax_t)(HVSOCK_PKT_LEN(1) + HVSOCK_PKT_LEN(0))); if (writeable < HVSOCK_PKT_LEN(1) + HVSOCK_PKT_LEN(0)) { /* Modified: head/sys/dev/hyperv/vmbus/vmbus_br.c == --- head/sys/dev/hyperv/vmbus/vmbus_br.cWed May 20 11:20:45 2020 (r361277) +++ head/sys/dev/hyperv/vmbus/vmbus_br.cWed May 20 13:51:27 2020 (r361278) @@ -66,9 +66,10 @@ vmbus_br_sysctl_state(SYSCTL_HANDLER_ARGS) ravail = br->vbr_dsize - wavail; snprintf(state, sizeof(state), - "intrcnt:%lu rindex:%u windex:%u imask:%u psndsz:%u fvalue:%u " + "intrcnt:%ju rindex:%u windex:%u imask:%u psndsz:%u fvalue:%u " "ravail:%u wavail:%u", - intrcnt, rindex, windex, imask, psndsz, fvalue, ravail, wavail); + (uintmax_t)intrcnt, rindex, windex, imask, psndsz, fvalue, + ravail, wavail); return sysctl_handle_string(oidp, state, sizeof(state), req); } ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r361241 - head/tests/sys/netinet
Author: lwhsu Date: Tue May 19 07:16:09 2020 New Revision: 361241 URL: https://svnweb.freebsd.org/changeset/base/361241 Log: Revert r361237, it's fixed by r361231 PR: 246560 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/netinet/so_reuseport_lb_test.c Modified: head/tests/sys/netinet/so_reuseport_lb_test.c == --- head/tests/sys/netinet/so_reuseport_lb_test.c Tue May 19 03:24:45 2020(r361240) +++ head/tests/sys/netinet/so_reuseport_lb_test.c Tue May 19 07:16:09 2020(r361241) @@ -188,9 +188,6 @@ ATF_TC_BODY(basic_ipv6, tc) int error, sds[16]; uint16_t port; - if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) - atf_tc_skip("https://bugs.freebsd.org/246560;); - sds[0] = lb_listen_socket(PF_INET6, SOCK_NONBLOCK); memset(, 0, sizeof(addr)); ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r361237 - head/tests/sys/netinet
Author: lwhsu Date: Tue May 19 02:07:08 2020 New Revision: 361237 URL: https://svnweb.freebsd.org/changeset/base/361237 Log: Temporarily disable test case causes kernel panic in CI: - sys.netinet.so_reuseport_lb_test.basic_ipv6 PR: 246560 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/netinet/so_reuseport_lb_test.c Modified: head/tests/sys/netinet/so_reuseport_lb_test.c == --- head/tests/sys/netinet/so_reuseport_lb_test.c Tue May 19 01:43:00 2020(r361236) +++ head/tests/sys/netinet/so_reuseport_lb_test.c Tue May 19 02:07:08 2020(r361237) @@ -188,6 +188,9 @@ ATF_TC_BODY(basic_ipv6, tc) int error, sds[16]; uint16_t port; + if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) + atf_tc_skip("https://bugs.freebsd.org/246560;); + sds[0] = lb_listen_socket(PF_INET6, SOCK_NONBLOCK); memset(, 0, sizeof(addr)); ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r361229 - head/tests/sys/geom/class/multipath
Author: lwhsu Date: Mon May 18 23:43:48 2020 New Revision: 361229 URL: https://svnweb.freebsd.org/changeset/base/361229 Log: Revert 357780, `dtrace -c` has been fixed in head` PR: 244053 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/geom/class/multipath/failloop.sh Modified: head/tests/sys/geom/class/multipath/failloop.sh == --- head/tests/sys/geom/class/multipath/failloop.sh Mon May 18 22:53:12 2020(r361228) +++ head/tests/sys/geom/class/multipath/failloop.sh Mon May 18 23:43:48 2020(r361229) @@ -36,10 +36,6 @@ failloop_head() } failloop_body() { - if [ "$(atf_config_get ci false)" = "true" ]; then - atf_skip "https://bugs.freebsd.org/244053; - fi - sysctl -n kern.geom.notaste > kern.geom.notaste.txt load_gnop load_gmultipath ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r361210 - head/contrib/netbsd-tests/lib/libexecinfo
Author: lwhsu Date: Mon May 18 12:36:28 2020 New Revision: 361210 URL: https://svnweb.freebsd.org/changeset/base/361210 Log: Temporarily disable failing case in CI of amd64: - lib.libexecinfo.backtrace_test.backtrace_fmt_basic PR: 246537 Sponsored by: The FreeBSD Foundation Modified: head/contrib/netbsd-tests/lib/libexecinfo/t_backtrace.c Modified: head/contrib/netbsd-tests/lib/libexecinfo/t_backtrace.c == --- head/contrib/netbsd-tests/lib/libexecinfo/t_backtrace.c Mon May 18 10:07:01 2020(r361209) +++ head/contrib/netbsd-tests/lib/libexecinfo/t_backtrace.c Mon May 18 12:36:28 2020(r361210) @@ -151,6 +151,11 @@ ATF_TC_HEAD(backtrace_fmt_basic, tc) ATF_TC_BODY(backtrace_fmt_basic, tc) { +#if defined(__amd64__) + if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) + atf_tc_skip("https://bugs.freebsd.org/246537;); +#endif + myfunc(12); if (prevent_inline) ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r361018 - head/tests/sys/net
On Thu, May 14, 2020 at 4:36 AM Li-Wen Hsu wrote: > > Author: lwhsu > Date: Wed May 13 20:36:38 2020 > New Revision: 361018 > URL: https://svnweb.freebsd.org/changeset/base/361018 > > Log: > Temporarily skip sys.net.if_bridge_test.stp in CI as it always times out > > PR: 244229 The correct PR should be https://bugs.freebsd.org/246448 ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r361019 - head/tests/sys/net
Author: lwhsu Date: Wed May 13 20:37:46 2020 New Revision: 361019 URL: https://svnweb.freebsd.org/changeset/base/361019 Log: Only skip sys.net.if_clone_test.epair_stress in CI env PR: 246443 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/net/if_clone_test.sh Modified: head/tests/sys/net/if_clone_test.sh == --- head/tests/sys/net/if_clone_test.sh Wed May 13 20:36:38 2020 (r361018) +++ head/tests/sys/net/if_clone_test.sh Wed May 13 20:37:46 2020 (r361019) @@ -47,7 +47,9 @@ epair_stress_head() } epair_stress_body() { - atf_skip "https://bugs.freebsd.org/246443; + if [ "$(atf_config_get ci false)" = "true" ]; then + atf_skip "https://bugs.freebsd.org/246443; + fi do_stress "epair" } epair_stress_cleanup() ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r361018 - head/tests/sys/net
Author: lwhsu Date: Wed May 13 20:36:38 2020 New Revision: 361018 URL: https://svnweb.freebsd.org/changeset/base/361018 Log: Temporarily skip sys.net.if_bridge_test.stp in CI as it always times out PR: 244229 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/net/if_bridge_test.sh Modified: head/tests/sys/net/if_bridge_test.sh == --- head/tests/sys/net/if_bridge_test.shWed May 13 19:29:14 2020 (r361017) +++ head/tests/sys/net/if_bridge_test.shWed May 13 20:36:38 2020 (r361018) @@ -77,6 +77,10 @@ stp_head() stp_body() { + if [ "$(atf_config_get ci false)" = "true" ]; then + atf_skip "https://bugs.freebsd.org/246448; + fi + vnet_init epair_one=$(vnet_mkepair) ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r361017 - head/tests/sys/net
Author: lwhsu Date: Wed May 13 19:29:14 2020 New Revision: 361017 URL: https://svnweb.freebsd.org/changeset/base/361017 Log: Temporarily skip sys.net.if_clone_test.epair_stress This case timed out so often PR: 246443 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/net/if_clone_test.sh Modified: head/tests/sys/net/if_clone_test.sh == --- head/tests/sys/net/if_clone_test.sh Wed May 13 19:17:35 2020 (r361016) +++ head/tests/sys/net/if_clone_test.sh Wed May 13 19:29:14 2020 (r361017) @@ -47,6 +47,7 @@ epair_stress_head() } epair_stress_body() { + atf_skip "https://bugs.freebsd.org/246443; do_stress "epair" } epair_stress_cleanup() ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r360938 - stable/11/lib/msun/tests
Author: lwhsu Date: Mon May 11 22:17:24 2020 New Revision: 360938 URL: https://svnweb.freebsd.org/changeset/base/360938 Log: MFC r358887 (partially): Temporarily skip 2 failing tests after llvm10 import The DDifference of the original revision to -head is only lib.msun.ctrig_test.test_inf_inputs skipped. PR: 244732 Sponsored by: The FreeBSD Foundation Modified: stable/11/lib/msun/tests/ctrig_test.c Directory Properties: stable/11/ (props changed) Modified: stable/11/lib/msun/tests/ctrig_test.c == --- stable/11/lib/msun/tests/ctrig_test.c Mon May 11 22:15:46 2020 (r360937) +++ stable/11/lib/msun/tests/ctrig_test.c Mon May 11 22:17:24 2020 (r360938) @@ -248,6 +248,9 @@ ATF_TC_BODY(test_inf_inputs, tc) long double complex z, c, s; unsigned i; + if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) + atf_tc_skip("https://bugs.freebsd.org/244732;); + /* * IN CSINH CCOSH CTANH * Inf,Inf +-Inf,NaN inval +-Inf,NaN inval 1,+-0 ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r360797 - in stable/12/lib: libproc/tests msun/tests
Author: lwhsu Date: Thu May 7 20:27:32 2020 New Revision: 360797 URL: https://svnweb.freebsd.org/changeset/base/360797 Log: MFC r358887: Temporarily skip 2 failing tests after llvm10 import PR: 244732 Sponsored by: The FreeBSD Foundation Modified: stable/12/lib/libproc/tests/proc_test.c stable/12/lib/msun/tests/ctrig_test.c Directory Properties: stable/12/ (props changed) Modified: stable/12/lib/libproc/tests/proc_test.c == --- stable/12/lib/libproc/tests/proc_test.c Thu May 7 19:51:53 2020 (r360796) +++ stable/12/lib/libproc/tests/proc_test.c Thu May 7 20:27:32 2020 (r360797) @@ -270,6 +270,9 @@ ATF_TC_BODY(symbol_lookup, tc) u_long saved; int error; + if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) + atf_tc_skip("https://bugs.freebsd.org/244732;); + phdl = start_prog(tc, false); error = proc_name2sym(phdl, target_prog_file, "main", _sym, NULL); Modified: stable/12/lib/msun/tests/ctrig_test.c == --- stable/12/lib/msun/tests/ctrig_test.c Thu May 7 19:51:53 2020 (r360796) +++ stable/12/lib/msun/tests/ctrig_test.c Thu May 7 20:27:32 2020 (r360797) @@ -248,6 +248,9 @@ ATF_TC_BODY(test_inf_inputs, tc) long double complex z, c, s; unsigned i; + if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false)) + atf_tc_skip("https://bugs.freebsd.org/244732;); + /* * IN CSINH CCOSH CTANH * Inf,Inf +-Inf,NaN inval +-Inf,NaN inval 1,+-0 ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r360722 - head/sys/dev/virtio/mmio
On Wed, May 06, 2020 at 23:28:51 +, Jessica Clarke wrote: > Author: jrtc27 > Date: Wed May 6 23:28:51 2020 > New Revision: 360722 > URL: https://svnweb.freebsd.org/changeset/base/360722 > > Log: > virtio_mmio: Support non-transitional version 2 devices > > The non-legacy virtio MMIO specification drops the use of PFNs and > replaces them with physical addresses. Whilst many implementations are > so-called transitional devices, also implementing the legacy > specification, TinyEMU[1] does not. Device-specific configuration > registers have also changed to being little-endian, and must be accessed > using a single aligned access for registers up to 32 bits, and two > 32-bit aligned accesses for 64-bit registers. > > [1] https://bellard.org/tinyemu/ > > Reviewed by:br, brooks (mentor) > Approved by:br, brooks (mentor) > Differential Revision: https://reviews.freebsd.org/D24681 > > Modified: > head/sys/dev/virtio/mmio/virtio_mmio.c > head/sys/dev/virtio/mmio/virtio_mmio.h Hi Jessica, It looks this commit breaks armv6 and armv7 builds: --- virtio_mmio.o --- /usr/src/sys/dev/virtio/mmio/virtio_mmio.c:442:13: error: shift count >= width of type [-Werror,-Wshift-count-overflow] paddr >> 32); ^ ~~ /usr/src/sys/dev/virtio/mmio/virtio_mmio.c:127:44: note: expanded from macro 'vtmmio_write_config_4' VIRTIO_MMIO_PREWRITE(sc->platform, (o), (v)); \ ^ /usr/src/sys/dev/virtio/mmio/virtio_mmio.c:442:13: error: shift count >= width of type [-Werror,-Wshift-count-overflow] paddr >> 32); ^ ~~ /usr/src/sys/dev/virtio/mmio/virtio_mmio.c:128:34: note: expanded from macro 'vtmmio_write_config_4' bus_write_4((sc)->res[0], (o), (v));\ ^ /usr/src/sys/sys/bus.h:919:59: note: expanded from macro 'bus_write_4' bus_space_write_4((r)->r_bustag, (r)->r_bushandle, (o), (v)) ^ /usr/src/sys/dev/virtio/mmio/virtio_mmio.c:442:13: error: shift count >= width of type [-Werror,-Wshift-count-overflow] paddr >> 32); ^ ~~ /usr/src/sys/dev/virtio/mmio/virtio_mmio.c:130:40: note: expanded from macro 'vtmmio_write_config_4' VIRTIO_MMIO_NOTE(sc->platform, (o), (v)); \ ^ /usr/src/sys/dev/virtio/mmio/virtio_mmio.c:448:13: error: shift count >= width of type [-Werror,-Wshift-count-overflow] paddr >> 32); ^ ~~ /usr/src/sys/dev/virtio/mmio/virtio_mmio.c:127:44: note: expanded from macro 'vtmmio_write_config_4' VIRTIO_MMIO_PREWRITE(sc->platform, (o), (v)); \ ^ /usr/src/sys/dev/virtio/mmio/virtio_mmio.c:448:13: error: shift count >= width of type [-Werror,-Wshift-count-overflow] paddr >> 32); ^ ~~ /usr/src/sys/dev/virtio/mmio/virtio_mmio.c:128:34: note: expanded from macro 'vtmmio_write_config_4' bus_write_4((sc)->res[0], (o), (v));\ ^ /usr/src/sys/sys/bus.h:919:59: note: expanded from macro 'bus_write_4' bus_space_write_4((r)->r_bustag, (r)->r_bushandle, (o), (v)) ^ /usr/src/sys/dev/virtio/mmio/virtio_mmio.c:448:13: error: shift count >= width of type [-Werror,-Wshift-count-overflow] paddr >> 32); ^ ~~ /usr/src/sys/dev/virtio/mmio/virtio_mmio.c:130:40: note: expanded from macro 'vtmmio_write_config_4' VIRTIO_MMIO_NOTE(sc->platform, (o), (v)); \ ^ /usr/src/sys/dev/virtio/mmio/virtio_mmio.c:454:13: error: shift count >= width of type [-Werror,-Wshift-count-overflow] paddr >> 32); ^ ~~ /usr/src/sys/dev/virtio/mmio/virtio_mmio.c:127:44: note: expanded from macro 'vtmmio_write_config_4' VIRTIO_MMIO_PREWRITE(sc->platform, (o), (v)); \ ^ /usr/src/sys/dev/virtio/mmio/virtio_mmio.c:454:13: error: shift count >= width of type [-Werror,-Wshift-count-overflow] paddr >> 32); ^ ~~ /usr/src/sys/dev/virtio/mmio/virtio_mmio.c:128:34: note: expanded from macro 'vtmmio_write_config_4' bus_write_4((sc)->res[0], (o), (v));\ ^ /usr/src/sys/sys/bus.h:919:59: note: expanded from macro 'bus_write_4' bus_space_write_4((r)->r_bustag, (r)->r_bushandle, (o), (v))
Re: svn commit: r360648 - in head: lib/libvmmapi share/man/man5 share/mk sys/amd64/include sys/amd64/vmm sys/amd64/vmm/amd sys/amd64/vmm/intel sys/amd64/vmm/io sys/conf sys/modules/vmm tools/build/opt
On Tue, May 5, 2020 at 8:02 AM John Baldwin wrote: > > Author: jhb > Date: Tue May 5 00:02:04 2020 > New Revision: 360648 > URL: https://svnweb.freebsd.org/changeset/base/360648 ... > Added: > head/sys/amd64/include/vmm_snapshot.h (contents, props changed) > head/sys/amd64/vmm/vmm_snapshot.c (contents, props changed) > head/tools/build/options/WITH_BHYVE_SNAPSHOT (contents, props changed) > head/usr.sbin/bhyve/snapshot.c (contents, props changed) > head/usr.sbin/bhyve/snapshot.h (contents, props changed) These added files all have "THIS SOFTWARE IS PROVIDED BY NETAPP, INC" in copyright header, but non of the authors look like from NetApp. Is it intended or it's better to have "THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS"? Best, Li-Wen ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r360626 - head/tests/sys/netipsec/tunnel
Author: lwhsu Date: Mon May 4 11:23:55 2020 New Revision: 360626 URL: https://svnweb.freebsd.org/changeset/base/360626 Log: Revert r360204, sys.netipsec.tunnel.empty.v{4,6} are fixed by r360560 PR: 245832 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/netipsec/tunnel/empty.sh Modified: head/tests/sys/netipsec/tunnel/empty.sh == --- head/tests/sys/netipsec/tunnel/empty.sh Mon May 4 11:00:24 2020 (r360625) +++ head/tests/sys/netipsec/tunnel/empty.sh Mon May 4 11:23:55 2020 (r360626) @@ -11,10 +11,6 @@ v4_head() v4_body() { - if [ "$(atf_config_get ci false)" = "true" ]; then - atf_skip "https://bugs.freebsd.org/245832; - fi - # Can't use filename "null" for this script: PR 223564 ist_test 4 null "" } @@ -33,10 +29,6 @@ v6_head() v6_body() { - if [ "$(atf_config_get ci false)" = "true" ]; then - atf_skip "https://bugs.freebsd.org/245832; - fi - ist_test 6 null "" } ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r360569 - in head/sys: dev/cxgbe dev/cxgbe/crypto dev/cxgbe/tom kern sys
On Sun, May 3, 2020 at 6:39 AM Gleb Smirnoff wrote: > > Author: glebius > Date: Sat May 2 22:39:26 2020 > New Revision: 360569 > URL: https://svnweb.freebsd.org/changeset/base/360569 ... > Modified: head/sys/kern/uipc_mbuf.c > == > --- head/sys/kern/uipc_mbuf.c Sat May 2 20:47:58 2020(r360568) > +++ head/sys/kern/uipc_mbuf.c Sat May 2 22:39:26 2020(r360569) > @@ -163,11 +163,11 @@ CTASSERT(offsetof(struct mbuf, m_pktdat) % 8 == 0); > #if defined(__LP64__) > CTASSERT(offsetof(struct mbuf, m_dat) == 32); > CTASSERT(sizeof(struct pkthdr) == 56); > -CTASSERT(sizeof(struct m_ext) == 168); > +CTASSERT(sizeof(struct m_ext) == 160); > #else > CTASSERT(offsetof(struct mbuf, m_dat) == 24); > CTASSERT(sizeof(struct pkthdr) == 48); > -CTASSERT(sizeof(struct m_ext) == 184); > +CTASSERT(sizeof(struct m_ext) == 180); > #endif This assertion is failing on powerpc and powerpcspe, can you check if the constant needs adjustment? Thanks, Li-Wen ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
svn commit: r360244 - stable/12/share/man/man4
Author: lwhsu Date: Fri Apr 24 08:31:13 2020 New Revision: 360244 URL: https://svnweb.freebsd.org/changeset/base/360244 Log: MFC r360165: Also update est(4) as r360162 and r360164 Modified: stable/12/share/man/man4/est.4 Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man4/est.4 == --- stable/12/share/man/man4/est.4 Fri Apr 24 08:07:59 2020 (r360243) +++ stable/12/share/man/man4/est.4 Fri Apr 24 08:31:13 2020 (r360244) @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 18, 2012 +.Dd April 21, 2020 .Dt EST 4 .Os .Sh NAME @@ -66,7 +66,7 @@ Attempt to infer information from direct probing of th Should only be used in diagnostic cases. .Pq default 0 .It hw.est.strict -Validate frequency requested is accepted by the cpu when set. +Validate frequency requested is accepted by the CPU when set. It appears that this will only work on single core cpus. .Pq default 0 .El @@ -75,17 +75,17 @@ The following .Xr sysctl 8 values are available .Bl -tag -width indent -.It Va dev.est.%d.\%desc +.It Va dev.est.%d.%desc Description of support, almost always Enhanced SpeedStep Frequency Control. .It dev.est.0.%desc: Enhanced SpeedStep Frequency Control -.It Va dev.est.%d.\%driver +.It Va dev.est.%d.%driver Driver in use, always est. .It dev.est.0.%driver: est -.It Va dev.est.%d.\%parent -.It dev.est.0.%parent: cpu0 -The cpu that is exposing these frequencies. +.It Va dev.est.%d.%parent +The CPU that is exposing these frequencies. For example .Va cpu0 . +.It dev.est.0.%parent: cpu0 .It Va dev.est.%d.freq_settings . The valid frequencies that are allowed by this CPU and their step values. .It dev.est.0.freq_settings: 2201/45000 2200/45000 2000/39581 1900/37387 ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"