CVS commit: src/sys/dev/mii

2019-01-16 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Jan 16 08:32:24 UTC 2019

Modified Files:
src/sys/dev/mii: mii.h

Log Message:
 Add MII_100T2CR and MII_GTCR's test mode definitions.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/mii/mii.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/mii

2019-01-16 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Jan 16 08:32:58 UTC 2019

Modified Files:
src/sys/dev/mii: ciphy.c ciphyreg.h

Log Message:
 The register bit definitions from register 0 to 15 in ciphyreg.h conform to
the 802.3 spec, so remove them and use mii.h's definition.
No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/mii/ciphy.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/mii/ciphyreg.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/mii

2019-01-16 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Jan 16 08:40:24 UTC 2019

Modified Files:
src/sys/dev/mii: ciphy.c

Log Message:
CIPHY_MII_BMCR -> MII_BMCR in #ifdef foo.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/mii/ciphy.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/mii

2019-01-16 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Jan 16 10:10:49 UTC 2019

Modified Files:
src/sys/dev/mii: rgephy.c urlphy.c

Log Message:
 Pass flags correctly. See also:
http://mail-index.netbsd.org/source-changes/2002/03/25/msg100515.html


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/mii/rgephy.c
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/mii/urlphy.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/sys/uvm

2019-01-16 Thread Santhosh Raju
Module Name:src
Committed By:   fox
Date:   Wed Jan 16 13:21:02 UTC 2019

Modified Files:
src/tests/sys/uvm: t_uvm_physseg.c

Log Message:
Fixed the build failures caused by incompatible type comparisons when
VM_PHYSSEG is > 1.

Reviewed by 


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/sys/uvm/t_uvm_physseg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/sys/uvm

2019-01-16 Thread Santhosh Raju
Module Name:src
Committed By:   fox
Date:   Wed Jan 16 13:35:51 UTC 2019

Modified Files:
src/tests/sys/uvm: t_uvm_physseg.c

Log Message:
Fixed issues with uvm_physseg_plug test case.

There is a condition check which failed for VM_PHYSSEG_MAX == 2 (not for
1 or 3 and above), in case of 2, pgs == slab + npages1 + npages3, so we
need to change ">" check to ">=" check.

Reviewed by 


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/sys/uvm/t_uvm_physseg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/sys/uvm

2019-01-16 Thread Santhosh Raju
Module Name:src
Committed By:   fox
Date:   Wed Jan 16 13:45:29 UTC 2019

Modified Files:
src/tests/sys/uvm: t_uvm_physseg.c

Log Message:
Fixed issues with uvm_physseg_atboot_free_leak test case.

"\n" in ATF discriptions make it behave in weird ways, like saying "this
test is bogus.", fixed the issue by removing the "\n".

Reviewed by 


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/sys/uvm/t_uvm_physseg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/sys/uvm

2019-01-16 Thread Santhosh Raju
Module Name:src
Committed By:   fox
Date:   Wed Jan 16 13:54:17 UTC 2019

Modified Files:
src/tests/sys/uvm: t_uvm_physseg.c

Log Message:
Fixed issues with uvm_page_physunload_delete_end test case.

1. "avail_start" and "start" were different, resulting in unreachable code in
uvm_page_physunload(), where the condition check "avail_start" < "end" fails.
The test has been fixed by setting "avail_start" and "start" to the same value.

2. If "start" is the address with end address being "start + 2", we can
unplug twice, the first paddr_t would be "start" and the second one would be
"start + 1". Modified the ATF_CHECK_EQ() to reflect these changes.

Reviewed by 


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/sys/uvm/t_uvm_physseg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2019-01-16 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Thu Jan 17 02:47:15 UTC 2019

Modified Files:
src/sys/kern: uipc_mbuf.c
src/sys/netinet: ip_input.c
src/sys/netinet6: ip6_input.c
src/sys/netipsec: ipsec.h ipsec_input.c
src/sys/sys: mbuf.h

Log Message:
Fix ipsecif(4) cannot apply input direction packet filter. Reviewed by 
ozaki-r@n.o and ryo@n.o.

Add ATF later.


To generate a diff of this commit:
cvs rdiff -u -r1.231 -r1.232 src/sys/kern/uipc_mbuf.c
cvs rdiff -u -r1.387 -r1.388 src/sys/netinet/ip_input.c
cvs rdiff -u -r1.206 -r1.207 src/sys/netinet6/ip6_input.c
cvs rdiff -u -r1.86 -r1.87 src/sys/netipsec/ipsec.h
cvs rdiff -u -r1.73 -r1.74 src/sys/netipsec/ipsec_input.c
cvs rdiff -u -r1.218 -r1.219 src/sys/sys/mbuf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2019-01-16 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Thu Jan 17 02:49:11 UTC 2019

Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/net: net_common.sh
src/tests/net/if_ipsec: Makefile
Added Files:
src/tests/net/if_ipsec: t_ipsec_pfil.sh

Log Message:
Add ATF for ipsecif(4) pfil.


To generate a diff of this commit:
cvs rdiff -u -r1.802 -r1.803 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.28 -r1.29 src/tests/net/net_common.sh
cvs rdiff -u -r1.2 -r1.3 src/tests/net/if_ipsec/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/net/if_ipsec/t_ipsec_pfil.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/btpand

2019-01-16 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Thu Jan 17 05:52:22 UTC 2019

Modified Files:
src/usr.sbin/btpand: btpand.8

Log Message:
btpand(8): replace dhclient(8) references with dhcpcd(8)

Addresses part of PR misc/53669.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/btpand/btpand.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man8

2019-01-16 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Thu Jan 17 07:05:25 UTC 2019

Modified Files:
src/share/man/man8: compat_netbsd32.8

Log Message:
compat_netbsd32(8): brief adjustments concerning ARM binary support.
At present, aarch64 doesn't actually offer OABI compatibility. Also
note that this provides OABI vs. EABI compatibility for 32-bit ARM
ports. Addresses the remainder of PR misc/48968.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/share/man/man8/compat_netbsd32.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/libexec/httpd

2019-01-16 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jan 17 07:34:06 UTC 2019

Modified Files:
src/libexec/httpd: CHANGES cgi-bozo.c daemon-bozo.c

Log Message:
- fix CGI '+' param and error handling.
- remove unused parameter to daemon_poll_err().

both from "Rajeev V. Pillai" 


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/libexec/httpd/CHANGES
cvs rdiff -u -r1.45 -r1.46 src/libexec/httpd/cgi-bozo.c
cvs rdiff -u -r1.19 -r1.20 src/libexec/httpd/daemon-bozo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/libexec/httpd

2019-01-16 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jan 17 07:39:00 UTC 2019

Modified Files:
src/libexec/httpd: Makefile
src/libexec/httpd/testsuite: t11.out

Log Message:
add 'check' target to toplevel makefile.

fix the t11.out output now that CGI parsing works better.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/libexec/httpd/Makefile
cvs rdiff -u -r1.1 -r1.2 src/libexec/httpd/testsuite/t11.out

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/libexec/httpd

2019-01-16 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jan 17 07:46:16 UTC 2019

Modified Files:
src/libexec/httpd: CHANGES bozohttpd.8 bozohttpd.c cgi-bozo.c
daemon-bozo.c dir-index-bozo.c

Log Message:
- call this 20190116
- adjust the directory indexing again:
  - don't include "index.html" in html headers
  - additional escaping of names
  - re-add top/bottom borders
  - adds an aquamarine table header
  - Zebra-stripes table rows using CSS instead of code
  all from "Rajeev V. Pillai" 


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/libexec/httpd/CHANGES
cvs rdiff -u -r1.77 -r1.78 src/libexec/httpd/bozohttpd.8
cvs rdiff -u -r1.107 -r1.108 src/libexec/httpd/bozohttpd.c
cvs rdiff -u -r1.46 -r1.47 src/libexec/httpd/cgi-bozo.c
cvs rdiff -u -r1.20 -r1.21 src/libexec/httpd/daemon-bozo.c
cvs rdiff -u -r1.29 -r1.30 src/libexec/httpd/dir-index-bozo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.