Re: svn commit: r288966 - head/share/mk

2015-10-06 Thread Garrett Cooper
> On Oct 6, 2015, at 17:46, Bryan Drewery wrote: ... > I think we can use DPSRCS as well for this. If it's something that needs to build before depend, yes. Thanks! -NGie ___ svn-src-head@freebsd.org mailing list

svn commit: r288975 - head/sys/dev/otus

2015-10-06 Thread Kevin Lo
Author: kevlo Date: Wed Oct 7 03:33:25 2015 New Revision: 288975 URL: https://svnweb.freebsd.org/changeset/base/288975 Log: Declare odata as a pointer type instead of a pointer to pointer. Reviewed by: adrian Modified: head/sys/dev/otus/if_otusreg.h Modified:

svn commit: r288950 - head/usr.bin/truss

2015-10-06 Thread John Baldwin
Author: jhb Date: Tue Oct 6 19:31:07 2015 New Revision: 288950 URL: https://svnweb.freebsd.org/changeset/base/288950 Log: Group the decoded system calls by ABI and sort the calls within each ABI. Reviewed by: bdrewery Glanced at by:kib Differential Revision:

Re: svn commit: r288911 - head/share/mk

2015-10-06 Thread Bryan Drewery
On 10/6/2015 11:02 AM, Bryan Drewery wrote: > On 10/5/2015 9:18 PM, Warner Losh wrote: >> Author: imp >> Date: Tue Oct 6 04:18:48 2015 >> New Revision: 288911 >> URL: https://svnweb.freebsd.org/changeset/base/288911 >> >> Log: >> Previous versions of bsd.own.mk included bsd.compiler.mk >>

svn commit: r288948 - head/release/doc/en_US.ISO8859-1/relnotes

2015-10-06 Thread Glen Barber
Author: gjb Date: Tue Oct 6 19:07:10 2015 New Revision: 288948 URL: https://svnweb.freebsd.org/changeset/base/288948 Log: Update the last check revision marker. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified:

svn commit: r288937 - head/release/doc/en_US.ISO8859-1/relnotes

2015-10-06 Thread Glen Barber
Author: gjb Date: Tue Oct 6 17:42:31 2015 New Revision: 288937 URL: https://svnweb.freebsd.org/changeset/base/288937 Log: Document r288669, stack protector "strong" level. Help from:pfg Sponsored by: The FreeBSD Foundation Modified:

svn commit: r288936 - head/release/doc/en_US.ISO8859-1/relnotes

2015-10-06 Thread Glen Barber
Author: gjb Date: Tue Oct 6 17:42:30 2015 New Revision: 288936 URL: https://svnweb.freebsd.org/changeset/base/288936 Log: Document r288654, lagg(4) fec removal. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified:

Re: svn commit: r288911 - head/share/mk

2015-10-06 Thread Bryan Drewery
On 10/5/2015 9:18 PM, Warner Losh wrote: > Author: imp > Date: Tue Oct 6 04:18:48 2015 > New Revision: 288911 > URL: https://svnweb.freebsd.org/changeset/base/288911 > > Log: > Previous versions of bsd.own.mk included bsd.compiler.mk > only when _WITHOUT_SRCCONF wasn't defined. Restore this

svn commit: r288949 - in head: sys/kern sys/sys tests/sys/kern

2015-10-06 Thread John Baldwin
Author: jhb Date: Tue Oct 6 19:29:05 2015 New Revision: 288949 URL: https://svnweb.freebsd.org/changeset/base/288949 Log: Fix various edge cases related to system call tracing. - Always set td_dbg_sc_* when P_TRACED is set on system call entry even if the debugger is not tracing system

svn commit: r288913 - in head: lib/libxo usr.bin/xo

2015-10-06 Thread Garrett Cooper
Author: ngie Date: Tue Oct 6 07:28:54 2015 New Revision: 288913 URL: https://svnweb.freebsd.org/changeset/base/288913 Log: Use LIBXOSRC instead of LIBXO when defining the path to contrib/libxo The latter is already defined in bsd.libnames.mk, so avoid the conflict in case someone

Re: svn commit: r288911 - head/share/mk

2015-10-06 Thread Simon J. Gerraty
Bryan Drewery wrote: > Why would anyone build ports in a sub-dir of src? It's convenient for a > vendor building their own product that needs their own ports tree. Some > decisions can't easily be changed; if the root of the source code > checkout is already src/, there is

Re: svn commit: r288653 - in head/sys/dev/drm2: . i915

2015-10-06 Thread Jean-Sébastien Pédron
On 04.10.2015 11:46, Konstantin Belousov wrote: > On Sun, Oct 04, 2015 at 07:45:37AM +, Adrian Chadd wrote: >> * Add missing case statement (gen == 3) in intel_gpu_reset(). > This seems to be wrong. The i915 and G33 chipsets do not have registers > declared in the 8xx chipset documentation.

Re: svn commit: r288911 - head/share/mk

2015-10-06 Thread Warner Losh
> On Oct 6, 2015, at 12:02 PM, Bryan Drewery wrote: > > On 10/5/2015 9:18 PM, Warner Losh wrote: >> Author: imp >> Date: Tue Oct 6 04:18:48 2015 >> New Revision: 288911 >> URL: https://svnweb.freebsd.org/changeset/base/288911 >> >> Log: >> Previous versions of

Re: svn commit: r288653 - in head/sys/dev/drm2: . i915

2015-10-06 Thread Jean-Sébastien Pédron
On 06.10.2015 22:20, Adrian Chadd wrote: > ok, so what should we rip out? That '3' case? Yes. Regarding M_WAITOK vs. M_NOWAIT, if we decide to restore M_WAITOK, the error check must be retained so the diff with Linux remains small. -- Jean-Sébastien Pédron signature.asc Description: OpenPGP

Re: svn commit: r288653 - in head/sys/dev/drm2: . i915

2015-10-06 Thread Adrian Chadd
ok, so what should we rip out? That '3' case? -a On 6 October 2015 at 13:19, Jean-Sébastien Pédron wrote: > On 04.10.2015 11:46, Konstantin Belousov wrote: >> On Sun, Oct 04, 2015 at 07:45:37AM +, Adrian Chadd wrote: >>> * Add missing case statement (gen == 3) in

Re: svn commit: r288911 - head/share/mk

2015-10-06 Thread Bryan Drewery
On 10/6/2015 12:50 PM, Simon J. Gerraty wrote: > Bryan Drewery wrote: >> Why would anyone build ports in a sub-dir of src? It's convenient for a >> vendor building their own product that needs their own ports tree. Some >> decisions can't easily be changed; if the root of

Re: svn commit: r288947 - head/release/doc/en_US.ISO8859-1/relnotes

2015-10-06 Thread Glen Barber
On Tue, Oct 06, 2015 at 03:49:19PM -0400, Ed Maste wrote: > On 6 October 2015 at 15:06, Glen Barber wrote: > > Author: gjb > > Date: Tue Oct 6 19:06:34 2015 > > New Revision: 288947 > > URL: https://svnweb.freebsd.org/changeset/base/288947 > > > > Log: > > Document r288943,

svn commit: r288951 - head/lib/clang

2015-10-06 Thread Dimitry Andric
Author: dim Date: Tue Oct 6 19:49:53 2015 New Revision: 288951 URL: https://svnweb.freebsd.org/changeset/base/288951 Log: For llvm/clang libraries, skip including tablegen-produced .d files when the target is "make depend". This works around errors during incremental make depend of some

Re: svn commit: r288947 - head/release/doc/en_US.ISO8859-1/relnotes

2015-10-06 Thread Ed Maste
On 6 October 2015 at 15:06, Glen Barber wrote: > Author: gjb > Date: Tue Oct 6 19:06:34 2015 > New Revision: 288947 > URL: https://svnweb.freebsd.org/changeset/base/288947 > > Log: > Document r288943, clang, llvm, etc. updated to upstream 3.7.0. I think we ought to list all

svn commit: r288952 - head/sys/dev/drm2/i915

2015-10-06 Thread Adrian Chadd
Author: adrian Date: Tue Oct 6 20:58:45 2015 New Revision: 288952 URL: https://svnweb.freebsd.org/changeset/base/288952 Log: Remove gen3 check introduced in r286653. kib spotted this and noticed it's not correct. Submitted by: kib Reviewed by: dumbbell Modified:

svn commit: r288957 - in head: lib/libc/sys usr.bin/kdump usr.bin/truss

2015-10-06 Thread Bryan Drewery
Author: bdrewery Date: Tue Oct 6 21:58:38 2015 New Revision: 288957 URL: https://svnweb.freebsd.org/changeset/base/288957 Log: truss: Add support for utrace(2). This uses the kdump(1) utrace support code directly until a common library is created. This allows malloc(3) tracing with

Re: svn commit: r288911 - head/share/mk

2015-10-06 Thread Simon J. Gerraty
Warner Losh wrote: > > The sys.mk change to include src.conf breaks building ports in a sub-dir > > of src. Meaning, /usr/src/ports/. The MAKESYSPATH with '.../share/mk' > > finds /usr/src/share/mk and runs off with all of the src.*.mk stuff long > > before the port Makefile

svn commit: r288954 - head/sys/sys

2015-10-06 Thread John Baldwin
Author: jhb Date: Tue Oct 6 21:36:45 2015 New Revision: 288954 URL: https://svnweb.freebsd.org/changeset/base/288954 Log: Move td_oncpu and td_lastcpu out of the "zero'd on fork" section of struct thread since they are always explicitly initialized during fork and thread creation after

Re: svn commit: r288911 - head/share/mk

2015-10-06 Thread Simon J. Gerraty
Bryan Drewery wrote: > > But wouldn't that imply that /usr/src/share/mk is the right set of > > makefiles to use for /usr/src/ports/ > > > > What would you consider the right sys.mk etc would be in such a case? > > > > For our case we want the checked in src/share/mk to

Re: svn commit: r288907 - head/bin/ls/tests

2015-10-06 Thread John Baldwin
On Tuesday, October 06, 2015 01:00:12 AM Garrett Cooper wrote: > Author: ngie > Date: Tue Oct 6 01:00:12 2015 > New Revision: 288907 > URL: https://svnweb.freebsd.org/changeset/base/288907 > > Log: > Call sync consistently using atf_check > > Remove superfluous sync's You should not need

Re: svn commit: r288911 - head/share/mk

2015-10-06 Thread Bryan Drewery
On 10/6/2015 2:17 PM, Simon J. Gerraty wrote: > Bryan Drewery wrote: >>> But wouldn't that imply that /usr/src/share/mk is the right set of >>> makefiles to use for /usr/src/ports/ >>> >>> What would you consider the right sys.mk etc would be in such a case? >>> >> >> For

Re: svn commit: r288917 - in head/sys: amd64/amd64 amd64/include dev/xen/blkfront i386/i386 i386/include xen xen/interface xen/interface/arch-arm/hvm xen/interface/arch-x86 xen/interface/arch-x86/hvm

2015-10-06 Thread John Baldwin
On Tuesday, October 06, 2015 11:29:45 AM Roger Pau Monné wrote: > Author: royger > Date: Tue Oct 6 11:29:44 2015 > New Revision: 288917 > URL: https://svnweb.freebsd.org/changeset/base/288917 > > Log: > Update Xen headers from 4.2 to 4.6 > > Pull the latest headers for Xen which allow us

Re: svn commit: r288911 - head/share/mk

2015-10-06 Thread Warner Losh
On Tue, Oct 6, 2015 at 3:05 PM, Simon J. Gerraty wrote: > Warner Losh wrote: > > > The sys.mk change to include src.conf breaks building ports in a > sub-dir > > > of src. Meaning, /usr/src/ports/. The MAKESYSPATH with '.../share/mk' > > > finds

svn commit: r288915 - head/usr.sbin/rpcbind

2015-10-06 Thread Hiroki Sato
Author: hrs Date: Tue Oct 6 08:43:48 2015 New Revision: 288915 URL: https://svnweb.freebsd.org/changeset/base/288915 Log: Reallocate a maxlen-long buffer only when the current maxlen is shorter than the required length. Note that it rarely happens because maxlen is almost always 128 which

svn commit: r288914 - head/sys/netinet

2015-10-06 Thread Hiren Panchasara
Author: hiren Date: Tue Oct 6 07:46:19 2015 New Revision: 288914 URL: https://svnweb.freebsd.org/changeset/base/288914 Log: Add a comment specifying how we implement rfc3042. Differential Revision:D3746 MFC after:1 week Sponsored by: Limelight Networks Modified:

svn commit: r288944 - in head: lib/libprocstat lib/libutil share/man/man5 sys/kern sys/sys

2015-10-06 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 6 18:07:00 2015 New Revision: 288944 URL: https://svnweb.freebsd.org/changeset/base/288944 Log: Fix core corruption caused by race in note_procstat_vmmap This fix is spiritually similar to r287442 and was discovered thanks to the KASSERT added in that revision.

svn commit: r288947 - head/release/doc/en_US.ISO8859-1/relnotes

2015-10-06 Thread Glen Barber
Author: gjb Date: Tue Oct 6 19:06:34 2015 New Revision: 288947 URL: https://svnweb.freebsd.org/changeset/base/288947 Log: Document r288943, clang, llvm, etc. updated to upstream 3.7.0. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml

svn commit: r288972 - head/release/doc/en_US.ISO8859-1/relnotes

2015-10-06 Thread Glen Barber
Author: gjb Date: Wed Oct 7 02:12:43 2015 New Revision: 288972 URL: https://svnweb.freebsd.org/changeset/base/288972 Log: Remove entry for r287469, Skylake/i219 support is not yet complete. Reported by: Adam McDougall Sponsored by: The FreeBSD Foundation Modified:

svn commit: r288971 - head/release/doc/en_US.ISO8859-1/relnotes

2015-10-06 Thread Glen Barber
Author: gjb Date: Wed Oct 7 02:12:42 2015 New Revision: 288971 URL: https://svnweb.freebsd.org/changeset/base/288971 Log: Split the r288943 entry into different entries, since the entire clang/llvm/lldb/etc may not always be in sync with upstream. Sponsored by: The FreeBSD Foundation

svn commit: r288973 - head/release/doc/en_US.ISO8859-1/relnotes

2015-10-06 Thread Glen Barber
Author: gjb Date: Wed Oct 7 02:12:44 2015 New Revision: 288973 URL: https://svnweb.freebsd.org/changeset/base/288973 Log: Refine the r286591 entry based on feedback from jilles@. Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml

svn commit: r288964 - head/share/mk

2015-10-06 Thread Simon J. Gerraty
Author: sjg Date: Wed Oct 7 00:24:27 2015 New Revision: 288964 URL: https://svnweb.freebsd.org/changeset/base/288964 Log: In jobs mode we can use .ORDER to force stage_links to run after other stage_* targets. In non-jobs mode we can achieve the same result by simply introducing the

svn commit: r288965 - head/share/mk

2015-10-06 Thread Simon J. Gerraty
Author: sjg Date: Wed Oct 7 00:28:24 2015 New Revision: 288965 URL: https://svnweb.freebsd.org/changeset/base/288965 Log: Do not assume host toolchain supports sysroot Modified: head/share/mk/local.init.mk Modified: head/share/mk/local.init.mk

svn commit: r288966 - head/share/mk

2015-10-06 Thread Simon J. Gerraty
Author: sjg Date: Wed Oct 7 00:32:33 2015 New Revision: 288966 URL: https://svnweb.freebsd.org/changeset/base/288966 Log: To help bootstrap new local depends, if SRCS contains *.h for which there are targets, make buildfiles depend on them - so they get generated early. Modified:

svn commit: r288968 - in head: gnu/usr.bin/binutils/ld usr.bin/truss

2015-10-06 Thread Simon J. Gerraty
Author: sjg Date: Wed Oct 7 00:43:05 2015 New Revision: 288968 URL: https://svnweb.freebsd.org/changeset/base/288968 Log: Updated depends Modified: head/gnu/usr.bin/binutils/ld/Makefile.depend.host head/usr.bin/truss/Makefile.depend.amd64 Modified:

Re: svn commit: r288966 - head/share/mk

2015-10-06 Thread Bryan Drewery
On 10/6/2015 5:32 PM, Simon J. Gerraty wrote: > Author: sjg > Date: Wed Oct 7 00:32:33 2015 > New Revision: 288966 > URL: https://svnweb.freebsd.org/changeset/base/288966 > > Log: > To help bootstrap new local depends, > if SRCS contains *.h for which there are targets, > make buildfiles

svn commit: r288970 - head/usr.bin/fortune/strfile

2015-10-06 Thread Xin LI
Author: delphij Date: Wed Oct 7 01:25:47 2015 New Revision: 288970 URL: https://svnweb.freebsd.org/changeset/base/288970 Log: Remove support of ancient (pre-8.0R, 800041) FreeBSD releases. MFC after:2 weeks Modified: head/usr.bin/fortune/strfile/strfile.c Modified:

svn commit: r288916 - head/sys/kern

2015-10-06 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 6 09:43:49 2015 New Revision: 288916 URL: https://svnweb.freebsd.org/changeset/base/288916 Log: Remove debugging variable from r143761. Modified: head/sys/kern/uipc_mbuf.c Modified: head/sys/kern/uipc_mbuf.c

Re: svn commit: r288911 - head/share/mk

2015-10-06 Thread Simon J. Gerraty
Bryan Drewery wrote: > > Are you refering to a src/share/mk which is sibling to src/ports/* or > > something else? > > > > Because with MAKESYSPATH=.../share/mk src/share/mk/sys.mk is what you > > should find. > > Right. That's what I'm referring to and what I prefer. Ok

Re: svn commit: r288657 - head/sys/netinet6

2015-10-06 Thread Rui Paulo
On Sun, 2015-10-04 at 08:21 +, Alexander V. Chernikov wrote: > Author: melifaro > Date: Sun Oct 4 08:21:15 2015 > New Revision: 288657 > URL: https://svnweb.freebsd.org/changeset/base/288657 > > Log: > Add __noinline attribute to several functions to ease dtrace > instrumentation > What

svn commit: r288959 - head/usr.sbin/iscsid

2015-10-06 Thread Xin LI
Author: delphij Date: Tue Oct 6 22:45:23 2015 New Revision: 288959 URL: https://svnweb.freebsd.org/changeset/base/288959 Log: Remove a few unused headers. MFC after:2 weeks Modified: head/usr.sbin/iscsid/discovery.c head/usr.sbin/iscsid/pdu.c Modified:

svn commit: r288960 - head/usr.sbin/watch

2015-10-06 Thread Xin LI
Author: delphij Date: Tue Oct 6 22:49:25 2015 New Revision: 288960 URL: https://svnweb.freebsd.org/changeset/base/288960 Log: Use strlcpy() when the string is expected to be nul-terminated. MFC after:2 weeks Modified: head/usr.sbin/watch/watch.c Modified:

svn commit: r288961 - head/tests/sys/kern

2015-10-06 Thread Bryan Drewery
Author: bdrewery Date: Tue Oct 6 22:54:04 2015 New Revision: 288961 URL: https://svnweb.freebsd.org/changeset/base/288961 Log: Fix build with older GCC which, doesn't like 'main' being a variable name. Modified: head/tests/sys/kern/ptrace_test.c Modified: head/tests/sys/kern/ptrace_test.c

svn commit: r288962 - head/tests/sys/kern

2015-10-06 Thread John Baldwin
Author: jhb Date: Tue Oct 6 22:59:00 2015 New Revision: 288962 URL: https://svnweb.freebsd.org/changeset/base/288962 Log: Tweak: use 'mainlwp' instead of 'mainpid' since this is a thread (LWP) identifier, not a pid. Modified: head/tests/sys/kern/ptrace_test.c Modified:

svn commit: r288963 - in head: sbin/rtsol usr.sbin/rtadvd usr.sbin/rtsold

2015-10-06 Thread Xin LI
Author: delphij Date: Tue Oct 6 23:42:58 2015 New Revision: 288963 URL: https://svnweb.freebsd.org/changeset/base/288963 Log: Now that we own the code, use arc4random(3) unconditionally and remove the corresponding HAVE_ARC4RANDOM conditions. MFC after:2 weeks Modified:

svn commit: r288917 - in head/sys: amd64/amd64 amd64/include dev/xen/blkfront i386/i386 i386/include xen xen/interface xen/interface/arch-arm/hvm xen/interface/arch-x86 xen/interface/arch-x86/hvm x...

2015-10-06 Thread Roger Pau Monné
Author: royger Date: Tue Oct 6 11:29:44 2015 New Revision: 288917 URL: https://svnweb.freebsd.org/changeset/base/288917 Log: Update Xen headers from 4.2 to 4.6 Pull the latest headers for Xen which allow us to add support for ARM and use new features in FreeBSD. This is a verbatim

svn commit: r288929 - in head: etc/mtree lib/libxo lib/libxo/tests usr.bin/xo usr.bin/xo/tests

2015-10-06 Thread Garrett Cooper
Author: ngie Date: Tue Oct 6 16:58:47 2015 New Revision: 288929 URL: https://svnweb.freebsd.org/changeset/base/288929 Log: Integrate the tests from libxo into the FreeBSD test suite The functional_test.sh harness for each test subdir was inspired by the version in

svn commit: r288933 - head/lib/libxo/tests

2015-10-06 Thread Garrett Cooper
Author: ngie Date: Tue Oct 6 17:18:15 2015 New Revision: 288933 URL: https://svnweb.freebsd.org/changeset/base/288933 Log: Remove a comment from an earlier iteration of trying to figure out how the test encoder testcases worked Modified: head/lib/libxo/tests/Makefile Modified:

svn commit: r288934 - head/lib/libxo/tests/encoder

2015-10-06 Thread Garrett Cooper
Author: ngie Date: Tue Oct 6 17:22:54 2015 New Revision: 288934 URL: https://svnweb.freebsd.org/changeset/base/288934 Log: Add directory for test encoder missed by accident in r288929 Sponsored by: EMC / Isilon Storage Division Added: head/lib/libxo/tests/encoder/