270404 Commits

Author SHA1 Message Date
christos
47f3b76374 mention that -W needs root. 2019-09-18 20:17:46 +00:00
christos
d06f528c83 Print the wedge name with -W instead of mntfrom 2019-09-18 20:14:44 +00:00
christos
4449640fc2 fix compilation 2019-09-18 18:46:00 +00:00
skrll
d2a9676ecc s/pte/ptep/ in pmap_pte_process for consistency with other code. NFCI. 2019-09-18 18:29:58 +00:00
skrll
471755a1a7 Whitespace 2019-09-18 18:18:44 +00:00
christos
0da0aa0234 Add newly created vnodes to the namei cache. The rest of the filesystems
already did that (or they don't support writing). Discussed in tech-kern.
2019-09-18 17:59:14 +00:00
maxv
9b0d65da51 Handle M_EXT with M_BUFADDR, and introduce M_BUFSIZE. Use them to dedup
code.
2019-09-18 16:18:12 +00:00
kamil
8a4b4e84ff Decorate percpu_cpu_swap() with __noubsan 2019-09-18 15:33:32 +00:00
tnn
6b4a7c5abf rkpmic: correct delay 2019-09-18 15:12:37 +00:00
kamil
685333cea5 Switch to __noubsan in x86_hotpatch() 2019-09-18 15:07:08 +00:00
kamil
a8af4e610d Define __noubsan in sys/cdefs.h for KERNEL sanitization 2019-09-18 15:06:03 +00:00
tnn
9c774a7074 rkpmic: add RTC support; register w/ todr(9) 2019-09-18 14:07:38 +00:00
tnn
970ed7d17e rkiic: coalesce smbus-style writes into a single transaction
There seems to be a hw controller bug. Split cmd/data writes caused corrupt
transfers, with junk bytes witten into the rk808 pmic registers.
This may have caused us to operate with out-of-spec core voltage.
2019-09-18 12:49:34 +00:00
msaitoh
2f971902a5 s/ixgbe_set_multi/ixgbe_set_rxfilter/. No functional change. 2019-09-18 10:42:44 +00:00
ozaki-r
46a44af0f9 nd6: remove extra pserialize_read_exit 2019-09-18 08:18:05 +00:00
msaitoh
9a1c9d94b2 Remove ixgbe_set_promisc() and use ixgbe_set_multi() to reduce code
duplication.
2019-09-18 06:06:59 +00:00
msaitoh
2b707379a7 Fix a bug that the multicast filter isn't correctly initialized when
the total number of the Ethernet multicast addresses is just 128.
 Changing "<" with "<=" fixes this problem, but it's better to check
ETHER_F_ALLMULTI than it because it's straightforward.
2019-09-18 05:32:15 +00:00
nonaka
da6a94293e Moved zfs out of MKX11 block.
Fix build failure without X11.
2019-09-18 05:16:15 +00:00
wiz
911f6cb213 Sort errors; remove two more duplicates. 2019-09-18 04:57:53 +00:00
msaitoh
53a8110974 Use unsigned to avoid undefined behavior in lii_setmulti(). 2019-09-18 00:09:42 +00:00
christos
133b476be9 belatedly bump for execve1 signature change which affects compat modules. 2019-09-17 15:20:05 +00:00
christos
eb654c054f Add a boolean argument to indicate if we have a path/true (execve) or an
fd/false (fexecve). This is needed to differentiate between them because
NULL/-1 can be readily passed from userland.
2019-09-17 15:19:27 +00:00
mrg
3663af43d9 pass new missing fd argument to execve1().
fixes sparc64 build.
2019-09-17 07:58:54 +00:00
mrg
472957cfb8 enable building modules for if_aue(4), if_cdce(4), if_cue(4),
if_kue(4), if_upl(4), if_url(4), and if_urndis(4)
2019-09-17 07:36:51 +00:00
mrg
e0661ac046 build exec_elf32 module on arm64. 2019-09-17 04:43:47 +00:00
mrg
266af95eb4 add modules for all usbnet drivers not present.
only some (axe, axen, ure, cdce) of these are tested.

will link into build in a separate change.
2019-09-17 04:38:08 +00:00
gson
3738f96e99 MKZFS is no longer the default on i386; it was disabled in 2015 in
bsd.own.mk 1.846.
2019-09-16 12:57:10 +00:00
skrll
a58be5d164 Traiing whitespace. 2019-09-16 12:40:40 +00:00
maya
65821bcdff Remove unused definitions, as they are architecture-specific.
Thanks joerg for the heads up.
2019-09-16 11:50:55 +00:00
christos
0e8ea4cdfb PR/54549: ng0: always initialize execname. 2019-09-16 11:11:34 +00:00
christos
26260efb9b merge the two E2BIG entries (wiz) 2019-09-16 11:03:08 +00:00
maya
13480c4fc9 Remove old generated file.
thanks mlelstv for the heads up.
2019-09-16 09:35:20 +00:00
mlelstv
3f34a4a221 Include mount_zfs man pages only for MKZFS builds. 2019-09-16 08:31:05 +00:00
macallan
7e30d9f475 add ktm at adb driver 2019-09-16 07:11:08 +00:00
maya
ba27e0de06 Update expat entry 2019-09-16 06:52:02 +00:00
maya
150a08e8a7 Regenerate the output of expat configure. 2019-09-16 06:34:43 +00:00
maya
314bba07ca Merge expat 2.2.8 2019-09-16 06:30:16 +00:00
maya
9fd04a41bd Import expat 2.2.8
Release 2.2.8 Fri Septemper 13 2019
        Security fixes:
       #317 #318  CVE-2019-15903 -- Fix heap overflow triggered by
                    XML_GetCurrentLineNumber (or XML_GetCurrentColumnNumber),
                    and deny internal entities closing the doctype;
                    fixed in commit c20b758c332d9a13afbbb276d30db1d183a85d43

        Bug fixes:
            #240  Fix cases where XML_StopParser did not have any effect
                    when called from inside of an end element handler
            #341  xmlwf: Fix exit code for operation without "-d DIRECTORY";
                    previously, only "-d DIRECTORY" would give you a proper
                    exit code:
                      # xmlwf -d . <<<'<not well-formed>' 2>/dev/null ; echo $?
                      2
                      # xmlwf <<<'<not well-formed>' 2>/dev/null ; echo $?
                      0
                    Now both cases return exit code 2.

        Other changes:
       #299 #302  Windows: Replace LoadLibrary hack to access
                    unofficial API function SystemFunction036 (RtlGenRandom)
                    by using official API function rand_s (needs WinXP+)
            #325  Windows: Drop support for Visual Studio <=7.1/2003
                    and document supported compilers in README.md
            #286  Windows: Remove COM code from xmlwf; in case it turns
                    out needed later, there will be a dedicated repository
                    below https://github.com/libexpat/ for that code
            #322  Windows: Remove explicit MSVC solution and project files.
                    You can generate Visual Studio solution files through
                    CMake, e.g.: cmake -G"Visual Studio 15 2017" .
            #338  xmlwf: Make "xmlwf -h" help output more friendly
            #339  examples: Improve elements.c
       #244 #264  Autotools: Add argument --enable-xml-attr-info
       #239 #301  Autotools: Add arguments
                    --with-getrandom
                    --without-getrandom
                    --with-sys-getrandom
                    --without-sys-getrandom
       #312 #343  Autotools: Fix linking issues with "./configure LD=clang"
                  Autotools: Fix "make run-xmltest" for out-of-source builds
       #329 #336  CMake: Pull all options from Expat <=2.2.7 into namespace
                    prefix EXPAT_ with the exception of DOCBOOK_TO_MAN:
                    - BUILD_doc            -> EXPAT_BUILD_DOCS (plural)
                    - BUILD_examples       -> EXPAT_BUILD_EXAMPLES
                    - BUILD_shared         -> EXPAT_SHARED_LIBS
                    - BUILD_tests          -> EXPAT_BUILD_TESTS
                    - BUILD_tools          -> EXPAT_BUILD_TOOLS
                    - DOCBOOK_TO_MAN       -> DOCBOOK_TO_MAN (unchanged)
                    - INSTALL              -> EXPAT_ENABLE_INSTALL
                    - MSVC_USE_STATIC_CRT  -> EXPAT_MSVC_STATIC_CRT
                    - USE_libbsd           -> EXPAT_WITH_LIBBSD
                    - WARNINGS_AS_ERRORS   -> EXPAT_WARNINGS_AS_ERRORS
                    - XML_CONTEXT_BYTES    -> EXPAT_CONTEXT_BYTES
                    - XML_DEV_URANDOM      -> EXPAT_DEV_URANDOM
                    - XML_DTD              -> EXPAT_DTD
                    - XML_NS               -> EXPAT_NS
                    - XML_UNICODE          -> EXPAT_CHAR_TYPE=ushort (!)
                    - XML_UNICODE_WCHAR_T  -> EXPAT_CHAR_TYPE=wchar_t (!)
       #244 #264  CMake: Add argument -DEXPAT_ATTR_INFO=(ON|OFF),
                    default OFF
            #326  CMake: Add argument -DEXPAT_LARGE_SIZE=(ON|OFF),
                    default OFF
            #328  CMake: Add argument -DEXPAT_MIN_SIZE=(ON|OFF),
                    default OFF
       #239 #277  CMake: Add arguments
                    -DEXPAT_WITH_GETRANDOM=(ON|OFF|AUTO), default AUTO
                    -DEXPAT_WITH_SYS_GETRANDOM=(ON|OFF|AUTO), default AUTO
            #326  CMake: Install expat_config.h to include directory
            #326  CMake: Generate and install configuration files for
                    future find_package(expat [..] CONFIG [..])
                  CMake: Now produces a summary of applied configuration
                  CMake: Require C++ compiler only when tests are enabled
            #330  CMake: Fix compilation for 16bit character types,
                    i.e. ex -DXML_UNICODE=ON (and ex -DXML_UNICODE_WCHAR_T=ON)
            #265  CMake: Fix linking with MinGW
            #330  CMake: Add full support for MinGW; to enable, use
                    -DCMAKE_TOOLCHAIN_FILE=[expat]/cmake/mingw-toolchain.cmake
            #330  CMake: Port "make run-xmltest" from GNU Autotools to CMake
            #316  CMake: Windows: Make binary postfix match MSVC
                    Old: expat[d].lib
                    New: expat[w][d][MD|MT].lib
                  CMake: Migrate files from Windows to Unix line endings
            #308  CMake: Integrate OSS-Fuzz fuzzers, option
                    -DEXPAT_BUILD_FUZZERS=(ON|OFF), default OFF
             #14  Drop an OpenVMS support leftover
    #235 #268 ..
    #270 #310 ..
  #313 #331 #333  Address compiler warnings
    #282 #283 ..
       #284 #285  Address cppcheck warnings
       #294 #295  Address Clang Static Analyzer warnings
        #24 #293  Mass-apply clang-format 9 (and ensure conformance during CI)
                  Version info bumped from 7:9:6 to 7:10:6

        Special thanks to:
            David Loffredo
            Joonun Jang
            Khajapasha Mohammed
            Kishore Kunche
            Marco Maggi
            Mitch Phillips
            Rolf Ade
            xantares
            Zhongyuan Zhou
2019-09-16 06:19:03 +00:00
maya
df3b56cb7d Define XML_POOR_ENTROPY in preparation of importing a new expat.
This is the tool fc-cache built as a native binary on the host
during the build.
The host might be non-netbsd, and we don't run configure, so we can't
know what kind of random functions it supports.
2019-09-16 06:16:42 +00:00
wiz
5a2de753fb Sort errors. 2019-09-16 04:59:32 +00:00
wiz
67060edf74 Use more markup. 2019-09-16 04:57:12 +00:00
wiz
4799815d98 Add missing word, add comma in enumeration. 2019-09-16 04:54:23 +00:00
wiz
6cc77413c5 Add missing word, fix typo, remove trailing whitespace. 2019-09-16 04:49:46 +00:00
manu
3f984dd2cd Remove obsoeolete BUGS note that UEFI bootloader does not support multiboot 2019-09-16 01:57:58 +00:00
kamil
889b81b138 Remove _INCOMPLETE_XOPEN_C063, no longer needed 2019-09-16 01:25:16 +00:00
manu
d45bbebabd Accept root device specification as NAME=label 2019-09-16 00:01:16 +00:00
kamil
d3dd6160fd Stop passing -D_INCOMPLETE_XOPEN_C063 (obsolete define) 2019-09-16 00:00:56 +00:00
manu
a351ce9f52 Rollback change to accept NAME=label root device specification
As suggested by Michael van Elst, the operation should be done
int getwedgename()
2019-09-15 23:59:33 +00:00
kamil
597efdbfe5 Drop -D_INCOMPLETE_XOPEN_C063 from dd(1) 2019-09-15 23:58:31 +00:00
manu
cd863801a8 Remove debug define.
It remained there unseen because it was misspelled!
2019-09-15 23:55:26 +00:00