CVS commit: src/sys/netinet6

2018-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 26 07:01:38 UTC 2018 Modified Files: src/sys/netinet6: ip6_input.c Log Message: Move the address checks into one function, ip6_badaddr(). In this function, reinstate the "IPv4-compatible IPv6 addresses" check; these addresse

CVS commit: src/sys

2018-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 26 07:28:21 UTC 2018 Modified Files: src/sys/netinet: ip_icmp.c src/sys/netinet6: icmp6.c ip6_mroute.c Log Message: Use M_UNWRITABLE, no functional change. To generate a diff of this commit: cvs rdiff -u -r1.168 -r

CVS commit: src/sys/kern

2018-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 26 07:46:24 UTC 2018 Modified Files: src/sys/kern: uipc_mbuf.c Log Message: Change comment, to clearly say that m_prepend should not be used directly. To generate a diff of this commit: cvs rdiff -u -r1.193 -r1.194 src/sys

CVS commit: src/share/man/man9

2018-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 26 07:48:21 UTC 2018 Modified Files: src/share/man/man9: mbuf.9 Log Message: Remove m_prepend from the man page, it's a helper, and is not supposed to be part of the API. To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: src/sys/compat/common

2018-04-26 Thread Roy Marples
Module Name:src Committed By: roy Date: Thu Apr 26 08:11:18 UTC 2018 Modified Files: src/sys/compat/common: uipc_syscalls_50.c Log Message: Test for valid interface for ioctls that demand it. Thanks to Robert Swindells for the patch. To generate a diff of this commit: c

CVS commit: src

2018-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 26 08:13:30 UTC 2018 Modified Files: src/share/man/man9: mbuf.9 src/sys/kern: uipc_mbuf.c Log Message: Stop adding '0's in parameter and function names, that's just misleading. Some remain, they need more investigati

CVS commit: src/sys/kern

2018-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 26 08:31:36 UTC 2018 Modified Files: src/sys/kern: uipc_mbuf.c Log Message: Rename m_copyback0 -> m_copyback_internal M_COPYBACK0_* -> CB_* That's a lot less misleading. While here, fix a bunch of panic mes

CVS commit: [pgoyette-compat] src/sys/compat/common

2018-04-26 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Apr 26 09:37:22 UTC 2018 Modified Files: src/sys/compat/common [pgoyette-compat]: uipc_syscalls_50.c Log Message: Import rev 1.5 from HEAD To generate a diff of this commit: cvs rdiff -u -r1.3.56.6 -r1.3.56.7 src/sys/compa

CVS commit: src/share/man/man9

2018-04-26 Thread Sean Cole
Module Name:src Committed By: scole Date: Thu Apr 26 14:59:11 UTC 2018 Modified Files: src/share/man/man9: cpu_lwp_fork.9 Log Message: Rename "cpu_switch" to "cpu_switchto" To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/share/man/man9/cpu_lwp_fork.9 Ple

CVS commit: src/sys/arch/ia64/include

2018-04-26 Thread Sean Cole
Module Name:src Committed By: scole Date: Thu Apr 26 18:06:25 UTC 2018 Modified Files: src/sys/arch/ia64/include: mcontext.h Log Message: Update some of the _UC_MACHINE* macros even though gregs[] aren't tied to anything yet To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/macppc/include

2018-04-26 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Apr 26 18:33:02 UTC 2018 Modified Files: src/sys/arch/macppc/include: param.h Log Message: bump message buffer size To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/arch/macppc/include/param.h Please

CVS commit: src/sys

2018-04-26 Thread Alexander Nasonov
Module Name:src Committed By: alnsn Date: Thu Apr 26 18:54:09 UTC 2018 Modified Files: src/sys/arch/x86/x86: svs.c src/sys/secmodel/securelevel: secmodel_securelevel.c src/sys/secmodel/suser: secmodel_suser.c src/sys/sys: kauth.h Log Message: Add KA

CVS commit: src/share/man/man9

2018-04-26 Thread Alexander Nasonov
Module Name:src Committed By: alnsn Date: Thu Apr 26 18:56:18 UTC 2018 Modified Files: src/share/man/man9: secmodel_securelevel.9 Log Message: Add SVS. It may not be disabled at securelevel 1 and above. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sh

CVS commit: src/sys

2018-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 26 19:13:34 UTC 2018 Modified Files: src/sys/kern: uipc_mbuf.c src/sys/sys: mbuf.h Log Message: Change MCLGET, so that it calls m_clget instead of doing the work in a macro. Macros are inefficient when they contain t

CVS commit: src/sys

2018-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 26 19:22:17 UTC 2018 Modified Files: src/sys/kern: uipc_socket.c src/sys/netinet: ip_input.c src/sys/netinet6: ip6_input.c src/sys/sys: socketvar.h Log Message: Remove unused mbuf argument from sbsave

CVS commit: src/sys/fs/nfs/common

2018-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 26 19:27:04 UTC 2018 Modified Files: src/sys/fs/nfs/common: nfs_commonsubs.c Log Message: Fix inverted arguments in MGET(). To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/fs/nfs/common/nfs_commonsubs.c

CVS commit: src/sys/arch/arm/gemini

2018-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 26 19:33:02 UTC 2018 Modified Files: src/sys/arch/arm/gemini: gemini_gmac.c Log Message: Fix inverted arguments in m_gethdr(). To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/arm/gemini/gemini_gm

CVS commit: src/sys

2018-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 26 19:50:09 UTC 2018 Modified Files: src/sys/kern: uipc_socket.c src/sys/netinet6: icmp6.c ip6_forward.c ip6_mroute.c ip6_output.c raw_ip6.c src/sys/netipsec: keysock.c Log Message: Stop using m_c

CVS commit: src/sys/net

2018-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 26 19:56:55 UTC 2018 Modified Files: src/sys/net: if_arcsubr.c if_ethersubr.c if_fddisubr.c if_ieee1394subr.c if_tokensubr.c raw_usrreq.c Log Message: m_copy -> m_copym To generate a diff of this commit: cvs rd

CVS commit: src/sys/nfs

2018-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 26 20:10:44 UTC 2018 Modified Files: src/sys/nfs: nfs_subs.c Log Message: Hum. This should be M_READONLY, not M_ROMAP. M_ROMAP tells us whether the mbuf storage is mapped on a read-only page. But an mbuf can still be read-o

CVS commit: src/sys/net

2018-04-26 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Apr 27 00:06:40 UTC 2018 Modified Files: src/sys/net: if_ipsec.c Log Message: Fix "how" argument of MGET(). Pointed out by maxv@n.o, thanks. MGET() does not have M_ZERO flag, so add memset when it is required. To generat

CVS commit: src/share/man/man9

2018-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Apr 27 06:06:43 UTC 2018 Modified Files: src/share/man/man9: mbuf.9 Log Message: Improve the documentation of m_copypacket(), to say explicitly that a header must be present, contrary to m_copym(). While here fix a variable nam

CVS commit: src/sys/kern

2018-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Apr 27 06:15:49 UTC 2018 Modified Files: src/sys/kern: uipc_mbuf.c Log Message: Panic in m_copypacket if no header is present, that's a requirement. To generate a diff of this commit: cvs rdiff -u -r1.197 -r1.198 src/sys/kern/

CVS commit: src/sys/arch/aarch64/include

2018-04-26 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Apr 27 06:23:35 UTC 2018 Modified Files: src/sys/arch/aarch64/include: types.h Log Message: define __HAVE_ATOMIC64_OPS pointed out by nonaka@, thanks To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/aarc

CVS commit: src/sys/kern

2018-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Apr 27 06:27:36 UTC 2018 Modified Files: src/sys/kern: uipc_mbuf.c Log Message: Style and simplify. To generate a diff of this commit: cvs rdiff -u -r1.198 -r1.199 src/sys/kern/uipc_mbuf.c Please note that diffs are not publi

CVS commit: src/sys/kern

2018-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Apr 27 06:36:16 UTC 2018 Modified Files: src/sys/kern: uipc_mbuf.c Log Message: Simplify m_copydata, use unsigned int, and change its last argument to match that of the man page. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/vax/vax

2018-04-26 Thread Anders Magnusson
Module Name:src Committed By: ragge Date: Fri Apr 27 06:36:32 UTC 2018 Removed Files: src/sys/arch/vax/vax: in4_cksum.c in_cksum.c yyyin_cksum.c Log Message: Remove the old unneccessary cksum files. To generate a diff of this commit: cvs rdiff -u -r1.12 -r0 src/sys/arch/

CVS commit: src/sys

2018-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Apr 27 06:56:21 UTC 2018 Modified Files: src/sys/kern: uipc_mbuf.c src/sys/net80211: ieee80211_netbsd.c ieee80211_netbsd.h src/sys/sys: mbuf.h Log Message: Move m_align and m_append into iee80211_netbsd.c. They a