CVS commit: src/sys/arch/amd64/stand/prekern

2017-11-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Nov 21 07:56:05 UTC 2017 Modified Files: src/sys/arch/amd64/stand/prekern: elf.c mm.c prekern.h Log Message: Clean up and add some ASSERTs. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/amd64/stand

CVS commit: src/external/bsd/nvi/dist/ex

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 07:48:07 UTC 2017 Modified Files: src/external/bsd/nvi/dist/ex: ex_join.c Log Message: Use ISMULTIWIDTH() macro. No binary changes. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/bsd/nvi/dist/ex

CVS commit: src/external/bsd/nvi/dist

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 07:43:47 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: key.h src/external/bsd/nvi/dist/vi: v_word.c Log Message: A boundary between single- and multi-width chars is regarded as a word boundary. Suggest

CVS commit: src/sys/netipsec

2017-11-20 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Tue Nov 21 07:33:06 UTC 2017 Modified Files: src/sys/netipsec: key.c Log Message: Call key_sendup_mbuf immediately unless key_acquire is called in softint We need to defer it only if it's called in softint to avoid deadlock. T

CVS commit: src/sys/netipsec

2017-11-20 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Tue Nov 21 07:25:17 UTC 2017 Modified Files: src/sys/netipsec: key.c Log Message: Simply the code by avoiding unnecessary error checks - Remove unnecessary m_pullup for self-allocated mbufs - Replace some if-fails-return sanity

CVS commit: src/sys/netipsec

2017-11-20 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Tue Nov 21 07:20:17 UTC 2017 Modified Files: src/sys/netipsec: key.c Log Message: Get rid of unnecessary NULL checks that are obsoleted by M_WAITOK To generate a diff of this commit: cvs rdiff -u -r1.239 -r1.240 src/sys/netipse

CVS commit: src/sys/netipsec

2017-11-20 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Tue Nov 21 07:03:08 UTC 2017 Modified Files: src/sys/netipsec: ipsec.c key.c key.h Log Message: Use M_WAITOK to allocate mbufs wherever sleepable Further changes will get rid of unnecessary NULL checks then. To generate a diff

CVS commit: src/sys/netipsec

2017-11-20 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Tue Nov 21 06:52:51 UTC 2017 Modified Files: src/sys/netipsec: key.c Log Message: Add missing splx to key_spdexpire To generate a diff of this commit: cvs rdiff -u -r1.237 -r1.238 src/sys/netipsec/key.c Please note that diffs

CVS commit: src/sys/netipsec

2017-11-20 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Tue Nov 21 06:51:54 UTC 2017 Modified Files: src/sys/netipsec: key.c Log Message: Fix error handling of MCLGET in key_alloc_mbuf To generate a diff of this commit: cvs rdiff -u -r1.236 -r1.237 src/sys/netipsec/key.c Please not

CVS commit: src/sys/netipsec

2017-11-20 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Tue Nov 21 06:49:56 UTC 2017 Modified Files: src/sys/netipsec: key.c Log Message: Provide a function to call MGETHDR and MCLGET The change fixes two usages of MGETHDR that don't check whether a mbuf is really allocated before pa

CVS commit: src/external/bsd/nvi/dist/vi

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 06:35:22 UTC 2017 Modified Files: src/external/bsd/nvi/dist/vi: v_txt.c Log Message: Fix screen corruption by rewriting only a part of a multi-width character. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/bin/sh

2017-11-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Nov 21 03:42:39 UTC 2017 Modified Files: src/bin/sh: option.list options.c output.c output.h Log Message: Remove the -X option from SMALL shells (as used on boot floppies, some other install media, mini-roots, etc.) It is unlik

CVS commit: src/external/bsd/tre/lib

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 03:09:41 UTC 2017 Modified Files: src/external/bsd/tre/lib: Makefile Log Message: Bump WARNS to 5 (via ../Makefile.inc). Remove unnecessary -Wno-stack-protector flag. To generate a diff of this commit: cvs rdiff -u -r1.2

CVS commit: src/external/bsd/tre

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 03:03:31 UTC 2017 Modified Files: src/external/bsd/tre: Makefile.inc Log Message: Bump WARNS to 5. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/tre/Makefile.inc Please note that diffs are

CVS commit: src/external/bsd/tre/dist/lib

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 02:53:20 UTC 2017 Modified Files: src/external/bsd/tre/dist/lib: tre.h Log Message: Add REG_INVARG and REG_STARTEND ifndef TRE_USE_SYSTEM_REGEX_H. No functional changes at the moment. To generate a diff of this commit: c

CVS commit: src/external/bsd/tre/dist/lib

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 02:50:35 UTC 2017 Modified Files: src/external/bsd/tre/dist/lib: tre-match-approx.c tre-match-parallel.c Log Message: Some systems need for SIZE_MAX. No functional changes on NetBSD. To generate a diff of this commit: c

CVS commit: src/external/bsd/nvi/usr.bin/nvi

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 02:47:14 UTC 2017 Modified Files: src/external/bsd/nvi/usr.bin/nvi: Makefile Log Message: Bump WARNS to 5. Add -Wno-old-style-definition to regex.c for gcc. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 s

CVS commit: src/external/bsd/nvi/usr.bin/nvi

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 02:45:03 UTC 2017 Modified Files: src/external/bsd/nvi/usr.bin/nvi: Makefile Log Message: Enable -Wuninitialized -Wformat-security for clang. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/external/bsd

CVS commit: src/external/bsd/nvi/usr.bin/nvi

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 02:44:13 UTC 2017 Modified Files: src/external/bsd/nvi/usr.bin/nvi: Makefile Log Message: We always need -Wno-format-nonliteral for v_increment.c whether compiler is gcc or clang. To generate a diff of this commit: cvs r

CVS commit: src/external/bsd/nvi/usr.bin/nvi

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 02:42:08 UTC 2017 Modified Files: src/external/bsd/nvi/usr.bin/nvi: Makefile Log Message: Cosmetic changes. No functional changes. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/external/bsd/nvi/usr.bi

CVS commit: src/external/bsd/nvi/dist/common

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 02:36:45 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: conv.c Log Message: Enable to compile & run without USE_ICONV. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/bsd/nvi/dist/co

CVS commit: src/external/bsd/nvi/dist/common

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 02:11:44 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: conv.c Log Message: Fix resource leaks due to missing of iconv_close(3). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/bsd/nv

CVS commit: src/external/bsd/nvi/dist/common

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 02:04:39 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: mem.h Log Message: Fix -Wsign-compare issue for BINC_GOTO in a similar manner to BINC_RET. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 s

CVS commit: src/external/bsd/nvi/dist/common

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 02:00:29 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: conv.c Log Message: Fix use of uninitialized variable, found by clang. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/bsd/nvi/

CVS commit: src/sys/arch/evbarm/conf

2017-11-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Nov 21 00:47:38 UTC 2017 Modified Files: src/sys/arch/evbarm/conf: OPENRD Log Message: remove children of mvsdio To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbarm/conf/OPENRD Please note that

CVS commit: src/sbin/raidctl

2017-11-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Nov 20 22:16:23 UTC 2017 Modified Files: src/sbin/raidctl: rf_configure.c Log Message: White space and comment formatting. NFC. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sbin/raidctl/rf_configure.c Pl

CVS commit: src/sbin/mount

2017-11-20 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon Nov 20 21:59:30 UTC 2017 Modified Files: src/sbin/mount: mount.8 Log Message: Remove Tn. Remove undefined .Sp. Use tagged list instead of hanging one with .brs. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/

CVS commit: src/usr.bin/ftp

2017-11-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Nov 20 21:11:37 UTC 2017 Modified Files: src/usr.bin/ftp: cmds.c ftp_var.h util.c Log Message: Issue PWD commands to the server only when we actually need the results, not speculatively, just in case we might. Allows operation w

CVS commit: src/sys/uvm

2017-11-20 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Nov 20 21:06:54 UTC 2017 Modified Files: src/sys/uvm: uvm_fault.c Log Message: In uvm_fault_upper_enter(), if pmap_enter(PMAP_CANFAIL) fails, assert that the pmap did not leave around a now-stale pmap mapping for an old page. If

CVS commit: src/sys/arch/x86/x86

2017-11-20 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Nov 20 20:57:58 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: In pmap_enter_ma(), only try to allocate pves if we might need them, and even if that fails, only fail the operation if we later discover that we

CVS commit: src/sbin/raidctl

2017-11-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 20 19:10:45 UTC 2017 Modified Files: src/sbin/raidctl: rf_configure.c rf_configure.h Log Message: stop using magic constants wrap long lines use warn{,x} make static knf To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sbin/raidctl

2017-11-20 Thread Frank Kardel
Module Name:src Committed By: kardel Date: Mon Nov 20 18:37:56 UTC 2017 Modified Files: src/sbin/raidctl: raidctl.8 rf_configure.c Log Message: support NAME= syntax for disks and spares To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/sbin/raidctl/raidct

CVS commit: src/lib/libc/sys

2017-11-20 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Nov 20 17:03:31 UTC 2017 Modified Files: src/lib/libc/sys: mknod.2 Log Message: .Xr makedev 3 To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/lib/libc/sys/mknod.2 Please note that diffs are not public domain;

CVS commit: src/sys/rump/librump/rumpvfs

2017-11-20 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Nov 20 17:00:36 UTC 2017 Modified Files: src/sys/rump/librump/rumpvfs: rumpfs.c Log Message: When truncating a file make sure to update mtime. This fixes PR kern/51762 for rumpfs. To generate a diff of this commit: cvs rdiff

CVS commit: src/sbin/mount

2017-11-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 20 16:41:55 UTC 2017 Modified Files: src/sbin/mount: mount.8 Log Message: Clarify the program naming convention, and use consistently instead of XXX. To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/s

CVS commit: src

2017-11-20 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon Nov 20 09:01:20 UTC 2017 Modified Files: src/doc: TODO.smpnet src/sys/netinet6: in6_src.c Log Message: Mention IPv6 address selection policy isn't MP-safe yet Though it's not a problem until a policy is set. To gen