CVS commit: src/sys/dev/pci/cxgb

2016-05-25 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Wed May 25 10:15:01 UTC 2016

Modified Files:
src/sys/dev/pci/cxgb: cxgb_osdep.h

Log Message:
Use M_GETCTX and M_SETCTX

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pci/cxgb/cxgb_osdep.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/fdt

2016-05-25 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed May 25 12:43:08 UTC 2016

Modified Files:
src/sys/dev/fdt: fdt_intr.c

Log Message:
Fix get_specifier_by_index to work with indexes greater than 0.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/fdt/fdt_intr.c

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



CVS commit: src/lib/libedit

2016-05-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May 25 13:01:11 UTC 2016

Modified Files:
src/lib/libedit: read.c

Log Message:
abstract read code to a single function (Ingo Schwarze)


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/lib/libedit/read.c

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



CVS commit: src/sys

2016-05-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May 25 17:25:32 UTC 2016

Modified Files:
src/sys/kern: exec_elf.c kern_pax.c
src/sys/sys: pax.h

Log Message:
randomize the location of the rtld.


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/sys/kern/exec_elf.c
cvs rdiff -u -r1.50 -r1.51 src/sys/kern/kern_pax.c
cvs rdiff -u -r1.21 -r1.22 src/sys/sys/pax.h

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



CVS commit: src/sys

2016-05-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May 25 17:43:58 UTC 2016

Modified Files:
src/sys/kern: kern_pax.c kern_proc.c subr_copy.c sys_process.c
src/sys/rump/librump/rumpkern: rumpcopy.c
src/sys/sys: pax.h
src/sys/uvm: uvm_extern.h uvm_io.c uvm_map.c uvm_map.h

Log Message:
Introduce security.pax.mprotect.ptrace sysctl which can be used to bypass
mprotect settings so that debuggers can write to the text segment of traced
processes so that they can insert breakpoints. Turned off by default.
Ok: chuq (for now)


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/kern/kern_pax.c
cvs rdiff -u -r1.195 -r1.196 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.6 -r1.7 src/sys/kern/subr_copy.c
cvs rdiff -u -r1.168 -r1.169 src/sys/kern/sys_process.c
cvs rdiff -u -r1.21 -r1.22 src/sys/rump/librump/rumpkern/rumpcopy.c
cvs rdiff -u -r1.22 -r1.23 src/sys/sys/pax.h
cvs rdiff -u -r1.196 -r1.197 src/sys/uvm/uvm_extern.h
cvs rdiff -u -r1.27 -r1.28 src/sys/uvm/uvm_io.c
cvs rdiff -u -r1.336 -r1.337 src/sys/uvm/uvm_map.c
cvs rdiff -u -r1.72 -r1.73 src/sys/uvm/uvm_map.h

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



CVS commit: src/sys/external/bsd/acpica/dist

2016-05-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May 25 18:35:13 UTC 2016

Modified Files:
src/sys/external/bsd/acpica/dist/hardware: hwregs.c
src/sys/external/bsd/acpica/dist/include: acmacros.h

Log Message:
Apply patch https://github.com/acpica/acpica/commit/\
c450c13615f7af0673230041da4216b3de5bc4d3.patch

This patch fixes 2 issues in AccessWidth/BitOffset support and adds
comments to justify the BitOffset/BitWidth style macro usages. Lv Zheng.

This patch introduces ACPI_IS_ALIGNED() macro. Lv Zheng.

The old register descriptors are translated in AcpiTbInitGenericAddress()
with AccessWidth being filled with 0. This breaks code in
AcpiHwGetAccessBitWidth() when the registers are 16-bit IO ports and their
BitWidth fields are filled with 16. The rapid fix is meant to make code
written for AcpiHwGetAccessBitWidth() regression safer before the issue is
correctly fixed from AcpiTbInitGenericAddress(). Reported by
John Baldwin , Fixed by Lv Zheng ,
Tested by Jung-uk Kim .


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.7 -r1.2 \
src/sys/external/bsd/acpica/dist/hardware/hwregs.c
cvs rdiff -u -r1.9 -r1.10 src/sys/external/bsd/acpica/dist/include/acmacros.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/man7

2016-05-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May 25 19:52:32 UTC 2016

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Document security.pax.mprotect.ptrace


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/share/man/man7/sysctl.7

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



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

2016-05-25 Thread Takeshi Nakayama
Module Name:src
Committed By:   nakayama
Date:   Wed May 25 20:00:50 UTC 2016

Modified Files:
src/sys/arch/sparc64/conf: GENERIC GENERIC.DEBUG GENERIC.UP GENERIC32
GENERIC32.UP INSTALL MODULAR NONPLUS NONPLUS64

Log Message:
tabify, fix indent and remove trailing whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.186 -r1.187 src/sys/arch/sparc64/conf/GENERIC
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/sparc64/conf/GENERIC.DEBUG
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/sparc64/conf/GENERIC.UP \
src/sys/arch/sparc64/conf/GENERIC32.UP
cvs rdiff -u -r1.140 -r1.141 src/sys/arch/sparc64/conf/GENERIC32
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/sparc64/conf/INSTALL
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/sparc64/conf/MODULAR
cvs rdiff -u -r1.58 -r1.59 src/sys/arch/sparc64/conf/NONPLUS
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/sparc64/conf/NONPLUS64

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



CVS commit: src/sys

2016-05-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May 25 20:07:54 UTC 2016

Modified Files:
src/sys/kern: kern_exec.c kern_pax.c
src/sys/sys: pax.h

Log Message:
Give 0,1,2 for security.pax.mprotect.ptrace and make it default to 1
as documented in sysctl(7):
0 - ptrace does not affect mprotect
1 - (default) mprotect is disabled for processes that start executing from
the debugger (being traced)
2 - mprotect restrictions are relaxed for traced processes


To generate a diff of this commit:
cvs rdiff -u -r1.430 -r1.431 src/sys/kern/kern_exec.c
cvs rdiff -u -r1.52 -r1.53 src/sys/kern/kern_pax.c
cvs rdiff -u -r1.23 -r1.24 src/sys/sys/pax.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/man7

2016-05-25 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed May 25 20:47:57 UTC 2016

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Punctuation nit.


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/share/man/man7/sysctl.7

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



CVS commit: src/sys/kern

2016-05-25 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed May 25 20:49:00 UTC 2016

Modified Files:
src/sys/kern: kern_pax.c

Log Message:
Consistent indent.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/kern/kern_pax.c

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



CVS commit: src/external/gpl3/gcc/dist/gcc/cp

2016-05-25 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Wed May 25 20:57:34 UTC 2016

Modified Files:
src/external/gpl3/gcc/dist/gcc/cp: Make-lang.in cfns.gperf cfns.h
except.c

Log Message:
Fix building GCC-5.3 with GCC-6.1

Cherry-pick upstream patch:

>From 1e5f1089dec3af328fd03125d6778f666d0bd4e4 Mon Sep 17 00:00:00 2001
From: edlinger 
Date: Thu, 25 Feb 2016 15:33:50 +
Subject: [PATCH] 2016-02-25  Bernd Edlinger  

Backported from mainline
2016-02-19  Jakub Jelinek  
Bernd Edlinger  

* Make-lang.in: Invoke gperf with -L C++.
* cfns.gperf: Remove prototypes for hash and libc_name_p
inlines.
* cfns.h: Regenerated.
* except.c (nothrow_libfn_p): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@233720 
138bc75d-0d04-0410-961f-82ee72b054a4

Verified to work with GCC 5.3 and 6.1.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/dist/gcc/cp/Make-lang.in
cvs rdiff -u -r1.1.1.3 -r1.2 src/external/gpl3/gcc/dist/gcc/cp/cfns.gperf \
src/external/gpl3/gcc/dist/gcc/cp/cfns.h \
src/external/gpl3/gcc/dist/gcc/cp/except.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/sparc64/conf

2016-05-25 Thread Takeshi Nakayama
Module Name:src
Committed By:   nakayama
Date:   Thu May 26 04:26:05 UTC 2016

Modified Files:
src/sys/arch/sparc64/conf: GENERIC

Log Message:
sort


To generate a diff of this commit:
cvs rdiff -u -r1.187 -r1.188 src/sys/arch/sparc64/conf/GENERIC

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



CVS commit: src/sys/dev

2016-05-25 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu May 26 05:01:12 UTC 2016

Modified Files:
src/sys/dev/ic: ath.c athn.c atw.c awi.c bwi.c malo.c rt2560.c rt2661.c
rt2860.c wi.c
src/sys/dev/pci: if_iwm.c if_iwn.c if_rtwn.c if_wpi.c
src/sys/dev/usb: if_athn_usb.c if_atu.c if_otus.c if_rum.c if_run.c
if_upgt.c if_ural.c if_urtw.c if_urtwn.c if_zyd.c

Log Message:
Use M_GETCTX

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 src/sys/dev/ic/ath.c
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/ic/athn.c
cvs rdiff -u -r1.157 -r1.158 src/sys/dev/ic/atw.c
cvs rdiff -u -r1.88 -r1.89 src/sys/dev/ic/awi.c
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/ic/bwi.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/ic/malo.c
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/ic/rt2560.c
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/ic/rt2661.c
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/ic/rt2860.c
cvs rdiff -u -r1.237 -r1.238 src/sys/dev/ic/wi.c
cvs rdiff -u -r1.40 -r1.41 src/sys/dev/pci/if_iwm.c
cvs rdiff -u -r1.76 -r1.77 src/sys/dev/pci/if_iwn.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/if_rtwn.c
cvs rdiff -u -r1.71 -r1.72 src/sys/dev/pci/if_wpi.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/usb/if_athn_usb.c
cvs rdiff -u -r1.51 -r1.52 src/sys/dev/usb/if_atu.c
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/usb/if_otus.c
cvs rdiff -u -r1.52 -r1.53 src/sys/dev/usb/if_rum.c
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/usb/if_run.c
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/usb/if_upgt.c
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/usb/if_ural.c
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/usb/if_urtw.c
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/usb/if_urtwn.c
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/usb/if_zyd.c

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



CVS commit: src/sys

2016-05-25 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu May 26 05:04:46 UTC 2016

Modified Files:
src/sys/dev/ic: ath.c atw.c bwi.c malo.c rt2560.c rt2661.c rt2860.c
wi.c
src/sys/dev/pci: if_rtwn.c if_wpi.c
src/sys/dev/usb: if_athn_usb.c if_atu.c if_otus.c if_rum.c if_run.c
if_upgt.c if_ural.c if_urtw.c if_urtwn.c if_zyd.c
src/sys/sys: mbuf.h

Log Message:
Introduce M_CLEARCTX and use it instead of open-coding rcvif

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 src/sys/dev/ic/ath.c
cvs rdiff -u -r1.158 -r1.159 src/sys/dev/ic/atw.c
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/ic/bwi.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/ic/malo.c
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/ic/rt2560.c
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/ic/rt2661.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/ic/rt2860.c
cvs rdiff -u -r1.238 -r1.239 src/sys/dev/ic/wi.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/if_rtwn.c
cvs rdiff -u -r1.72 -r1.73 src/sys/dev/pci/if_wpi.c
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/usb/if_athn_usb.c
cvs rdiff -u -r1.52 -r1.53 src/sys/dev/usb/if_atu.c
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/usb/if_otus.c
cvs rdiff -u -r1.53 -r1.54 src/sys/dev/usb/if_rum.c
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/usb/if_run.c
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/usb/if_upgt.c
cvs rdiff -u -r1.47 -r1.48 src/sys/dev/usb/if_ural.c
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/usb/if_urtw.c
cvs rdiff -u -r1.43 -r1.44 src/sys/dev/usb/if_urtwn.c
cvs rdiff -u -r1.39 -r1.40 src/sys/dev/usb/if_zyd.c
cvs rdiff -u -r1.161 -r1.162 src/sys/sys/mbuf.h

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