svn commit: r269724 - stable/10/cddl/contrib/opensolaris/lib/libdtrace/common

2014-08-08 Thread Mark Johnston
Author: markj Date: Fri Aug 8 15:21:43 2014 New Revision: 269724 URL: http://svnweb.freebsd.org/changeset/base/269724 Log: MFC r265631: Re-apply r248644. This fixes an annoying problem which caused dtrace -c to fail to attach to stripped binaries. With the _r_debug_postinit symbol, dtrace

svn commit: r269723 - stable/9/cddl/contrib/opensolaris/lib/libdtrace/common

2014-08-08 Thread Mark Johnston
Author: markj Date: Fri Aug 8 15:21:42 2014 New Revision: 269723 URL: http://svnweb.freebsd.org/changeset/base/269723 Log: MFC r265631: Re-apply r248644. This fixes an annoying problem which caused dtrace -c to fail to attach to stripped binaries. With the _r_debug_postinit symbol, dtrace

svn commit: r269752 - in stable/10/sys: amd64/amd64 i386/i386 kern mips/mips powerpc/aim sys

2014-08-09 Thread Mark Johnston
Author: markj Date: Sat Aug 9 14:05:01 2014 New Revision: 269752 URL: http://svnweb.freebsd.org/changeset/base/269752 Log: MFC r266826, r266827 Move some duplicated hook definitions from machine-dependent files to kern_dtrace.c. Modified: stable/10/sys/amd64/amd64/trap.c stable/10/sys/

svn commit: r269755 - stable/9/lib/libproc

2014-08-09 Thread Mark Johnston
Author: markj Date: Sat Aug 9 15:00:05 2014 New Revision: 269755 URL: http://svnweb.freebsd.org/changeset/base/269755 Log: MFC r265308: If the traced process stops because it received a signal, libproc needs to ensure that the signal is forwarded when proc_continue() is called. Modified:

svn commit: r269754 - stable/10/lib/libproc

2014-08-09 Thread Mark Johnston
Author: markj Date: Sat Aug 9 15:00:03 2014 New Revision: 269754 URL: http://svnweb.freebsd.org/changeset/base/269754 Log: MFC r265308: If the traced process stops because it received a signal, libproc needs to ensure that the signal is forwarded when proc_continue() is called. Modified:

svn commit: r269756 - in stable/10/sys/cddl/contrib/opensolaris/uts: intel/dtrace powerpc/dtrace

2014-08-09 Thread Mark Johnston
Author: markj Date: Sat Aug 9 15:03:47 2014 New Revision: 269756 URL: http://svnweb.freebsd.org/changeset/base/269756 Log: MFC r259211: Correct the check for errors from proc_rwmem(). Modified: stable/10/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c stable/10/sys/cddl/cont

svn commit: r269757 - stable/9/sys/cddl/contrib/opensolaris/uts/intel/dtrace

2014-08-09 Thread Mark Johnston
Author: markj Date: Sat Aug 9 15:03:56 2014 New Revision: 269757 URL: http://svnweb.freebsd.org/changeset/base/269757 Log: MFC r259211: Correct the check for errors from proc_rwmem(). Modified: stable/9/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c Directory Properties: st

svn commit: r269987 - stable/9/cddl/contrib/opensolaris/lib/libdtrace/common

2014-08-14 Thread Mark Johnston
Author: markj Date: Thu Aug 14 16:45:02 2014 New Revision: 269987 URL: http://svnweb.freebsd.org/changeset/base/269987 Log: MFC r257877: Don't try to use the 32-bit drti.o unless the data model is explicitly set to ILP32. Otherwise dtrace -G will attempt to use it on amd64 if it can't dete

svn commit: r269986 - stable/10/cddl/contrib/opensolaris/lib/libdtrace/common

2014-08-14 Thread Mark Johnston
Author: markj Date: Thu Aug 14 16:45:01 2014 New Revision: 269986 URL: http://svnweb.freebsd.org/changeset/base/269986 Log: MFC r257877: Don't try to use the 32-bit drti.o unless the data model is explicitly set to ILP32. Otherwise dtrace -G will attempt to use it on amd64 if it can't dete

svn commit: r270024 - head/sys/kern

2014-08-15 Thread Mark Johnston
Author: markj Date: Fri Aug 15 15:42:58 2014 New Revision: 270024 URL: http://svnweb.freebsd.org/changeset/base/270024 Log: Correct the order of arguments passed to LIST_INSERT_AFTER(). Reviewed by: kib X-MFC-With: r269656 Modified: head/sys/kern/kern_exit.c Modified: head/sys/kern

svn commit: r270067 - in head/sys: cddl/dev/fbt cddl/dev/fbt/powerpc cddl/dev/fbt/x86 modules/dtrace/fbt

2014-08-16 Thread Mark Johnston
Author: markj Date: Sat Aug 16 21:42:55 2014 New Revision: 270067 URL: http://svnweb.freebsd.org/changeset/base/270067 Log: Factor out the common code for function boundary tracing instead of duplicating the entire implementation for both x86 and powerpc. This makes it easier to add support

svn commit: r270213 - stable/9/cddl/contrib/opensolaris/lib/libdtrace/common

2014-08-20 Thread Mark Johnston
Author: markj Date: Wed Aug 20 14:57:21 2014 New Revision: 270213 URL: http://svnweb.freebsd.org/changeset/base/270213 Log: MFC r269524: Preserve the errno value of an ioctl before calling free(3). Previously, errno was very occasionally being clobbered, resulting in a bogus error from dt_

svn commit: r270214 - stable/10/cddl/contrib/opensolaris/lib/libdtrace/common

2014-08-20 Thread Mark Johnston
Author: markj Date: Wed Aug 20 14:57:55 2014 New Revision: 270214 URL: http://svnweb.freebsd.org/changeset/base/270214 Log: MFC r269524: Preserve the errno value of an ioctl before calling free(3). Previously, errno was very occasionally being clobbered, resulting in a bogus error from dt_

svn commit: r270294 - stable/10/sys/cddl/contrib/opensolaris/uts/common/dtrace

2014-08-21 Thread Mark Johnston
Author: markj Date: Thu Aug 21 19:45:52 2014 New Revision: 270294 URL: http://svnweb.freebsd.org/changeset/base/270294 Log: MFC r269525: Return 0 for the PPID of threads in process 0, as process 0 doesn't have a parent process. Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/d

svn commit: r270295 - stable/9/sys/cddl/contrib/opensolaris/uts/common/dtrace

2014-08-21 Thread Mark Johnston
Author: markj Date: Thu Aug 21 19:45:54 2014 New Revision: 270295 URL: http://svnweb.freebsd.org/changeset/base/270295 Log: MFC r269525: Return 0 for the PPID of threads in process 0, as process 0 doesn't have a parent process. Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/dt

Re: svn commit: r270294 - stable/10/sys/cddl/contrib/opensolaris/uts/common/dtrace

2014-08-22 Thread Mark Johnston
On Fri, Aug 22, 2014 at 09:22:07AM +0300, Konstantin Belousov wrote: > On Thu, Aug 21, 2014 at 07:45:52PM +0000, Mark Johnston wrote: > > Author: markj > > Date: Thu Aug 21 19:45:52 2014 > > New Revision: 270294 > > URL: http://svnweb.freebsd.org/changeset/base/270

svn commit: r270349 - head/usr.bin/netstat

2014-08-22 Thread Mark Johnston
Author: markj Date: Fri Aug 22 19:23:38 2014 New Revision: 270349 URL: http://svnweb.freebsd.org/changeset/base/270349 Log: Suppress warnings when retrieving protocol stats from interfaces that don't support IPv6 (e.g. pflog(4)). Reviewed by: hrs MFC after:2 weeks Modified: head

svn commit: r270348 - head/sys/netinet6

2014-08-22 Thread Mark Johnston
Author: markj Date: Fri Aug 22 19:21:08 2014 New Revision: 270348 URL: http://svnweb.freebsd.org/changeset/base/270348 Log: Add some missing checks for unsupported interfaces (e.g. pflog(4)) when handling ioctls. While here, remove duplicated checks for a NULL ifp in in6_control(): this chec

svn commit: r270506 - head/lib/libproc

2014-08-24 Thread Mark Johnston
Author: markj Date: Sun Aug 24 17:02:27 2014 New Revision: 270506 URL: http://svnweb.freebsd.org/changeset/base/270506 Log: Fix a bug in r265255: only return NULL if the requested map wasn't found. Submitted by: Luke Chang-Hsien Tsai MFC after:1 week Modified: head/lib/libproc/pro

svn commit: r270508 - head/sys/cddl/dev/fbt

2014-08-24 Thread Mark Johnston
Author: markj Date: Sun Aug 24 17:10:47 2014 New Revision: 270508 URL: http://svnweb.freebsd.org/changeset/base/270508 Log: Restore the correct value when disabling probes. Otherwise the instrumented tracepoints would continue to generate traps, which would be ignored but could consume notic

svn commit: r270730 - stable/9/lib/libproc

2014-08-27 Thread Mark Johnston
Author: markj Date: Wed Aug 27 19:51:07 2014 New Revision: 270730 URL: http://svnweb.freebsd.org/changeset/base/270730 Log: MFC r265255, r270506: Allow "a.out" as an alias for the executable if no other matching entries are found. Modified: stable/9/lib/libproc/_libproc.h stable/9/lib/l

svn commit: r270731 - stable/10/lib/libproc

2014-08-27 Thread Mark Johnston
Author: markj Date: Wed Aug 27 19:51:42 2014 New Revision: 270731 URL: http://svnweb.freebsd.org/changeset/base/270731 Log: MFC r265255, r270506: Allow "a.out" as an alias for the executable if no other matching entries are found. Modified: stable/10/lib/libproc/_libproc.h stable/10/lib

svn commit: r270733 - in stable/9: share/man/man4 sys/dev/mfi

2014-08-27 Thread Mark Johnston
Author: markj Date: Wed Aug 27 21:11:19 2014 New Revision: 270733 URL: http://svnweb.freebsd.org/changeset/base/270733 Log: MFC r261491 (by ambrisko): Add a tunable "hw.mfi.mrsas_enable" to allow mfi(4) to drop priority and allow mrsas(4) from LSI to attach to newer LSI cards that are suppor

svn commit: r270732 - in stable/10: share/man/man4 sys/dev/mfi

2014-08-27 Thread Mark Johnston
Author: markj Date: Wed Aug 27 21:11:19 2014 New Revision: 270732 URL: http://svnweb.freebsd.org/changeset/base/270732 Log: MFC r261491 (by ambrisko): Add a tunable "hw.mfi.mrsas_enable" to allow mfi(4) to drop priority and allow mrsas(4) from LSI to attach to newer LSI cards that are suppor

svn commit: r274299 - head/share/mk

2014-11-08 Thread Mark Johnston
Author: markj Date: Sat Nov 8 18:16:39 2014 New Revision: 274299 URL: https://svnweb.freebsd.org/changeset/base/274299 Log: Revert r274200. Implicitly setting DEBUG_FLAGS when WITH_CTF is true is not the right way to do this. Requested by: kan Modified: head/share/mk/bsd.lib.mk head

svn commit: r274564 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2014-11-15 Thread Mark Johnston
Author: markj Date: Sun Nov 16 04:07:53 2014 New Revision: 274564 URL: https://svnweb.freebsd.org/changeset/base/274564 Log: Fix a couple of bugs around the handling of structs and unions of size zero. These would cause ctfconvert(1) to return an error when attempting to resolve valid C type

svn commit: r274565 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2014-11-15 Thread Mark Johnston
Author: markj Date: Sun Nov 16 04:10:23 2014 New Revision: 274565 URL: https://svnweb.freebsd.org/changeset/base/274565 Log: Remove an incorrect optimization. The type IDs of each member of a struct or union must be checked when determine whether two types are equivalent. This bug could caus

svn commit: r274569 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2014-11-15 Thread Mark Johnston
Author: markj Date: Sun Nov 16 04:13:42 2014 New Revision: 274569 URL: https://svnweb.freebsd.org/changeset/base/274569 Log: Only compare visitation counters if they've both been set for the current type graph walk. Reviewed by: Robert Mustacchi MFC after:2 weeks Sponsored by: E

svn commit: r274637 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2014-11-17 Thread Mark Johnston
Author: markj Date: Mon Nov 17 22:22:16 2014 New Revision: 274637 URL: https://svnweb.freebsd.org/changeset/base/274637 Log: DTrace imposes a 128-byte limit on the length of the function component of a probe name. When dtrace -G builds up a DOF section for the specified provider(s), the prob

svn commit: r275011 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2014-11-24 Thread Mark Johnston
Author: markj Date: Tue Nov 25 06:43:17 2014 New Revision: 275011 URL: https://svnweb.freebsd.org/changeset/base/275011 Log: The module load address always needs to be included when setting the dm_*_va fields of dt_module_t. Previously, this was only done on architectures where kernel module

svn commit: r275012 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2014-11-24 Thread Mark Johnston
Author: markj Date: Tue Nov 25 07:01:38 2014 New Revision: 275012 URL: https://svnweb.freebsd.org/changeset/base/275012 Log: Adjust some checks missed in r274637, now that pi_rname can be NULL. Additionally fix a misparenthesization in the same check, noticed while fixing the first bug. T

svn commit: r275465 - stable/10/usr.sbin/pciconf

2014-12-03 Thread Mark Johnston
Author: markj Date: Wed Dec 3 19:44:22 2014 New Revision: 275465 URL: https://svnweb.freebsd.org/changeset/base/275465 Log: MFC r273488: Fix some bugs in the error handling of getdevice(). PR: 194506 Modified: stable/10/usr.sbin/pciconf/pciconf.c Directory Properties: stable/10/

svn commit: r275466 - stable/9/usr.sbin/pciconf

2014-12-03 Thread Mark Johnston
Author: markj Date: Wed Dec 3 19:44:24 2014 New Revision: 275466 URL: https://svnweb.freebsd.org/changeset/base/275466 Log: MFC r273488: Fix some bugs in the error handling of getdevice(). PR: 194506 Modified: stable/9/usr.sbin/pciconf/pciconf.c Directory Properties: stable/9/usr.

svn commit: r275516 - in stable/10/cddl/contrib/opensolaris/lib: libctf/common libdtrace/common

2014-12-05 Thread Mark Johnston
Author: markj Date: Fri Dec 5 18:55:31 2014 New Revision: 275516 URL: https://svnweb.freebsd.org/changeset/base/275516 Log: MFC r271695: Fix some incorrect endianness checks. Modified: stable/10/cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c stable/10/cddl/contrib/opensolaris/lib/l

svn commit: r275517 - in stable/9/cddl/contrib/opensolaris/lib: libctf/common libdtrace/common

2014-12-05 Thread Mark Johnston
Author: markj Date: Fri Dec 5 18:55:32 2014 New Revision: 275517 URL: https://svnweb.freebsd.org/changeset/base/275517 Log: MFC r271695: Fix some incorrect endianness checks. Modified: stable/9/cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c stable/9/cddl/contrib/opensolaris/lib/lib

svn commit: r275592 - in head/cddl: contrib/opensolaris/lib/libctf/common lib/libctf

2014-12-07 Thread Mark Johnston
Author: markj Date: Mon Dec 8 04:35:34 2014 New Revision: 275592 URL: https://svnweb.freebsd.org/changeset/base/275592 Log: MFV r272851: 5202 want ctf(4) illumos/illumos-gate@fe2e029eea29fd49d0d9058dbd5b79a252667e6b Added: head/cddl/contrib/opensolaris/lib/libctf/common/ctf.5

svn commit: r275593 - head/sys/netinet6

2014-12-07 Thread Mark Johnston
Author: markj Date: Mon Dec 8 04:44:40 2014 New Revision: 275593 URL: https://svnweb.freebsd.org/changeset/base/275593 Log: Add refcounting to IPv6 DAD objects and simplify the DAD code to fix a number of races which could cause double frees or use-after-frees when performing DAD on an addr

svn commit: r275695 - head/sys/netinet6

2014-12-10 Thread Mark Johnston
Author: markj Date: Thu Dec 11 00:41:54 2014 New Revision: 275695 URL: https://svnweb.freebsd.org/changeset/base/275695 Log: Fix a bug in r266857: nd6_dad_find() must return NULL if it doesn't find a matching element in the DAD queue. Reported by: Holger Hans Peter Freyther MFC after:

svn commit: r275700 - head/sys/netinet6

2014-12-11 Thread Mark Johnston
Author: markj Date: Thu Dec 11 09:16:45 2014 New Revision: 275700 URL: https://svnweb.freebsd.org/changeset/base/275700 Log: Revert r275695: nd6_dad_find() was already correct. Reported by: ae, kib Pointy hat to:markj Modified: head/sys/netinet6/nd6_nbr.c Modified: head/sys/n

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

2014-12-11 Thread Mark Johnston
On Thu, Dec 11, 2014 at 11:44:44AM +0300, Andrey V. Elsukov wrote: > On 11.12.2014 03:41, Mark Johnston wrote: > > Author: markj > > Date: Thu Dec 11 00:41:54 2014 > > New Revision: 275695 > > URL: https://svnweb.freebsd.org/changeset/base/275695 > > &g

svn commit: r276142 - in head/sys: amd64/amd64 cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 cddl/dev/dtrace/mips cddl/dev/dtrace/powerpc i386/i386 mips/mips powerpc/aim sys

2014-12-23 Thread Mark Johnston
Author: markj Date: Tue Dec 23 15:38:19 2014 New Revision: 276142 URL: https://svnweb.freebsd.org/changeset/base/276142 Log: Restore the trap type argument to the DTrace trap hook, removed in r268600. It's redundant at the moment since it can be obtained from the trapframe on the architectur

svn commit: r276143 - head/lib/libproc

2014-12-23 Thread Mark Johnston
Author: markj Date: Tue Dec 23 15:40:57 2014 New Revision: 276143 URL: https://svnweb.freebsd.org/changeset/base/276143 Log: Fix a memory leak that occured when looking up CTF info for a symbol. Modified: head/lib/libproc/proc_sym.c Modified: head/lib/libproc/proc_sym.c =

svn commit: r276144 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2014-12-23 Thread Mark Johnston
Author: markj Date: Tue Dec 23 15:42:33 2014 New Revision: 276144 URL: https://svnweb.freebsd.org/changeset/base/276144 Log: We can stop iterating once we've found the DOF section. Submitted by: Fedor Indutny Modified: head/cddl/contrib/opensolaris/lib/libdtrace/common/drti.c Modified:

Re: svn commit: r276142 - in head/sys: amd64/amd64 cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 cddl/dev/dtrace/mips cddl/dev/dtrace/powerpc i386/i386 mips/mips powerpc/aim sys

2014-12-23 Thread Mark Johnston
On Tue, Dec 23, 2014 at 08:45:57AM -0700, Ian Lepore wrote: > On Tue, 2014-12-23 at 15:38 +0000, Mark Johnston wrote: > > Author: markj > > Date: Tue Dec 23 15:38:19 2014 > > New Revision: 276142 > > URL: https://svnweb.freebsd.org/changeset/base/276142 > > >

svn commit: r276250 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2014-12-26 Thread Mark Johnston
Author: markj Date: Fri Dec 26 18:53:29 2014 New Revision: 276250 URL: https://svnweb.freebsd.org/changeset/base/276250 Log: DOF tables are aligned according to the DOF section's alignment constraint, so take this into account when iterating over DOF tables. PR: 19 Submitt

svn commit: r276264 - stable/9/cddl/contrib/opensolaris/lib/libdtrace/common

2014-12-26 Thread Mark Johnston
Author: markj Date: Fri Dec 26 22:49:27 2014 New Revision: 276264 URL: https://svnweb.freebsd.org/changeset/base/276264 Log: MFC r275011: The module load address always needs to be included when setting the dm_*_va fields of dt_module_t. Previously, this was only done on architectures where

svn commit: r276265 - stable/10/cddl/contrib/opensolaris/lib/libdtrace/common

2014-12-26 Thread Mark Johnston
Author: markj Date: Fri Dec 26 22:50:34 2014 New Revision: 276265 URL: https://svnweb.freebsd.org/changeset/base/276265 Log: MFC r275011: The module load address always needs to be included when setting the dm_*_va fields of dt_module_t. Previously, this was only done on architectures where

svn commit: r276266 - stable/9/cddl/contrib/opensolaris/lib/libdtrace/common

2014-12-26 Thread Mark Johnston
Author: markj Date: Fri Dec 26 22:52:43 2014 New Revision: 276266 URL: https://svnweb.freebsd.org/changeset/base/276266 Log: MFC r272671: Treat D keywords as identifiers in certain postfix expressions. This allows one to, for example, access the "provider" field of a struct g_consumer, eve

svn commit: r276267 - stable/10/cddl/contrib/opensolaris/lib/libdtrace/common

2014-12-26 Thread Mark Johnston
Author: markj Date: Fri Dec 26 22:52:44 2014 New Revision: 276267 URL: https://svnweb.freebsd.org/changeset/base/276267 Log: MFC r272671: Treat D keywords as identifiers in certain postfix expressions. This allows one to, for example, access the "provider" field of a struct g_consumer, eve

svn commit: r276727 - head/sys/kern

2015-01-05 Thread Mark Johnston
Author: markj Date: Mon Jan 5 23:07:22 2015 New Revision: 276727 URL: https://svnweb.freebsd.org/changeset/base/276727 Log: Use crcopysafe(9) to make a copy of a process' credential struct. crcopy(9) may perform a blocking memory allocation, which is unsafe when holding a mutex. Differ

svn commit: r276731 - stable/9/cddl/contrib/opensolaris/lib/libdtrace/common

2015-01-05 Thread Mark Johnston
Author: markj Date: Tue Jan 6 02:13:48 2015 New Revision: 276731 URL: https://svnweb.freebsd.org/changeset/base/276731 Log: MFC r276250: DOF tables are aligned according to the DOF section's alignment constraint, so take this into account when iterating over DOF tables. PR: 19 M

svn commit: r276732 - stable/10/cddl/contrib/opensolaris/lib/libdtrace/common

2015-01-05 Thread Mark Johnston
Author: markj Date: Tue Jan 6 02:13:49 2015 New Revision: 276732 URL: https://svnweb.freebsd.org/changeset/base/276732 Log: MFC r276250: DOF tables are aligned according to the DOF section's alignment constraint, so take this into account when iterating over DOF tables. PR: 19 M

svn commit: r276772 - in head/sys: amd64/include arm/arm arm/include conf i386/include kern mips/include mips/mips pc98/include powerpc/aim powerpc/booke powerpc/include powerpc/powerpc sparc64/inc...

2015-01-06 Thread Mark Johnston
Author: markj Date: Wed Jan 7 01:01:39 2015 New Revision: 276772 URL: https://svnweb.freebsd.org/changeset/base/276772 Log: Factor out duplicated code from dumpsys() on each architecture into generic code in sys/kern/kern_dump.c. Most dumpsys() implementations are nearly identical and simpl

svn commit: r276848 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2015-01-08 Thread Mark Johnston
Author: markj Date: Thu Jan 8 18:45:16 2015 New Revision: 276848 URL: https://svnweb.freebsd.org/changeset/base/276848 Log: Revert r274569. It seems to be causing a crash when merging CTF data for recent i386 GENERIC kernels. Reported by: David Wolfskill Modified: head/cddl/contrib/o

svn commit: r277667 - in head/lib/libproc: . tests

2015-01-24 Thread Mark Johnston
un Jan 25 00:34:43 2015 (r277667) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2014 Mark Johnston + * Copyright (c) 2014, 2015 Mark Johnston * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -295,6 +295,43 @@ ATF_TC_BODY(symbol_l

svn commit: r277668 - head/share/man/man9

2015-01-24 Thread Mark Johnston
Author: markj Date: Sun Jan 25 00:36:42 2015 New Revision: 277668 URL: https://svnweb.freebsd.org/changeset/base/277668 Log: Document the fact that modules declared with SYSCALL_MODULE(9) have their names prefixed with "sys/". MFC after:3 days Modified: head/share/man/man9/SYSCALL_

svn commit: r277669 - head/lib/libutil

2015-01-24 Thread Mark Johnston
Author: markj Date: Sun Jan 25 00:47:06 2015 New Revision: 277669 URL: https://svnweb.freebsd.org/changeset/base/277669 Log: gr_equal(): Fix a crash that could occur if the first group's member list was longer than the second's. There is no need to compute and compare the member list lengths

Re: svn commit: r277667 - in head/lib/libproc: . tests

2015-01-24 Thread Mark Johnston
On Sun, Jan 25, 2015 at 12:34:44AM +, Mark Johnston wrote: > Author: markj > Date: Sun Jan 25 00:34:43 2015 > New Revision: 277667 > URL: https://svnweb.freebsd.org/changeset/base/277667 > > Log: > Ensure that we don't try to demangle a symbol name if we failed

Re: svn commit: r277788 - head/sys/dev/virtio/block

2015-01-26 Thread Mark Johnston
On Tue, Jan 27, 2015 at 05:34:47AM +, Bryan Venteicher wrote: > Author: bryanv > Date: Tue Jan 27 05:34:46 2015 > New Revision: 277788 > URL: https://svnweb.freebsd.org/changeset/base/277788 > > Log: > Rework vtblk dump handling of in flight requests > > Previously, the driver resets th

svn commit: r281608 - stable/10/sys/sys

2015-04-16 Thread Mark Johnston
Author: markj Date: Thu Apr 16 19:04:38 2015 New Revision: 281608 URL: https://svnweb.freebsd.org/changeset/base/281608 Log: MFC r281225: Add B_KVAALLOC and B_UNMAPPED to the buf flag name list. Modified: stable/10/sys/sys/buf.h Directory Properties: stable/10/ (props changed) Modified

svn commit: r281609 - in stable/10: share/man/man4 sys/netinet

2015-04-16 Thread Mark Johnston
Author: markj Date: Thu Apr 16 19:09:25 2015 New Revision: 281609 URL: https://svnweb.freebsd.org/changeset/base/281609 Log: MFC r272378: Add net.inet.icmp.tstamprepl. PR: 193689 Modified: stable/10/share/man/man4/icmp.4 stable/10/sys/netinet/ip_icmp.c Directory Properties: stabl

svn commit: r281701 - head/share/man/man9

2015-04-18 Thread Mark Johnston
Author: markj Date: Sat Apr 18 20:31:59 2015 New Revision: 281701 URL: https://svnweb.freebsd.org/changeset/base/281701 Log: SDT(9): add a section on SDT providers, mentioning the "sdt" provider. Add examples demonstrating how one can list available providers and the DTrace probes provided b

svn commit: r281702 - head/sys/kern

2015-04-18 Thread Mark Johnston
Author: markj Date: Sat Apr 18 20:36:58 2015 New Revision: 281702 URL: https://svnweb.freebsd.org/changeset/base/281702 Log: Remove unimplemented sched provider probes. They were added for compatibility with the sched provider in Solaris and illumos, but our sched provider is already inco

svn commit: r281705 - in head: cddl/contrib/opensolaris/cmd/dtrace share/man/man4 share/man/man9

2015-04-18 Thread Mark Johnston
--- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/dtrace-io.4 Sat Apr 18 21:00:36 2015 (r281705) @@ -0,0 +1,123 @@ +.\" Copyright (c) 2015 Mark Johnston +.\" All rights reserved. +.\" +.\" Redistribut

svn commit: r281797 - head/sys/net

2015-04-20 Thread Mark Johnston
Author: markj Date: Mon Apr 20 22:08:11 2015 New Revision: 281797 URL: https://svnweb.freebsd.org/changeset/base/281797 Log: Move the definition of struct bpf_if to bpf.c. A couple of fields are still exposed via struct bpf_if_ext so that bpf_peers_present() can be inlined into its caller

svn commit: r281915 - in head: share/man/man9 sys/kern sys/sys

2015-04-23 Thread Mark Johnston
Author: markj Date: Fri Apr 24 03:17:21 2015 New Revision: 281915 URL: https://svnweb.freebsd.org/changeset/base/281915 Log: Make vpanic() externally visible so that it can be called as part of the DTrace panic() action. Differential Revision:https://reviews.freebsd.org/D2349 Re

svn commit: r281916 - in head/sys/cddl: contrib/opensolaris/uts/common/dtrace dev/dtrace dev/dtrace/amd64 dev/dtrace/arm dev/dtrace/i386 dev/dtrace/mips dev/dtrace/powerpc

2015-04-23 Thread Mark Johnston
Author: markj Date: Fri Apr 24 03:19:30 2015 New Revision: 281916 URL: https://svnweb.freebsd.org/changeset/base/281916 Log: Fix DTrace's panic() action. It would previously call into some unfinished Solaris compatibility code and return without actually calling panic(9). The compatibilit

svn commit: r281917 - head

2015-04-23 Thread Mark Johnston
Author: markj Date: Fri Apr 24 03:23:41 2015 New Revision: 281917 URL: https://svnweb.freebsd.org/changeset/base/281917 Log: Add _.arm64.* to the svn:ignore property for head/. Modified: Directory Properties: head/ (props changed) ___ svn-src-all@

svn commit: r282331 - head/sys/ofed/include/linux

2015-05-01 Thread Mark Johnston
Author: markj Date: Sat May 2 00:26:38 2015 New Revision: 282331 URL: https://svnweb.freebsd.org/changeset/base/282331 Log: Don't drop the idr lock before verifying that the newly-inserted element is present in the tree. Otherwise there exists a window during which the element could be remo

svn commit: r282332 - head/sys/kern

2015-05-01 Thread Mark Johnston
Author: markj Date: Sat May 2 00:27:58 2015 New Revision: 282332 URL: https://svnweb.freebsd.org/changeset/base/282332 Log: Remove a stale reference to the stop_scheduler_on_panic tunable, which itself was removed in r243515. MFC after:1 week Modified: head/sys/kern/kern_shutdown.

svn commit: r282333 - head/lib/libc/sys

2015-05-01 Thread Mark Johnston
Author: markj Date: Sat May 2 00:29:27 2015 New Revision: 282333 URL: https://svnweb.freebsd.org/changeset/base/282333 Log: fork(2): Add a note to the effect that kqueue descriptors, unlike other descriptor types, are not inherited from the parent process. Reported by: kmacy MFC after

svn commit: r282444 - stable/10/share/man/man9

2015-05-04 Thread Mark Johnston
Author: markj Date: Tue May 5 03:13:02 2015 New Revision: 282444 URL: https://svnweb.freebsd.org/changeset/base/282444 Log: MFC 281701: SDT(9): add a section on SDT providers, mentioning the "sdt" provider. Add examples demonstrating how one can list available providers and the DTrace pro

svn commit: r282445 - stable/10/sys/netinet6

2015-05-04 Thread Mark Johnston
Author: markj Date: Tue May 5 03:17:32 2015 New Revision: 282445 URL: https://svnweb.freebsd.org/changeset/base/282445 Log: MFC r281483: Fix a possible refcount leak in regen_tmpaddr(). Modified: stable/10/sys/netinet6/nd6.c Directory Properties: stable/10/ (props changed) Modified: s

svn commit: r282739 - head/cddl/contrib/opensolaris/common/ctf

2015-05-10 Thread Mark Johnston
Author: markj Date: Sun May 10 21:39:24 2015 New Revision: 282739 URL: https://svnweb.freebsd.org/changeset/base/282739 Log: ctf_add_type(): when looking up an integer or floating point type in the list of pending dynamic type definitions, a match on the type name is not sufficient - we need

svn commit: r282741 - head/sys/ofed/include/linux

2015-05-10 Thread Mark Johnston
Author: markj Date: Sun May 10 22:04:42 2015 New Revision: 282741 URL: https://svnweb.freebsd.org/changeset/base/282741 Log: find_next_bit() and find_next_zero_bit(): if the caller-specified offset lies within the last block of the bit set and no bits are set beyond the offset, terminate the

svn commit: r282743 - head/sys/ofed/include/linux

2015-05-10 Thread Mark Johnston
Author: markj Date: Sun May 10 22:21:00 2015 New Revision: 282743 URL: https://svnweb.freebsd.org/changeset/base/282743 Log: msecs_to_jiffies() is implemented using tvtohz(9), which always returns a positive value since it adds the current tick to its result. This differs from the behaviour

svn commit: r282744 - in head/sys/cddl/dev/dtrace: amd64 i386

2015-05-10 Thread Mark Johnston
Author: markj Date: Sun May 10 22:27:48 2015 New Revision: 282744 URL: https://svnweb.freebsd.org/changeset/base/282744 Log: Remove some commented-out upstream code for handling traps from usermode DTrace probes. This handling is already done in trap() on i386 and amd64. Modified: head/sys/

Re: svn commit: r282744 - in head/sys/cddl/dev/dtrace: amd64 i386

2015-05-10 Thread Mark Johnston
On Mon, May 11, 2015 at 09:55:25AM +0800, Julian Elischer wrote: > On 5/11/15 6:27 AM, Mark Johnston wrote: > > Author: markj > > Date: Sun May 10 22:27:48 2015 > > New Revision: 282744 > > URL: https://svnweb.freebsd.org/changeset/base/282744 > > > > Log: &g

svn commit: r283024 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2015-05-16 Thread Mark Johnston
Author: markj Date: Sun May 17 03:50:42 2015 New Revision: 283024 URL: https://svnweb.freebsd.org/changeset/base/283024 Log: When in lazyload mode, write the DOF to a temporary file and rename it rather than writing directly to the output file. CID: 1147172 Modified: head/cddl/contrib

svn commit: r283025 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2015-05-16 Thread Mark Johnston
Author: markj Date: Sun May 17 03:59:08 2015 New Revision: 283025 URL: https://svnweb.freebsd.org/changeset/base/283025 Log: As dtrace(1) processes D libraries under /usr/lib/dtrace, the compiler may return an error if one of the depends_on directives in a library is not satisfied. In this c

svn commit: r283026 - head/cddl/lib/libdtrace

2015-05-16 Thread Mark Johnston
Author: markj Date: Sun May 17 04:09:22 2015 New Revision: 283026 URL: https://svnweb.freebsd.org/changeset/base/283026 Log: Move siftr-related definitions out of tcp.d and into a separate library which declares a dependency on siftr(4). This is necessitated by a reference to struct pkt_node

svn commit: r283027 - head/cddl/lib/libdtrace

2015-05-16 Thread Mark Johnston
Author: markj Date: Sun May 17 04:17:08 2015 New Revision: 283027 URL: https://svnweb.freebsd.org/changeset/base/283027 Log: Actually remove siftr-related definitions from tcp.d, missed in r283026. Modified: head/cddl/lib/libdtrace/tcp.d Modified: head/cddl/lib/libdtrace/tcp.d ==

svn commit: r283038 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2015-05-17 Thread Mark Johnston
Author: markj Date: Sun May 17 23:08:01 2015 New Revision: 283038 URL: https://svnweb.freebsd.org/changeset/base/283038 Log: Respect the libdir option when linking drti.o, rather than hardcoding the default path of /usr/lib(32)/dtrace. MFC after:3 weeks Modified: head/cddl/contrib/

svn commit: r283039 - in head/cddl: contrib/opensolaris/lib/libdtrace/common usr.sbin/dtrace/tests/tools

2015-05-17 Thread Mark Johnston
Author: markj Date: Sun May 17 23:09:58 2015 New Revision: 283039 URL: https://svnweb.freebsd.org/changeset/base/283039 Log: Fix a typo that snuck in with r283024, and remove the EXFAIL annotation from a test which now passes as a result of that change. Modified: head/cddl/contrib/opensolar

svn commit: r279800 - head/usr.bin/w

2015-03-08 Thread Mark Johnston
Author: markj Date: Mon Mar 9 03:31:26 2015 New Revision: 279800 URL: https://svnweb.freebsd.org/changeset/base/279800 Log: Call xo_finish(3) before exiting in usage(). Modified: head/usr.bin/w/w.c Modified: head/usr.bin/w/w.c

svn commit: r279801 - in head: share/man/man5 sys/conf sys/kern sys/net sys/sys

2015-03-08 Thread Mark Johnston
maybe_yield(); - } - - return (error); -} -#endif /* COMPRESS_USER_CORES */ - static vm_prot_t __elfN(trans_prot)(Elf_Word flags) { Modified: head/sys/kern/kern_gzio.c == --- head/sys/kern/kern_gzio.c Mo

svn commit: r279802 - head/share/man/man9

2015-03-08 Thread Mark Johnston
Author: markj Date: Mon Mar 9 04:00:46 2015 New Revision: 279802 URL: https://svnweb.freebsd.org/changeset/base/279802 Log: Don't specify a function name in the example SDT(9) probe. As with the module component, it is a bug that the SDT(9) KPI allows one to specify the function component o

svn commit: r279822 - vendor/illumos/dist/tools/ctf/cvt

2015-03-09 Thread Mark Johnston
Author: markj Date: Mon Mar 9 20:43:14 2015 New Revision: 279822 URL: https://svnweb.freebsd.org/changeset/base/279822 Log: 5589 improper use of NULL in tools/ctf Reviewed by: David Höppner <0xf...@gmail.com> Reviewed by: Josef "Jeff" Sipek Approved by: Dan McDonald Author: Richard PA

svn commit: r279861 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2015-03-10 Thread Mark Johnston
Author: markj Date: Tue Mar 10 20:43:16 2015 New Revision: 279861 URL: https://svnweb.freebsd.org/changeset/base/279861 Log: MFV r279822: This merge is effectively a no-op since parts of it are already present in FreeBSD, and the rest is incorrect since gelf_newehdr(3) and gelf_newphdr(

svn commit: r279862 - head/cddl/contrib/opensolaris/common/ctf

2015-03-10 Thread Mark Johnston
Author: markj Date: Tue Mar 10 20:52:03 2015 New Revision: 279862 URL: https://svnweb.freebsd.org/changeset/base/279862 Log: ctf_discard(): fetch the next list element before restarting the loop. If we end up skipping a dynamic type because it has already been committed to the container, we

svn commit: r279864 - head/cddl/contrib/opensolaris/common/ctf

2015-03-10 Thread Mark Johnston
Author: markj Date: Tue Mar 10 21:08:58 2015 New Revision: 279864 URL: https://svnweb.freebsd.org/changeset/base/279864 Log: CTF containers use the ctf_dtoldid field as a threshold type index which indicates the range of type indices which have been committed to the container by ctf_update()

svn commit: r279869 - head/cddl/contrib/opensolaris/common/ctf

2015-03-10 Thread Mark Johnston
Author: markj Date: Wed Mar 11 00:01:39 2015 New Revision: 279869 URL: https://svnweb.freebsd.org/changeset/base/279869 Log: When copying a type from a source CTF container to a destination container, ctf_add_type() first performs a by-name lookup of the type in the destination container. If

svn commit: r279895 - stable/10/share/man/man9

2015-03-11 Thread Mark Johnston
Author: markj Date: Thu Mar 12 01:03:04 2015 New Revision: 279895 URL: https://svnweb.freebsd.org/changeset/base/279895 Log: MFC r279802: Don't specify a function name in the example SDT(9) probe. Modified: stable/10/share/man/man9/SDT.9 Directory Properties: stable/10/ (props changed) M

svn commit: r279896 - head/share/man/man9

2015-03-11 Thread Mark Johnston
Author: markj Date: Thu Mar 12 01:05:54 2015 New Revision: 279896 URL: https://svnweb.freebsd.org/changeset/base/279896 Log: Document m_collapse(). Reported by: kmacy Reviewed by: kmacy MFC after:1 week Sponsored by: EMC / Isilon Storage Division Modified: head/share/man/man9

svn commit: r280125 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2015-03-15 Thread Mark Johnston
Author: markj Date: Sun Mar 15 21:57:44 2015 New Revision: 280125 URL: https://svnweb.freebsd.org/changeset/base/280125 Log: Add a missing format string argument. PR: 197391 MFC after:3 days Modified: head/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c Modified: head/cddl/

svn commit: r280132 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2015-03-15 Thread Mark Johnston
Author: markj Date: Mon Mar 16 01:15:08 2015 New Revision: 280132 URL: https://svnweb.freebsd.org/changeset/base/280132 Log: Remove unused upstream DTrace provider implementations that are duplicates of providers under sys/cddl/dev/. Also remove sdt_subr.c, which isn't used in FreeBSD's SDT

svn commit: r280200 - stable/9/cddl/contrib/opensolaris/tools/ctf/cvt

2015-03-17 Thread Mark Johnston
Author: markj Date: Wed Mar 18 02:29:00 2015 New Revision: 280200 URL: https://svnweb.freebsd.org/changeset/base/280200 Log: MFC r280125: Add a missing format string argument. PR: 197391 Modified: stable/9/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c Directory Properties: s

svn commit: r280201 - stable/10/cddl/contrib/opensolaris/tools/ctf/cvt

2015-03-17 Thread Mark Johnston
Author: markj Date: Wed Mar 18 02:29:51 2015 New Revision: 280201 URL: https://svnweb.freebsd.org/changeset/base/280201 Log: MFC r280125: Add a missing format string argument. PR: 197391 Modified: stable/10/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c Directory Properties:

svn commit: r280270 - stable/10/share/man/man9

2015-03-19 Thread Mark Johnston
Author: markj Date: Thu Mar 19 23:07:04 2015 New Revision: 280270 URL: https://svnweb.freebsd.org/changeset/base/280270 Log: MFC r279896: Document m_collapse(). Modified: stable/10/share/man/man9/mbuf.9 Directory Properties: stable/10/ (props changed) Modified: stable/10/share/man/man9

svn commit: r280269 - stable/9/share/man/man9

2015-03-19 Thread Mark Johnston
Author: markj Date: Thu Mar 19 23:06:45 2015 New Revision: 280269 URL: https://svnweb.freebsd.org/changeset/base/280269 Log: MFC r279896: Document m_collapse(). Modified: stable/9/share/man/man9/mbuf.9 Directory Properties: stable/9/share/man/man9/ (props changed) Modified: stable/9/sh

<    1   2   3   4   5   6   7   8   9   10   >