CVS commit: src/sys/arch/mips/include
Module Name:src Committed By: simonb Date: Sun Jun 14 08:43:08 UTC 2020 Modified Files: src/sys/arch/mips/include: cache_octeon.h Log Message: Define Octeon Cavium cache layouts for various cnMIPS cores. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/mips/include/cache_octeon.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/mips/mips
Module Name:src Committed By: simonb Date: Sun Jun 14 09:41:18 UTC 2020 Modified Files: src/sys/arch/mips/mips: cache.c Log Message: KNF police - long lines and comments. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/arch/mips/mips/cache.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/mips/mips
Module Name:src Committed By: simonb Date: Sun Jun 14 09:55:37 UTC 2020 Modified Files: src/sys/arch/mips/mips: cache.c Log Message: Make core specific overrides a bit more readable / scalable (switch instead of if / else / ...). Move debug printfs to after core specific overrides in case any config is updated. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/sys/arch/mips/mips/cache.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/mips/mips
Module Name:src Committed By: simonb Date: Sun Jun 14 12:02:07 UTC 2020 Modified Files: src/sys/arch/mips/mips: cache.c Log Message: Adjust previous - move consolidated debug printfs _after_ core specific overrides, not before them. To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/arch/mips/mips/cache.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/mips/mips
Module Name:src Committed By: simonb Date: Sun Jun 14 12:07:44 UTC 2020 Modified Files: src/sys/arch/mips/mips: cache.c Log Message: Move some "case 0" statements to be first in their switch statements. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/arch/mips/mips/cache.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/mips/mips
Module Name:src Committed By: simonb Date: Sun Jun 14 12:58:01 UTC 2020 Modified Files: src/sys/arch/mips/mips: cache.c Log Message: Support Octeon Cavium cnMIPS I, II and III cores that have various non-standard cache configurations (in terms of following MIPS spec for defining cache configurations). Move (most) Octeon support into a single place. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/arch/mips/mips/cache.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/mips/mips
Module Name:src Committed By: tsutsui Date: Sun Jun 14 14:02:39 UTC 2020 Modified Files: src/sys/arch/mips/mips: bus_dma.c Log Message: Fix inconsistent mips_o32, _mips_o32, and __mips_o32 macro. PR/54216 Not sure what the original intention was, but no responce for a year, and no visible regression on Cobalt Qube 2700 (Rm5230) through whole installation using netbsd-9 based Cobalt RestoreCD/USB. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/arch/mips/mips/bus_dma.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/mips/mips
Module Name:src Committed By: tsutsui Date: Sun Jun 14 14:16:49 UTC 2020 Modified Files: src/sys/arch/mips/mips: cache.c Log Message: Use 32 byte cacheline ops (not 16 byte ones) for R5000 picache. PR/55138 Commented "I think this is bad copy&paste" from skrll@. No visible regression on Cobalt Qube 2700 (Rm5230) through whole installation using netbsd-9 based Cobalt RestoreCD/USB. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/arch/mips/mips/cache.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet6
Module Name:src Committed By: roy Date: Sun Jun 14 14:26:18 UTC 2020 Modified Files: src/sys/netinet6: in6.c Log Message: inet6: Allow addresses to be marked AUTOCONF from userland To generate a diff of this commit: cvs rdiff -u -r1.279 -r1.280 src/sys/netinet6/in6.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/mips/mips
Module Name:src Committed By: simonb Date: Sun Jun 14 14:40:24 UTC 2020 Modified Files: src/sys/arch/mips/mips: mips_machdep.c Log Message: Include room for the trailing NUL in the way name string. To generate a diff of this commit: cvs rdiff -u -r1.288 -r1.289 src/sys/arch/mips/mips/mips_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/mips/mips
Module Name:src Committed By: simonb Date: Sun Jun 14 14:45:12 UTC 2020 Modified Files: src/sys/arch/mips/mips: mips_machdep.c Log Message: Revert thinko in previous. To generate a diff of this commit: cvs rdiff -u -r1.289 -r1.290 src/sys/arch/mips/mips/mips_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/mips
Module Name:src Committed By: tsutsui Date: Sun Jun 14 15:12:56 UTC 2020 Modified Files: src/sys/arch/mips/include: cache_r5k.h src/sys/arch/mips/mips: cache_r5k.c cache_r5k_subr.S Log Message: Use proper "page" alignments for R5k Page Invalidate(S) op. PR/55139 According to NEC "User's Manual VR5000, VR1000 64-BIT MICROPROCESSOR INSTRUCTION" (U12754EJ1V0UMJ1), R5000 Page Invalidate (S) op does "a page invalidate by doing a burst of 128 line invalidates to the secondary cache at the page specified by the effective address generated by the CACHE instruction, which must be page aligned." This description looks a bit confusing, but "page" used here implies fixed 32 byte cacheline * 128 lines == 4096 bytes, not our variable "PAGE_SIZE" used in VM paging ops. Note the current default PAGE_SIZE for MIPS3 has been changed to 8192. While here, also define and use proper macro for the "page" and CACHEOP arg for the R5k Page_Invalidate_S op, as the manual also describes the cache op field 10111 as "Page Invalidate" for the secondary cache. No visible regression on Cobalt Qube 2700 (Rm5230) through whole installation using netbsd-9 based Cobalt RestoreCD/USB. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/mips/include/cache_r5k.h cvs rdiff -u -r1.20 -r1.21 src/sys/arch/mips/mips/cache_r5k.c cvs rdiff -u -r1.3 -r1.4 src/sys/arch/mips/mips/cache_r5k_subr.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/aarch64
Module Name:src Committed By: riastradh Date: Sun Jun 14 16:10:18 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c src/sys/arch/aarch64/include: armreg.h Log Message: Add some more id_aa64pfr0_el1 bits. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/arch/aarch64/aarch64/cpu.c cvs rdiff -u -r1.48 -r1.49 src/sys/arch/aarch64/include/armreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x86
Module Name:src Committed By: riastradh Date: Sun Jun 14 16:12:05 UTC 2020 Modified Files: src/sys/arch/x86/include: cpufunc.h fpu.h src/sys/arch/x86/x86: fpu.c Log Message: Use static constant rather than stack memset buffer for zero fpregs. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/arch/x86/include/cpufunc.h cvs rdiff -u -r1.20 -r1.21 src/sys/arch/x86/include/fpu.h cvs rdiff -u -r1.64 -r1.65 src/sys/arch/x86/x86/fpu.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/sunxi
Module Name:src Committed By: ad Date: Sun Jun 14 16:29:47 UTC 2020 Modified Files: src/sys/arch/arm/sunxi: sun8i_crypto.c Log Message: Fix !DIAGNOSTIC compile. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arm/sunxi/sun8i_crypto.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/mdsetimage
Module Name:src Committed By: tsutsui Date: Sun Jun 14 18:24:21 UTC 2020 Modified Files: src/usr.sbin/mdsetimage: mdsetimage.c Log Message: Explicitly print a fs image filename on "fs image is too big" errors. This will help future analysis of build errors caused by bloated embedded ramdisk images and possible but unexpected other binaries. Proposed on port-mips@ in discusson about ews4800mips daily build errors: https://mail-index.netbsd.org/port-mips/2020/06/14/msg000950.html and "Yes please!" from martin@. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/mdsetimage/mdsetimage.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libprop
Module Name:src Committed By: christos Date: Sun Jun 14 21:28:58 UTC 2020 Modified Files: src/common/lib/libprop: prop_array_util.c Log Message: Fix incorrect type (found by lint), and add linted comments for the long long -> long (uintmax_t on LP64) To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/common/lib/libprop/prop_array_util.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libprop
Module Name:src Committed By: christos Date: Sun Jun 14 21:31:01 UTC 2020 Modified Files: src/common/lib/libprop: prop_array_util.c prop_dictionary_util.c Log Message: add/fix linted comments To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/common/lib/libprop/prop_array_util.c cvs rdiff -u -r1.6 -r1.7 src/common/lib/libprop/prop_dictionary_util.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libpthread
Module Name:src Committed By: ad Date: Sun Jun 14 21:31:11 UTC 2020 Modified Files: src/lib/libpthread: pthread.c Log Message: Don't need to ignore ESRCH from _lwp_park() any more. To generate a diff of this commit: cvs rdiff -u -r1.176 -r1.177 src/lib/libpthread/pthread.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libpthread
Module Name:src Committed By: ad Date: Sun Jun 14 21:33:28 UTC 2020 Modified Files: src/lib/libpthread: pthread_cond.c Log Message: Another bug. The CAS loop in pthread_cond_signal() could race against the thread it is trying to awake. The thread could exit the condvar and then reinsert itself at the head of the list with a new waiter behind it. It's likely possible to fix this in a way that's wait-free but for now just fix the bug. To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 src/lib/libpthread/pthread_cond.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: ad Date: Sun Jun 14 21:34:25 UTC 2020 Modified Files: src/sys/kern: subr_pool.c src/sys/sys: pool.h src/usr.bin/vmstat: vmstat.c Log Message: pool_cache: - make all counters per-CPU and make cache layer do its work with atomic ops. - conserve memory by caching empty groups globally. To generate a diff of this commit: cvs rdiff -u -r1.270 -r1.271 src/sys/kern/subr_pool.c cvs rdiff -u -r1.90 -r1.91 src/sys/sys/pool.h cvs rdiff -u -r1.240 -r1.241 src/usr.bin/vmstat/vmstat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: ad Date: Sun Jun 14 21:41:42 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c src/sys/sys: cpu_data.h src/sys/uvm: uvm_glue.c uvm_meter.c uvm_page.c uvm_page.h uvm_pgflcache.c uvm_pglist.c uvm_stat.c src/usr.bin/vmstat: vmstat.c Log Message: Remove PG_ZERO. It worked brilliantly on x86 machines from the mid-90s but having spent an age experimenting with it over the last 6 months on various machines and with different use cases it's always either break-even or a slight net loss for me. To generate a diff of this commit: cvs rdiff -u -r1.398 -r1.399 src/sys/arch/x86/x86/pmap.c cvs rdiff -u -r1.51 -r1.52 src/sys/sys/cpu_data.h cvs rdiff -u -r1.180 -r1.181 src/sys/uvm/uvm_glue.c cvs rdiff -u -r1.79 -r1.80 src/sys/uvm/uvm_meter.c cvs rdiff -u -r1.241 -r1.242 src/sys/uvm/uvm_page.c cvs rdiff -u -r1.104 -r1.105 src/sys/uvm/uvm_page.h cvs rdiff -u -r1.4 -r1.5 src/sys/uvm/uvm_pgflcache.c cvs rdiff -u -r1.84 -r1.85 src/sys/uvm/uvm_pglist.c cvs rdiff -u -r1.45 -r1.46 src/sys/uvm/uvm_stat.c cvs rdiff -u -r1.241 -r1.242 src/usr.bin/vmstat/vmstat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/aarch64
Module Name:src Committed By: ad Date: Sun Jun 14 21:47:15 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c src/sys/arch/aarch64/include: pmap.h Log Message: - Fix a lock order reversal in pmap_page_protect(). - Make sure pmap is always locked when updating stats; atomics no longer needed to do that. - Remove unneeded traversal of pv list in pmap_enter_pv(). - Shrink struct vm_page from 136 to 128 bytes (cache line sized) and struct pv_entry from 48 to 32 bytes (power of 2 sized). - Embed a pv_entry in each vm_page. This means PV entries don't need to be allocated for private anonymous memory / COW pages / most UBC mappings. Dynamic PV entries are then used only for stuff like shared libraries and shared memory. Proposed on port-arm@. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sys/arch/aarch64/aarch64/pmap.c cvs rdiff -u -r1.39 -r1.40 src/sys/arch/aarch64/include/pmap.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/rump/include/rump
Module Name:src Committed By: kamil Date: Sun Jun 14 22:12:58 UTC 2020 Modified Files: src/sys/rump/include/rump: rump.h Log Message: Fix header compatibility with C++ This file is OS-agnostic and cannot include OS specific headers. The fallback for NetBSD specific symbol __BEGIN_DECLS didn't work as it was misspelled as _BEGIN_DECLS. To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71 src/sys/rump/include/rump/rump.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/uvm
Module Name:src Committed By: ad Date: Sun Jun 14 22:25:15 UTC 2020 Modified Files: src/sys/uvm: uvm_extern.h Log Message: g/c vm_page_zero_enable To generate a diff of this commit: cvs rdiff -u -r1.229 -r1.230 src/sys/uvm/uvm_extern.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man4
Module Name:src Committed By: rkujawa Date: Sun Jun 14 22:30:44 UTC 2020 Modified Files: src/share/man/man4: mcp980x.4 Log Message: is -> are To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/mcp980x.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/make
Module Name:src Committed By: rillig Date: Sun Jun 14 23:13:21 UTC 2020 Modified Files: src/usr.bin/make: str.c src/usr.bin/make/unit-tests: modmatch.mk Log Message: usr.bin/make: revert performance improvement That change might be the cause of a build failure for vax. http://releng.netbsd.org/builds/HEAD/202006131940Z/ builds fine. http://releng.netbsd.org/builds/HEAD/202006141020Z/ doesn't. The build fails with: /home/source/ab/HEAD/src/external/gpl3/gcc/dist/gcc/machmode.h:524:28: error: 'mode_size_inline' was not declared in this scope To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/usr.bin/make/str.c cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/unit-tests/modmatch.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/kern
Module Name:src Committed By: ad Date: Sun Jun 14 23:17:01 UTC 2020 Modified Files: src/sys/kern: subr_pool.c Log Message: Arithmetic error in previous. To generate a diff of this commit: cvs rdiff -u -r1.271 -r1.272 src/sys/kern/subr_pool.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/i386/pci
Module Name:src Committed By: riastradh Date: Sun Jun 14 23:19:11 UTC 2020 Modified Files: src/sys/arch/i386/pci: glxsb.c Log Message: glxsb(4): Don't use prev msg's last block as IV for next msg in CBC. This violates the security contract of the CBC construction, which requires that the IV be unpredictable in advance; an adaptive adversary can exploit this to verify plaintext guesses. XXX Compile-tested only. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/arch/i386/pci/glxsb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x86/x86
Module Name:src Committed By: riastradh Date: Sun Jun 14 23:20:15 UTC 2020 Modified Files: src/sys/arch/x86/x86: via_padlock.c Log Message: padlock(4): Don't use prev msg's last block as IV for next msg in CBC. This violates the security contract of the CBC construction, which requires that the IV be unpredictable in advance; an adaptive adversary can exploit this to verify plaintext guesses. XXX Compile-tested only. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/arch/x86/x86/via_padlock.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: riastradh Date: Sun Jun 14 23:22:09 UTC 2020 Modified Files: src/sys/dev/pci: ubsec.c ubsecvar.h Log Message: ubsec(4): Don't use prev msg's last block as IV for next msg in CBC. This violates the security contract of the CBC construction, which requires that the IV be unpredictable in advance; an adaptive adversary can exploit this to verify plaintext guesses. XXX Compile-tested only. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sys/dev/pci/ubsec.c cvs rdiff -u -r1.10 -r1.11 src/sys/dev/pci/ubsecvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci/qat
Module Name:src Committed By: riastradh Date: Sun Jun 14 23:23:12 UTC 2020 Modified Files: src/sys/dev/pci/qat: qat.c Log Message: qat(4): Simplify iv generation logic with cprng_fast. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/qat/qat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/opencrypto
Module Name:src Committed By: riastradh Date: Sun Jun 14 23:23:55 UTC 2020 Modified Files: src/sys/opencrypto: cryptosoft.c Log Message: swcrypto(4): Simplify iv generation logic with cprng_fast. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/opencrypto/cryptosoft.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x86/x86
Module Name:src Committed By: ad Date: Sun Jun 14 23:24:20 UTC 2020 Modified Files: src/sys/arch/x86/x86: tsc.c Log Message: tsc_get_timecount(): disable the "clock goes backwards" check on i386 for the moment since it requires 64-bit store to be atomic because of nesting via interrupt. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sys/arch/x86/x86/tsc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/marvell
Module Name:src Committed By: riastradh Date: Sun Jun 14 23:29:23 UTC 2020 Modified Files: src/sys/dev/marvell: mvcesa.c Log Message: mvcesa(4): Don't use prev msg's last block as IV for next msg in CBC. This violates the security contract of the CBC construction, which requires that the IV be unpredictable in advance; an adaptive adversary can exploit this to verify plaintext guesses. XXX Compile-tested only. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/marvell/mvcesa.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/rump/include/rump
Module Name:src Committed By: kamil Date: Sun Jun 14 23:38:25 UTC 2020 Modified Files: src/sys/rump/include/rump: rump.h Log Message: Remove old compat include of rump_syscallshotgun.h It was separated in 2016 and is no longer needed. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/sys/rump/include/rump/rump.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS import: src/external/bsd/file/dist
Module Name:src Committed By: christos Date: Mon Jun 15 00:18:51 UTC 2020 Update of /cvsroot/src/external/bsd/file/dist In directory ivanova.netbsd.org:/tmp/cvs-serv16029 Log Message: Import 5.39: * Remove unused subtype_mime (Steve Grubb) * Remove unused check in okstat (Steve Grubb) * Fix mime-type in elf binaries by making sure $x is set * Fix indirect negative offsets broken by OFFNEGATIVE * Fix GUID equality check * PR/165: Handle empty array and strings in JSON * PR/162: Add --exclude-quiet * Fix memory leak in ascmagic (Steve Grubb) * Fix string comparison length with ignore whitespace * Fix mingwin 64 compilation * PR/159: whitelist getpid needed for file_pipe2file() * Indicate negative offsets with a flag OFFNEGATIVE so that -0 works. * Introduce "offset" magic type that can be used to detect the file size, and bail on short files. * document DER better in the magic man page. * fix memory leaks (SonarQube) * rewrite confusing loops (SonarQube) * fix bogus test (SonarQube) * pass a sized buffer to file_fmttime() (SonarQube) * Don't allow * in printf formats, or the code itself (Christoph Biedl) * Introduce a printf output size checker to avoid DoS attacks * Avoid memory leak on error (oss-fuzz) * Check length of string on DER before derefercing and add new types * Add missing DER string (oss-fuzz) * Add missing DER types, and debugging * PR/140: Avoid abort with hand-crafted magic file (gockelhahn) * PR/139: Avoid DoS in printf with hand-crafted magic file (gockelhahn) * PR/138: Avoid crash with hand-crafted magic file (gockelhahn) * PR/136: Fix static build by adding a libmagic.pc (Fabrice Fontaine) * add guid support native support via the "guid" type. Status: Vendor Tag: CHRISTOS Release Tags: FILE5_39 C src/external/bsd/file/dist/Makefile.am C src/external/bsd/file/dist/configure U src/external/bsd/file/dist/acinclude.m4 C src/external/bsd/file/dist/configure.ac U src/external/bsd/file/dist/aclocal.m4 C src/external/bsd/file/dist/Makefile.in U src/external/bsd/file/dist/config.h.in N src/external/bsd/file/dist/libmagic.pc.in U src/external/bsd/file/dist/AUTHORS U src/external/bsd/file/dist/COPYING C src/external/bsd/file/dist/ChangeLog U src/external/bsd/file/dist/INSTALL U src/external/bsd/file/dist/NEWS U src/external/bsd/file/dist/README U src/external/bsd/file/dist/TODO U src/external/bsd/file/dist/compile U src/external/bsd/file/dist/config.guess U src/external/bsd/file/dist/config.sub U src/external/bsd/file/dist/install-sh U src/external/bsd/file/dist/ltmain.sh U src/external/bsd/file/dist/missing U src/external/bsd/file/dist/MAINT U src/external/bsd/file/dist/depcomp U src/external/bsd/file/dist/m4/libtool.m4 U src/external/bsd/file/dist/m4/ltoptions.m4 U src/external/bsd/file/dist/m4/ltsugar.m4 U src/external/bsd/file/dist/m4/ltversion.m4 U src/external/bsd/file/dist/m4/lt~obsolete.m4 U src/external/bsd/file/dist/src/Makefile.am U src/external/bsd/file/dist/src/Makefile.in U src/external/bsd/file/dist/src/asctime_r.c U src/external/bsd/file/dist/src/asprintf.c U src/external/bsd/file/dist/src/ctime_r.c U src/external/bsd/file/dist/src/dprintf.c U src/external/bsd/file/dist/src/fmtcheck.c U src/external/bsd/file/dist/src/getline.c U src/external/bsd/file/dist/src/getopt_long.c U src/external/bsd/file/dist/src/gmtime_r.c U src/external/bsd/file/dist/src/localtime_r.c U src/external/bsd/file/dist/src/pread.c U src/external/bsd/file/dist/src/strcasestr.c U src/external/bsd/file/dist/src/strlcat.c U src/external/bsd/file/dist/src/strlcpy.c U src/external/bsd/file/dist/src/vasprintf.c U src/external/bsd/file/dist/src/buffer.c C src/external/bsd/file/dist/src/magic.c C src/external/bsd/file/dist/src/apprentice.c C src/external/bsd/file/dist/src/softmagic.c U src/external/bsd/file/dist/src/ascmagic.c U src/external/bsd/file/dist/src/encoding.c C src/external/bsd/file/dist/src/compress.c U src/external/bsd/file/dist/src/is_csv.c C src/external/bsd/file/dist/src/is_json.c U src/external/bsd/file/dist/src/is_tar.c C src/external/bsd/file/dist/src/readelf.c C src/external/bsd/file/dist/src/print.c U src/external/bsd/file/dist/src/fsmagic.c C src/external/bsd/file/dist/src/funcs.c C src/external/bsd/file/dist/src/file.h U src/external/bsd/file/dist/src/readelf.h U src/external/bsd/file/dist/src/tar.h U src/external/bsd/file/dist/src/apptype.c C src/external/bsd/file/dist/src/der.c U src/external/bsd/file/dist/src/der.h U src/external/bsd/file/dist/src/file_opts.h U src/external/bsd/file/dist/src/elfclass.h U src/external/bsd/file/dist/src/mygetopt.h U src/external/bsd/file/dist/src/cdf.c U src/external/bsd/file/dist/src/cdf_time.c U src/external/bsd/file/dist/src/readcdf.c U src/external/bsd/file/dist/src/cdf.h C src/external/bsd/file/dist/src/file.c U src/external/bsd/file/dist/src/seccomp.c U src/external/bsd/file/dist/src/magic.h.in C src/external/bsd/file
CVS commit: src/sys/arch/mips/mips
Module Name:src Committed By: simonb Date: Mon Jun 15 00:31:21 UTC 2020 Modified Files: src/sys/arch/mips/mips: mips_machdep.c Log Message: Remove mips32r2 error introduced in previous commit; there no MP support at all for 32-bit MIPSNN kernels. To generate a diff of this commit: cvs rdiff -u -r1.290 -r1.291 src/sys/arch/mips/mips/mips_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/bsd/file
Module Name:src Committed By: christos Date: Mon Jun 15 00:37:25 UTC 2020 Modified Files: src/external/bsd/file/dist: ChangeLog Makefile.am Makefile.in configure configure.ac src/external/bsd/file/dist/doc: file.1 magic.5 src/external/bsd/file/dist/magic: Makefile.am Makefile.in src/external/bsd/file/dist/magic/magdir: archive elf filesystems parix pgp src/external/bsd/file/dist/src: apprentice.c compress.c der.c file.c file.h funcs.c is_csv.c is_json.c magic.c print.c readelf.c softmagic.c src/external/bsd/file/include: config.h src/external/bsd/file/lib: shlib_version Log Message: merge conflicts To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/external/bsd/file/dist/ChangeLog cvs rdiff -u -r1.3 -r1.4 src/external/bsd/file/dist/Makefile.am cvs rdiff -u -r1.18 -r1.19 src/external/bsd/file/dist/Makefile.in \ src/external/bsd/file/dist/configure.ac cvs rdiff -u -r1.22 -r1.23 src/external/bsd/file/dist/configure cvs rdiff -u -r1.24 -r1.25 src/external/bsd/file/dist/doc/file.1 cvs rdiff -u -r1.21 -r1.22 src/external/bsd/file/dist/doc/magic.5 cvs rdiff -u -r1.18 -r1.19 src/external/bsd/file/dist/magic/Makefile.am cvs rdiff -u -r1.21 -r1.22 src/external/bsd/file/dist/magic/Makefile.in cvs rdiff -u -r1.17 -r1.18 src/external/bsd/file/dist/magic/magdir/archive cvs rdiff -u -r1.18 -r1.19 src/external/bsd/file/dist/magic/magdir/elf cvs rdiff -u -r1.16 -r1.17 \ src/external/bsd/file/dist/magic/magdir/filesystems cvs rdiff -u -r1.2 -r1.3 src/external/bsd/file/dist/magic/magdir/parix cvs rdiff -u -r1.7 -r1.8 src/external/bsd/file/dist/magic/magdir/pgp cvs rdiff -u -r1.24 -r1.25 src/external/bsd/file/dist/src/apprentice.c \ src/external/bsd/file/dist/src/file.h cvs rdiff -u -r1.19 -r1.20 src/external/bsd/file/dist/src/compress.c cvs rdiff -u -r1.5 -r1.6 src/external/bsd/file/dist/src/der.c cvs rdiff -u -r1.14 -r1.15 src/external/bsd/file/dist/src/file.c \ src/external/bsd/file/dist/src/magic.c \ src/external/bsd/file/dist/src/print.c cvs rdiff -u -r1.17 -r1.18 src/external/bsd/file/dist/src/funcs.c cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/file/dist/src/is_csv.c cvs rdiff -u -r1.3 -r1.4 src/external/bsd/file/dist/src/is_json.c cvs rdiff -u -r1.23 -r1.24 src/external/bsd/file/dist/src/readelf.c cvs rdiff -u -r1.22 -r1.23 src/external/bsd/file/dist/src/softmagic.c cvs rdiff -u -r1.15 -r1.16 src/external/bsd/file/include/config.h cvs rdiff -u -r1.7 -r1.8 src/external/bsd/file/lib/shlib_version Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/sets/lists
Module Name:src Committed By: christos Date: Mon Jun 15 00:39:03 UTC 2020 Modified Files: src/distrib/sets/lists/base: shl.mi src/distrib/sets/lists/debug: shl.mi Log Message: bump libmagic To generate a diff of this commit: cvs rdiff -u -r1.891 -r1.892 src/distrib/sets/lists/base/shl.mi cvs rdiff -u -r1.253 -r1.254 src/distrib/sets/lists/debug/shl.mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/doc
Module Name:src Committed By: christos Date: Mon Jun 15 00:40:14 UTC 2020 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: new file(1) To generate a diff of this commit: cvs rdiff -u -r1.1728 -r1.1729 src/doc/3RDPARTY cvs rdiff -u -r1.2700 -r1.2701 src/doc/CHANGES Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libprop
Module Name:src Committed By: christos Date: Mon Jun 15 00:46:00 UTC 2020 Modified Files: src/common/lib/libprop: prop_dictionary_util.c Log Message: remove error(1) comments To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/common/lib/libprop/prop_dictionary_util.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x86/x86
Module Name:src Committed By: riastradh Date: Mon Jun 15 01:23:44 UTC 2020 Modified Files: src/sys/arch/x86/x86: cpu_rng.c Log Message: Use x86_read_psl/x86_disable_intr/x86_read_psl to defer interrupts. Using x86_disable_intr/x86_enable_intr causes a bit of a snag when we try it early at boot before we're ready to handle interrupts, because it has the effect of enabling interrupts! Fixes instant reset at boot on VIA CPUs. The instant reset on boot is new since the entropy rework, which initialized the x86 CPU RNG earlier than before, but in principle this could also cause other problems while not early at boot too. XXX pullup To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x86/x86/cpu_rng.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x86/x86
Module Name:src Committed By: riastradh Date: Mon Jun 15 01:24:21 UTC 2020 Modified Files: src/sys/arch/x86/x86: cpu_rng.c Log Message: Count down bits of entropy, not bits of data, in x86 cpu_rng. Fixes logic in this loop for XSTORERNG on VIA CPUs, which are deemed to have half the entropy per bit of data as RDSEED on Intel CPUs, so that it gathers enough entropy on the first request, not on the second request. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/x86/x86/cpu_rng.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS import: src/external/bsd/blocklist
Module Name:src Committed By: christos Date: Mon Jun 15 01:52:54 UTC 2020 Update of /cvsroot/src/external/bsd/blocklist In directory ivanova.netbsd.org:/tmp/cvs-serv28835 Log Message: Import blocklist from https://github.com/zoulasc/blocklist. This is the same code as blacklist from the HEAD of the NetBSD tree. Status: Vendor Tag: CHRISTOS Release Tags: blocklist-20200614 N src/external/bsd/blocklist/Makefile N src/external/bsd/blocklist/Makefile.inc N src/external/bsd/blocklist/README N src/external/bsd/blocklist/TODO N src/external/bsd/blocklist/bin/Makefile N src/external/bsd/blocklist/bin/blocklistctl.8 N src/external/bsd/blocklist/bin/blocklistctl.c N src/external/bsd/blocklist/bin/blocklistd.8 N src/external/bsd/blocklist/bin/blocklistd.c N src/external/bsd/blocklist/bin/blocklistd.conf.5 N src/external/bsd/blocklist/bin/conf.c N src/external/bsd/blocklist/bin/conf.h N src/external/bsd/blocklist/bin/internal.c N src/external/bsd/blocklist/bin/internal.h N src/external/bsd/blocklist/bin/run.c N src/external/bsd/blocklist/bin/run.h N src/external/bsd/blocklist/bin/state.c N src/external/bsd/blocklist/bin/state.h N src/external/bsd/blocklist/bin/support.c N src/external/bsd/blocklist/bin/support.h N src/external/bsd/blocklist/diff/ftpd.diff N src/external/bsd/blocklist/diff/named.diff N src/external/bsd/blocklist/diff/postfix.diff N src/external/bsd/blocklist/diff/proftpd.diff N src/external/bsd/blocklist/diff/ssh.diff N src/external/bsd/blocklist/etc/Makefile N src/external/bsd/blocklist/etc/blocklistd.conf N src/external/bsd/blocklist/etc/npf.conf N src/external/bsd/blocklist/etc/rc.d/Makefile N src/external/bsd/blocklist/etc/rc.d/blocklistd N src/external/bsd/blocklist/include/Makefile N src/external/bsd/blocklist/include/bl.h N src/external/bsd/blocklist/include/blocklist.h N src/external/bsd/blocklist/lib/Makefile N src/external/bsd/blocklist/lib/bl.c N src/external/bsd/blocklist/lib/blocklist.c N src/external/bsd/blocklist/lib/shlib_version N src/external/bsd/blocklist/lib/libblocklist.3 N src/external/bsd/blocklist/libexec/Makefile N src/external/bsd/blocklist/libexec/blocklistd-helper N src/external/bsd/blocklist/port/Makefile.am N src/external/bsd/blocklist/port/_strtoi.h N src/external/bsd/blocklist/port/clock_gettime.c N src/external/bsd/blocklist/port/configure.ac N src/external/bsd/blocklist/port/fgetln.c N src/external/bsd/blocklist/port/fparseln.c N src/external/bsd/blocklist/port/getprogname.c N src/external/bsd/blocklist/port/pidfile.c N src/external/bsd/blocklist/port/popenve.c N src/external/bsd/blocklist/port/port.h N src/external/bsd/blocklist/port/sockaddr_snprintf.c N src/external/bsd/blocklist/port/strlcat.c N src/external/bsd/blocklist/port/strlcpy.c N src/external/bsd/blocklist/port/strtoi.c N src/external/bsd/blocklist/port/m4/.cvsignore N src/external/bsd/blocklist/test/Makefile N src/external/bsd/blocklist/test/cltest.c N src/external/bsd/blocklist/test/srvtest.c No conflicts created by this import
CVS commit: src
Module Name:src Committed By: christos Date: Mon Jun 15 01:57:33 UTC 2020 Modified Files: src/crypto/external/bsd/openssh/bin/sshd: Makefile src/crypto/external/bsd/openssh/dist: pfilter.c src/distrib/sets/lists/base: mi shl.mi src/distrib/sets/lists/comp: mi shl.mi src/distrib/sets/lists/debug: mi shl.mi src/distrib/sets/lists/etc: mi src/distrib/sets/lists/man: mi src/doc: 3RDPARTY CHANGES src/etc/defaults: rc.conf src/etc/mtree: NetBSD.dist.base special src/external/bsd: Makefile src/external/ibm-public/postfix/dist/src/smtpd: pfilter.c src/external/ibm-public/postfix/libexec/smtpd: Makefile src/external/mpl/bind: Makefile.inc src/external/mpl/bind/dist/lib/ns: pfilter.c src/lib: Makefile src/libexec/ftpd: Makefile pfilter.c src/share/mk: bsd.README bsd.prog.mk Removed Files: src/external/bsd/blacklist: Makefile Makefile.inc README TODO src/external/bsd/blacklist/bin: Makefile blacklistctl.8 blacklistctl.c blacklistd.8 blacklistd.c blacklistd.conf.5 conf.c conf.h internal.c internal.h run.c run.h state.c state.h support.c support.h src/external/bsd/blacklist/diff: ftpd.diff named.diff postfix.diff proftpd.diff ssh.diff src/external/bsd/blacklist/etc: Makefile blacklistd.conf npf.conf src/external/bsd/blacklist/etc/rc.d: Makefile blacklistd src/external/bsd/blacklist/include: Makefile bl.h blacklist.h src/external/bsd/blacklist/lib: Makefile bl.c blacklist.c libblacklist.3 shlib_version src/external/bsd/blacklist/libexec: Makefile blacklistd-helper src/external/bsd/blacklist/port: Makefile.am _strtoi.h clock_gettime.c configure.ac fgetln.c fparseln.c getprogname.c pidfile.c popenve.c port.h sockaddr_snprintf.c strlcat.c strlcpy.c strtoi.c src/external/bsd/blacklist/port/m4: .cvsignore src/external/bsd/blacklist/test: Makefile cltest.c srvtest.c Log Message: Rename blacklist -> blocklist To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/crypto/external/bsd/openssh/bin/sshd/Makefile cvs rdiff -u -r1.7 -r1.8 src/crypto/external/bsd/openssh/dist/pfilter.c cvs rdiff -u -r1.1250 -r1.1251 src/distrib/sets/lists/base/mi cvs rdiff -u -r1.892 -r1.893 src/distrib/sets/lists/base/shl.mi cvs rdiff -u -r1.2335 -r1.2336 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.334 -r1.335 src/distrib/sets/lists/comp/shl.mi cvs rdiff -u -r1.315 -r1.316 src/distrib/sets/lists/debug/mi cvs rdiff -u -r1.254 -r1.255 src/distrib/sets/lists/debug/shl.mi cvs rdiff -u -r1.259 -r1.260 src/distrib/sets/lists/etc/mi cvs rdiff -u -r1.1691 -r1.1692 src/distrib/sets/lists/man/mi cvs rdiff -u -r1.1729 -r1.1730 src/doc/3RDPARTY cvs rdiff -u -r1.2701 -r1.2702 src/doc/CHANGES cvs rdiff -u -r1.157 -r1.158 src/etc/defaults/rc.conf cvs rdiff -u -r1.218 -r1.219 src/etc/mtree/NetBSD.dist.base cvs rdiff -u -r1.168 -r1.169 src/etc/mtree/special cvs rdiff -u -r1.70 -r1.71 src/external/bsd/Makefile cvs rdiff -u -r1.2 -r0 src/external/bsd/blacklist/Makefile cvs rdiff -u -r1.3 -r0 src/external/bsd/blacklist/Makefile.inc cvs rdiff -u -r1.8 -r0 src/external/bsd/blacklist/README cvs rdiff -u -r1.7 -r0 src/external/bsd/blacklist/TODO cvs rdiff -u -r1.11 -r0 src/external/bsd/blacklist/bin/Makefile cvs rdiff -u -r1.9 -r0 src/external/bsd/blacklist/bin/blacklistctl.8 cvs rdiff -u -r1.23 -r0 src/external/bsd/blacklist/bin/blacklistctl.c cvs rdiff -u -r1.24 -r0 src/external/bsd/blacklist/bin/blacklistd.8 cvs rdiff -u -r1.43 -r0 src/external/bsd/blacklist/bin/blacklistd.c cvs rdiff -u -r1.10 -r0 src/external/bsd/blacklist/bin/blacklistd.conf.5 \ src/external/bsd/blacklist/bin/support.c cvs rdiff -u -r1.31 -r0 src/external/bsd/blacklist/bin/conf.c cvs rdiff -u -r1.6 -r0 src/external/bsd/blacklist/bin/conf.h cvs rdiff -u -r1.5 -r0 src/external/bsd/blacklist/bin/internal.c \ src/external/bsd/blacklist/bin/run.h \ src/external/bsd/blacklist/bin/state.h cvs rdiff -u -r1.14 -r0 src/external/bsd/blacklist/bin/internal.h cvs rdiff -u -r1.15 -r0 src/external/bsd/blacklist/bin/run.c cvs rdiff -u -r1.19 -r0 src/external/bsd/blacklist/bin/state.c cvs rdiff -u -r1.7 -r0 src/external/bsd/blacklist/bin/support.h cvs rdiff -u -r1.1 -r0 src/external/bsd/blacklist/diff/ftpd.diff \ src/external/bsd/blacklist/diff/postfix.diff cvs rdiff -u -r1.6 -r0 src/external/bsd/blacklist/diff/named.diff cvs rdiff -u -r1.3 -r0 src/external/bsd/blacklist/diff/proftpd.diff cvs rdiff -u -r1.10 -r0 src/external/bsd/blacklist/diff/ssh.diff cvs rdiff -u -r1.3 -r0 src/external/bsd/blacklist/etc/Makefile cvs rdiff -u -r1.6 -r0 src/external/bsd/blacklist/etc/blacklistd.conf cvs rdiff -u -r1.1 -r0 src/external/bsd/blacklist/etc/npf.conf cvs rdiff -u -r1.1 -r0 src/external/bsd/blacklist/etc/rc.d/Makefile cvs rdiff -u -r1.2 -r0 src/external/bsd/blackl
CVS commit: src/external/bsd/blocklist
Module Name:src Committed By: christos Date: Mon Jun 15 02:29:45 UTC 2020 Modified Files: src/external/bsd/blocklist: Makefile.inc src/external/bsd/blocklist/bin: blocklistctl.8 blocklistd.8 blocklistd.conf.5 src/external/bsd/blocklist/diff: ftpd.diff named.diff postfix.diff proftpd.diff ssh.diff src/external/bsd/blocklist/include: blocklist.h src/external/bsd/blocklist/lib: blocklist.c libblocklist.3 Log Message: missed the capitalized ones. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/blocklist/Makefile.inc cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/blocklist/bin/blocklistctl.8 \ src/external/bsd/blocklist/bin/blocklistd.8 \ src/external/bsd/blocklist/bin/blocklistd.conf.5 cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/blocklist/diff/ftpd.diff \ src/external/bsd/blocklist/diff/named.diff \ src/external/bsd/blocklist/diff/postfix.diff \ src/external/bsd/blocklist/diff/proftpd.diff \ src/external/bsd/blocklist/diff/ssh.diff cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/blocklist/include/blocklist.h cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/blocklist/lib/blocklist.c \ src/external/bsd/blocklist/lib/libblocklist.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: christos Date: Mon Jun 15 03:39:00 UTC 2020 Modified Files: src: UPDATING Log Message: mention blacklist -> blocklist rename To generate a diff of this commit: cvs rdiff -u -r1.308 -r1.309 src/UPDATING Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.