svn commit: r285760 - in stable/9/sys: cddl/dev/lockstat kern sys

2015-07-21 Thread Mark Johnston
Author: markj Date: Tue Jul 21 17:19:03 2015 New Revision: 285760 URL: https://svnweb.freebsd.org/changeset/base/285760 Log: MFC r285663, r285664, r285667: Ensure that locstat_nsecs() has no effect when lockstat probes are not enabled or when the profiled lock carries the LO_NOPROFILE flag.

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

2015-08-27 Thread Mark Johnston
Author: markj Date: Thu Aug 27 23:46:45 2015 New Revision: 287228 URL: https://svnweb.freebsd.org/changeset/base/287228 Log: MFC r286169: Perform bounds checking when constructing a format string. PR: 201657 Modified: stable/9/cddl/contrib/opensolaris/lib/libdtrace/common/dt_printf.c

svn commit: r299696 - stable/9/sys/dev/sym

2016-05-13 Thread Mark Johnston
Author: markj Date: Fri May 13 21:05:09 2016 New Revision: 299696 URL: https://svnweb.freebsd.org/changeset/base/299696 Log: MFC r299694: Fix a bug in r298340: "sim" was referenced after being unset. Modified: stable/9/sys/dev/sym/sym_hipd.c Directory Properties: stable/9/ (props change

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

2016-07-15 Thread Mark Johnston
Author: markj Date: Fri Jul 15 19:14:28 2016 New Revision: 302910 URL: https://svnweb.freebsd.org/changeset/base/302910 Log: MFC r302507: Avoid truncating the return value of DTrace predicates. Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c Directory Properties:

svn commit: r303681 - stable/9/lib/libc/gen

2016-08-02 Thread Mark Johnston
Author: markj Date: Tue Aug 2 21:17:59 2016 New Revision: 303681 URL: https://svnweb.freebsd.org/changeset/base/303681 Log: MFC r301710: Fix an infinite loop in setnetgrent(3) with NIS netgroups. Modified: stable/9/lib/libc/gen/getnetgrent.c Directory Properties: stable/9/lib/libc/ (pr

svn commit: r263282 - in stable/9/sys: cddl/contrib/opensolaris/uts/intel/dtrace kern

2014-03-17 Thread Mark Johnston
Author: markj Date: Tue Mar 18 00:38:36 2014 New Revision: 263282 URL: http://svnweb.freebsd.org/changeset/base/263282 Log: MFC r259535: The fasttrap fork handler is responsible for removing tracepoints in the child process that were inherited from its parent. However, this should not be d

svn commit: r263284 - stable/9/sys/kern

2014-03-17 Thread Mark Johnston
Author: markj Date: Tue Mar 18 00:55:40 2014 New Revision: 263284 URL: http://svnweb.freebsd.org/changeset/base/263284 Log: MFC r262325: Print a backtrace if the SDT(9) stub gets called so that there's at least some hope of figuring out how it happened. Modified: stable/9/sys/kern/kern_sd

svn commit: r264797 - in stable/9: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc sys/cddl/contrib/opensolaris/uts/common/dtrace

2014-04-22 Thread Mark Johnston
Author: markj Date: Wed Apr 23 03:30:00 2014 New Revision: 264797 URL: http://svnweb.freebsd.org/changeset/base/264797 Log: MFC r262596: 4478 dtrace_dof_maxsize is far too small illumos/illumos-gate@d339a29bb4765c4b6883a935cf69b669cd05bca0 Added: stable/9/cddl/contrib/opensolaris/cmd/

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

2014-04-28 Thread Mark Johnston
Author: markj Date: Tue Apr 29 03:37:30 2014 New Revision: 265074 URL: http://svnweb.freebsd.org/changeset/base/265074 Log: MFC r264436: Fix some off-by-one errors. The kve_end and rdl_eaddr fields contain the first address after the end of the map entry and should therefore be excluded.

svn commit: r265076 - stable/9/sbin/savecore

2014-04-28 Thread Mark Johnston
Author: markj Date: Tue Apr 29 03:50:23 2014 New Revision: 265076 URL: http://svnweb.freebsd.org/changeset/base/265076 Log: MFC r262775: Log the name of the file that we failed to open rather than an uninitialized buffer. Modified: stable/9/sbin/savecore/savecore.c Directory Properties:

svn commit: r265077 - stable/9/sbin/savecore

2014-04-28 Thread Mark Johnston
Author: markj Date: Tue Apr 29 03:58:17 2014 New Revision: 265077 URL: http://svnweb.freebsd.org/changeset/base/265077 Log: Revert r265076; r262775 should not be MFC'd to stable/9. Modified: stable/9/sbin/savecore/savecore.c Directory Properties: stable/9/sbin/savecore/ (props changed) M

svn commit: r265168 - stable/9/sys/conf

2014-04-30 Thread Mark Johnston
Author: markj Date: Thu May 1 03:16:40 2014 New Revision: 265168 URL: http://svnweb.freebsd.org/changeset/base/265168 Log: MFC r262733: Use a full path to the target for make rules which create symlinks @, machine and ${MACHINE_CPUARCH}. Otherwise the presence of a file named "x86" or "x8

svn commit: r265274 - in stable/9: cddl/lib/libdtrace sys/cddl/contrib/opensolaris/uts/intel/dtrace sys/cddl/dev/dtrace/amd64 sys/cddl/dev/dtrace/i386 sys/cddl/dev/dtrace/x86 sys/modules/dtrace/dtrace

2014-05-03 Thread Mark Johnston
Author: markj Date: Sat May 3 16:09:08 2014 New Revision: 265274 URL: http://svnweb.freebsd.org/changeset/base/265274 Log: MFC r262542: Move some files that are identical on i386 and amd64 to an x86 subdirectory rather than keeping duplicate copies. Added: stable/9/sys/cddl/dev/dtrace/x8

svn commit: r265278 - stable/9/sys/cddl/dev/dtrace/x86

2014-05-03 Thread Mark Johnston
Author: markj Date: Sat May 3 16:24:41 2014 New Revision: 265278 URL: http://svnweb.freebsd.org/changeset/base/265278 Log: MFC r262543: Fix the struct reg mappings for i386 and amd64, which differ between illumos and FreeBSD. Modified: stable/9/sys/cddl/dev/dtrace/x86/regset.h Directory

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

2014-05-04 Thread Mark Johnston
Author: markj Date: Mon May 5 01:26:28 2014 New Revision: 265341 URL: http://svnweb.freebsd.org/changeset/base/265341 Log: MFC r262661: Fix emulation of call and jmp instructions on i386 and for 32-bit processes on amd64. Modified: stable/9/sys/cddl/contrib/opensolaris/uts/intel/dtrace/f

svn commit: r265882 - in stable/9/sys/cddl/dev/dtrace: amd64 i386

2014-05-11 Thread Mark Johnston
Author: markj Date: Sun May 11 16:48:36 2014 New Revision: 265882 URL: http://svnweb.freebsd.org/changeset/base/265882 Log: MFC r236566 (by zml): Fix DTrace TSC skew calculation: The skew calculation here is exactly backwards. We were able to repro it on a multi-package ESX server runni

svn commit: r266101 - in stable/9/sys/cddl: contrib/opensolaris/uts/common/dtrace dev/dtrace

2014-05-14 Thread Mark Johnston
Author: markj Date: Thu May 15 00:50:57 2014 New Revision: 266101 URL: http://svnweb.freebsd.org/changeset/base/266101 Log: MFC r262665: Expose a few DTrace parameters as sysctls under kern.dtrace and add descriptions for several existing sysctls. PR: 187027 Modified: stable/9/sys/

svn commit: r266453 - stable/9/sys/dev/hwpmc

2014-05-19 Thread Mark Johnston
Author: markj Date: Mon May 19 19:54:21 2014 New Revision: 266453 URL: http://svnweb.freebsd.org/changeset/base/266453 Log: MFC r266195: Remove some prototypes for undefined functions. Modified: stable/9/sys/dev/hwpmc/hwpmc_core.h stable/9/sys/dev/hwpmc/hwpmc_uncore.h Directory Propert

svn commit: r269040 - in stable/9: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering cddl/contrib/opensolaris/lib/libdtrace/common sys/cddl/compat/opensolaris/sys sys/cddl/contrib/opens...

2014-07-23 Thread Mark Johnston
Author: markj Date: Thu Jul 24 01:08:02 2014 New Revision: 269040 URL: http://svnweb.freebsd.org/changeset/base/269040 Log: MFC r262329: Define the KM_NORMALPRI flag for kmem_alloc(), as it is used in some upstream DTrace code. MFC r262330: 1452 DTrace buffer autoscaling should be les

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

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 18:31:44 2014 New Revision: 269246 URL: http://svnweb.freebsd.org/changeset/base/269246 Log: MFC r262669: When our linker merges .SUNW_dof sections from multiple files, it simply concatenates the DOF tables into one section. Previously, the USDT init code in

svn commit: r269254 - in stable/9/sys: amd64/amd64 i386/i386

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 20:34:10 2014 New Revision: 269254 URL: http://svnweb.freebsd.org/changeset/base/269254 Log: MFC r263329: Only invoke fasttrap hooks for traps from user mode, and ensure that they're called with interrupts enabled. Calling fasttrap_pid_probe() with interrupts

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

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 20:38:08 2014 New Revision: 269256 URL: http://svnweb.freebsd.org/changeset/base/269256 Log: MFC r264363: Update the SDT(9) examples to reflect the removal of the sname parameter in r258622. Modified: stable/9/share/man/man9/SDT.9 Directory Properties: sta

svn commit: r269259 - stable/9/lib/libc/sys

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 21:15:24 2014 New Revision: 269259 URL: http://svnweb.freebsd.org/changeset/base/269259 Log: MFC r268446: Fix a typo. Modified: stable/9/lib/libc/sys/procctl.2 Directory Properties: stable/9/lib/libc/ (props changed) stable/9/lib/libc/sys/ (props chang

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

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 21:21:15 2014 New Revision: 269262 URL: http://svnweb.freebsd.org/changeset/base/269262 Log: MFC r264486: Use the correct format specifiers for wide characters and strings of wide characters. Modified: stable/9/cddl/contrib/opensolaris/lib/libdtrace/common/d

svn commit: r269273 - stable/9/sys/cddl/dev/systrace

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 22:26:42 2014 New Revision: 269273 URL: http://svnweb.freebsd.org/changeset/base/269273 Log: MFC r264435: Ensure that all eight syscall arguments are available to dtrace_probe(), rather than just the first five. Modified: stable/9/sys/cddl/dev/systrace/systr

svn commit: r269275 - stable/9/lib/libutil

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 22:29:32 2014 New Revision: 269275 URL: http://svnweb.freebsd.org/changeset/base/269275 Log: MFC r265276: Fix a typo. Modified: stable/9/lib/libutil/kinfo_getfile.3 Directory Properties: stable/9/lib/libutil/ (props changed) Modified: stable/9/lib/libutil

svn commit: r269343 - in stable/9/sys/cddl: contrib/opensolaris/uts/common/dtrace contrib/opensolaris/uts/common/sys contrib/opensolaris/uts/intel/dtrace dev/dtrace

2014-07-31 Thread Mark Johnston
Author: markj Date: Thu Jul 31 17:10:04 2014 New Revision: 269343 URL: http://svnweb.freebsd.org/changeset/base/269343 Log: MFC r264434: DTrace's pid provider works by inserting breakpoint instructions at probe sites and installing a hook at the kernel's trap handler. The fasttrap code wil

svn commit: r269521 - in stable/9: cddl/contrib/opensolaris/lib/libdtrace/common cddl/lib/libdtrace sys/cddl/contrib/opensolaris/uts/common/dtrace sys/cddl/contrib/opensolaris/uts/common/sys sys/cd...

2014-08-04 Thread Mark Johnston
Author: markj Date: Mon Aug 4 15:36:23 2014 New Revision: 269521 URL: http://svnweb.freebsd.org/changeset/base/269521 Log: MFC r256571: Add a function, memstr, which can be used to convert a buffer of null-separated strings to a single string. This can be used to print the full arguments

svn commit: r269532 - in stable/9/sys/cddl: contrib/opensolaris/uts/intel/dtrace dev/dtrace/amd64

2014-08-04 Thread Mark Johnston
Author: markj Date: Mon Aug 4 21:41:01 2014 New Revision: 269532 URL: http://svnweb.freebsd.org/changeset/base/269532 Log: MFC r256822: When fetching function arguments out of a frame on amd64, explicitly select the register based on the argument index rather than relying on the fields in

svn commit: r269544 - stable/9/sys/cddl/dev/sdt

2014-08-04 Thread Mark Johnston
Author: markj Date: Tue Aug 5 00:25:19 2014 New Revision: 269544 URL: http://svnweb.freebsd.org/changeset/base/269544 Log: MFC r267706: Allow creation of SDT probes from a module in which no providers are defined. This ensures that the sdt:zfs:: probes appear despite the fact the sdt prov

svn commit: r269547 - stable/9/sys/dev/sound/pci/hda

2014-08-04 Thread Mark Johnston
Author: markj Date: Tue Aug 5 01:03:11 2014 New Revision: 269547 URL: http://svnweb.freebsd.org/changeset/base/269547 Log: MFC r268584: Add a headphone redirection quirk for the Lenovo G580. Modified: stable/9/sys/dev/sound/pci/hda/hdaa_patches.c stable/9/sys/dev/sound/pci/hda/hdac.h Dir

svn commit: r269556 - in stable/9/sys/cddl: contrib/opensolaris/uts/common/sys dev/dtrace/amd64 dev/dtrace/i386

2014-08-04 Thread Mark Johnston
Author: markj Date: Tue Aug 5 01:53:14 2014 New Revision: 269556 URL: http://svnweb.freebsd.org/changeset/base/269556 Log: MFC r267759, r267761 r267759: Fix a couple of bugs on amd64 when fetching probe arguments beyond the first five for probes entered through a UD fault (i.e. FBT pro

svn commit: r269681 - stable/9/libexec/rtld-elf

2014-08-07 Thread Mark Johnston
Author: markj Date: Thu Aug 7 18:37:15 2014 New Revision: 269681 URL: http://svnweb.freebsd.org/changeset/base/269681 Log: MFC r265456, r265578: Add a postinit debugger hook to rtld. This will be used by dtrace(1) to halt the victim process before its entry point is called, at which point p

svn commit: r269719 - stable/9/lib/librtld_db

2014-08-08 Thread Mark Johnston
Author: markj Date: Fri Aug 8 14:52:59 2014 New Revision: 269719 URL: http://svnweb.freebsd.org/changeset/base/269719 Log: MFC r265629, r265630 MFC r265629: Handle the different event types properly in rd_event_addr(). In particular, with r265456 _r_debug_postinit can be used for RD_PO

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: 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: 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: 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: 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

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: 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: r271184 - in stable/9: sys/netinet6 usr.bin/netstat

2014-09-05 Thread Mark Johnston
Author: markj Date: Sat Sep 6 04:33:37 2014 New Revision: 271184 URL: http://svnweb.freebsd.org/changeset/base/271184 Log: MFC r270348: 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_contr

svn commit: r271233 - in stable/9/sys: amd64/conf conf i386/conf

2014-09-07 Thread Mark Johnston
Author: markj Date: Sun Sep 7 18:42:45 2014 New Revision: 271233 URL: http://svnweb.freebsd.org/changeset/base/271233 Log: MFC r271137: Add mrsas(4) to GENERIC for i386 and amd64. Modified: stable/9/sys/amd64/conf/GENERIC stable/9/sys/conf/NOTES stable/9/sys/i386/conf/GENERIC Directory

svn commit: r273490 - stable/9/usr.bin/elfdump

2014-10-22 Thread Mark Johnston
Author: markj Date: Wed Oct 22 23:55:06 2014 New Revision: 273490 URL: https://svnweb.freebsd.org/changeset/base/273490 Log: MFC r271692: Fix a typo. Modified: stable/9/usr.bin/elfdump/elfdump.1 Directory Properties: stable/9/usr.bin/elfdump/ (props changed) Modified: stable/9/usr.bin/

svn commit: r273553 - stable/9/usr.sbin/newsyslog

2014-10-23 Thread Mark Johnston
Author: markj Date: Thu Oct 23 18:48:43 2014 New Revision: 273553 URL: https://svnweb.freebsd.org/changeset/base/273553 Log: MFC 272763: If we fail to send a signal after rotation, print the pidfile from which the corresponding PID was obtained. PR: 194143 Modified: stable/

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

2014-10-24 Thread Mark Johnston
Author: markj Date: Fri Oct 24 17:24:29 2014 New Revision: 273596 URL: https://svnweb.freebsd.org/changeset/base/273596 Log: MFC r258902: The uaddr, ufunc, umod and usym functions all seem to work as expected on FreeBSD, so stop hiding them behind a "#if defined(sun)". Modified: stable/9/

svn commit: r274156 - stable/9/sys/dev/hwpmc

2014-11-05 Thread Mark Johnston
Author: markj Date: Thu Nov 6 01:30:15 2014 New Revision: 274156 URL: https://svnweb.freebsd.org/changeset/base/274156 Log: MFC r273236: Use pmc_destroy_pmc_descriptor() to actually free the pmc, which is consistent with pmc_destroy_owner_descriptor(). Also be sure to destroy PMCs if a pr

svn commit: r274158 - stable/9/sys/kern

2014-11-05 Thread Mark Johnston
Author: markj Date: Thu Nov 6 01:34:44 2014 New Revision: 274158 URL: https://svnweb.freebsd.org/changeset/base/274158 Log: MFC r273342: Fix a typo from r189544, which replaced unp_global_rwlock with unp_list_lock and unp_link_rwlock. Modified: stable/9/sys/kern/subr_witness.c Directory

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: 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: 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: 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: 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: 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: 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

svn commit: r280271 - in stable/9/sys: amd64/amd64 i386/i386

2015-03-19 Thread Mark Johnston
Author: markj Date: Thu Mar 19 23:12:49 2015 New Revision: 280271 URL: https://svnweb.freebsd.org/changeset/base/280271 Log: MFC r278655: Add support for decoding multibyte NOPs. Modified: stable/9/sys/amd64/amd64/db_disasm.c stable/9/sys/i386/i386/db_disasm.c Directory Properties: stab

svn commit: r244878 - stable/9/etc

2012-12-30 Thread Mark Johnston
Author: markj Date: Mon Dec 31 03:34:14 2012 New Revision: 244878 URL: http://svnweb.freebsd.org/changeset/base/244878 Log: MFC r244522: Don't reload syslogd after rotating sendmail.st. Approved by: emaste (co-mentor) Modified: stable/9/etc/newsyslog.conf Modified: stable/9/etc/newsysl

svn commit: r244881 - stable/9/usr.sbin/syslogd

2012-12-30 Thread Mark Johnston
Author: markj Date: Mon Dec 31 03:34:52 2012 New Revision: 244881 URL: http://svnweb.freebsd.org/changeset/base/244881 Log: MFC 244523: - Make sure that errno isn't modified before calling logerror() in error conditions. - Don't check for AF_INET6 when compiled without INET6 support.

svn commit: r244884 - stable/9/etc

2012-12-30 Thread Mark Johnston
Author: markj Date: Mon Dec 31 03:47:43 2012 New Revision: 244884 URL: http://svnweb.freebsd.org/changeset/base/244884 Log: Add mergeinfo that I accidentally omitted in my last commit. Approved by: emaste (co-mentor) Modified: Directory Properties: stable/9/etc/ (props changed) __

svn commit: r244887 - stable/9/usr.sbin/syslogd

2012-12-30 Thread Mark Johnston
Author: markj Date: Mon Dec 31 03:48:17 2012 New Revision: 244887 URL: http://svnweb.freebsd.org/changeset/base/244887 Log: Add mergeinfo that I accidentally omitted in my last commit. Approved by: emaste (co-mentor) Modified: Directory Properties: stable/9/usr.sbin/syslogd/ (props ch

svn commit: r245076 - stable/9/usr.sbin/rarpd

2013-01-05 Thread Mark Johnston
Author: markj Date: Sat Jan 5 22:55:08 2013 New Revision: 245076 URL: http://svnweb.freebsd.org/changeset/base/245076 Log: - Add IFT_L2VLAN (vlan(4)) support. - Add a -P option to support PID files. When -a is specified /var/run/rarpd.pid is used by default, and when an interface is s

svn commit: r245358 - in stable/9/sys/dev/usb: . quirk

2013-01-12 Thread Mark Johnston
Author: markj Date: Sun Jan 13 04:13:45 2013 New Revision: 245358 URL: http://svnweb.freebsd.org/changeset/base/245358 Log: MFC r244719: Add the NO_SYNC_CACHE quirk for all Apple USB MSC devices, as they typically do not handle the SYNCHRONIZE_CACHE command - they either return an er

svn commit: r245360 - stable/9/usr.sbin/newsyslog

2013-01-12 Thread Mark Johnston
Author: markj Date: Sun Jan 13 04:14:46 2013 New Revision: 245360 URL: http://svnweb.freebsd.org/changeset/base/245360 Log: MFC r244995 r244996 r244997. MFC r244995: Fix a typo in an error message. MFC r244996: Have -n imply -r, since dry-run mode obviously doesn't require root

svn commit: r246918 - stable/9/usr.sbin/newsyslog

2013-02-17 Thread Mark Johnston
Author: markj Date: Sun Feb 17 19:49:18 2013 New Revision: 246918 URL: http://svnweb.freebsd.org/changeset/base/246918 Log: MFC r245961 r245962 r245963. MFC r245961: When the 'R' flag is used with a newsyslog.conf entry, some fields of the corresponding struct sigwork_entry were lef

svn commit: r246920 - stable/9/usr.bin/grep/regex

2013-02-17 Thread Mark Johnston
Author: markj Date: Sun Feb 17 19:49:59 2013 New Revision: 246920 URL: http://svnweb.freebsd.org/changeset/base/246920 Log: MFC r245075: Fix a segfault when bsdgrep -i is given an empty pattern string. Approved by: emaste (co-mentor) Modified: stable/9/usr.bin/grep/regex/tre-fastmat

svn commit: r246997 - stable/9/sys/netinet

2013-02-19 Thread Mark Johnston
Author: markj Date: Tue Feb 19 16:39:53 2013 New Revision: 246997 URL: http://svnweb.freebsd.org/changeset/base/246997 Log: MFC r239672 (by rrs): This small change takes care of a race condition that can occur when both sides close at the same time. If that occurs, without this fix t

svn commit: r247294 - stable/9/usr.bin/grep/regex

2013-02-25 Thread Mark Johnston
Author: markj Date: Tue Feb 26 00:44:54 2013 New Revision: 247294 URL: http://svnweb.freebsd.org/changeset/base/247294 Log: MFC r246917: Strengthen the check in IS_OUT_OF_BOUNDS to ensure that (j - 1) is a valid index into the input buffer. Approved by: rstone (co-mentor) Modified

svn commit: r247724 - stable/9/lib/libelf

2013-03-03 Thread Mark Johnston
Author: markj Date: Sun Mar 3 19:02:23 2013 New Revision: 247724 URL: http://svnweb.freebsd.org/changeset/base/247724 Log: MFC r246978: - Make sure to set an error code when trying to obtain a data descriptor for a section of type SHT_NULL. - Update the man page to reflect the fac

svn commit: r248215 - stable/9/usr.bin/grep/regex

2013-03-12 Thread Mark Johnston
Author: markj Date: Tue Mar 12 19:28:41 2013 New Revision: 248215 URL: http://svnweb.freebsd.org/changeset/base/248215 Log: MFC r248214: Revert r246917, as it is causing incorrect behaviour as reported on freebsd-current. Approved by: emaste (co-mentor) Modified: stable/9/usr.bi

svn commit: r250478 - stable/9/usr.sbin/newsyslog

2013-05-10 Thread Mark Johnston
Author: markj Date: Fri May 10 20:55:39 2013 New Revision: 250478 URL: http://svnweb.freebsd.org/changeset/base/250478 Log: MFC r248776: Fix interval-based rotations when the -t flag is used. In this case, find the most-recently archived logfile and use its mtime to determine whether

svn commit: r250480 - stable/9/sys/net

2013-05-10 Thread Mark Johnston
Author: markj Date: Fri May 10 20:57:04 2013 New Revision: 250480 URL: http://svnweb.freebsd.org/changeset/base/250480 Log: MFC r248851: Ignore interface renames instead of removing the interface from the bridge group. Approved by: emaste Modified: stable/9/sys/net/if_bridge.c D

svn commit: r250482 - in stable/9: sys/dev/mfi usr.sbin/mfiutil

2013-05-10 Thread Mark Johnston
Author: markj Date: Fri May 10 21:08:53 2013 New Revision: 250482 URL: http://svnweb.freebsd.org/changeset/base/250482 Log: MFC r249257: Add support for getting and setting BBU properties related to battery relearning. Specifically, add subcommands to mfiutil(8) which allow the user

svn commit: r250489 - stable/9/usr.sbin/newsyslog

2013-05-10 Thread Mark Johnston
Author: markj Date: Sat May 11 00:04:17 2013 New Revision: 250489 URL: http://svnweb.freebsd.org/changeset/base/250489 Log: Fix the build: 'valid' is no longer used. Modified: stable/9/usr.sbin/newsyslog/newsyslog.c Modified: stable/9/usr.sbin/newsyslog/newsyslog.c ==

svn commit: r251110 - stable/9/usr.sbin/newsyslog

2013-05-29 Thread Mark Johnston
Author: markj Date: Wed May 29 21:07:24 2013 New Revision: 251110 URL: http://svnweb.freebsd.org/changeset/base/251110 Log: MFC r250545: Some filesystems (NFS in particular) do not fill out the d_type field when returning directory entries through readdir(3). In this case we need to

svn commit: r251113 - stable/9/usr.sbin/newsyslog

2013-05-29 Thread Mark Johnston
Author: markj Date: Wed May 29 22:30:29 2013 New Revision: 251113 URL: http://svnweb.freebsd.org/changeset/base/251113 Log: Revert my previous merge. There's a variable name difference between head and stable (dirfd vs. dir_fd) and I managed to get it wrong again when I did the MFC, even aft

Re: svn commit: r251113 - stable/9/usr.sbin/newsyslog

2013-05-29 Thread Mark Johnston
the stable branches. Is it possible to only do the newsyslog portion of this MFC, or is it a rule that either all or none of a given revision should be merged to the stable branches? Sorry again, -Mark On Wed, May 29, 2013 at 10:30:30PM +0000, Mark Johnston wrote: > Author: markj > Date: Wed May

svn commit: r251532 - stable/9/usr.sbin/newsyslog

2013-06-08 Thread Mark Johnston
Author: markj Date: Sat Jun 8 15:45:01 2013 New Revision: 251532 URL: http://svnweb.freebsd.org/changeset/base/251532 Log: MFC r235647 for newsyslog (by gleb): Hide DIR definition by making it an opaque struct typedef. Introduce dirfd() libc exported symbol replacing macro with same name

svn commit: r251534 - stable/9/usr.sbin/ndp

2013-06-08 Thread Mark Johnston
Author: markj Date: Sat Jun 8 15:46:42 2013 New Revision: 251534 URL: http://svnweb.freebsd.org/changeset/base/251534 Log: MFC r250941: Include descriptions of the flags and fields printed when dumping the IPv6 prefix list. Modified: stable/9/usr.sbin/ndp/ndp.8 Directory Properties: st

svn commit: r251536 - stable/9/usr.sbin/rtsold

2013-06-08 Thread Mark Johnston
Author: markj Date: Sat Jun 8 15:48:01 2013 New Revision: 251536 URL: http://svnweb.freebsd.org/changeset/base/251536 Log: MFC r250939: Correct the description of the -a option: rtsol(d) -a will in fact send out router solicitations on multiple interfaces. MFC r251059: - Fix wording.

svn commit: r251582 - stable/9/lib/libelf

2013-06-09 Thread Mark Johnston
Author: markj Date: Sun Jun 9 17:47:01 2013 New Revision: 251582 URL: http://svnweb.freebsd.org/changeset/base/251582 Log: MFC r247221: Merge part of r1712 from elftoolchain, making it possible to resize ELF sections and indirectly change the layout of an ELF file when ELF_F_LAYOUT is not

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

2013-06-21 Thread Mark Johnston
Author: markj Date: Sat Jun 22 04:03:57 2013 New Revision: 252087 URL: http://svnweb.freebsd.org/changeset/base/252087 Log: MFC r251723: The functions are called pci_{msi,msix}_count(), not pci_count_{msi,msix}(). Modified: stable/9/share/man/man9/pci.9 Directory Properties: stable/9/shar

svn commit: r252089 - stable/9/sys/sys

2013-06-21 Thread Mark Johnston
Author: markj Date: Sat Jun 22 04:50:25 2013 New Revision: 252089 URL: http://svnweb.freebsd.org/changeset/base/252089 Log: MFC r251166: Add macros which allow one to define SDT probes with six or seven arguments; they are needed when porting some of the Solaris providers (ip, iscsi, and t

svn commit: r252091 - stable/9/sys/dev/coretemp

2013-06-21 Thread Mark Johnston
Author: markj Date: Sat Jun 22 05:24:29 2013 New Revision: 252091 URL: http://svnweb.freebsd.org/changeset/base/252091 Log: MFC r246951: Mark the coretemp(4) sysctls as MPSAFE, ensuring that Giant won't be held unnecessarily by a user thread waiting to run on a specific CPU after calling s

svn commit: r252093 - stable/9/usr.sbin/mfiutil

2013-06-21 Thread Mark Johnston
Author: markj Date: Sat Jun 22 05:32:11 2013 New Revision: 252093 URL: http://svnweb.freebsd.org/changeset/base/252093 Log: MFC r250599: Add a remark to the effect that a manually started relearn will always result in the battery being completely drained, even in transparent learning mode.

svn commit: r252135 - stable/9/sys/dev/age

2013-06-23 Thread Mark Johnston
Author: markj Date: Mon Jun 24 01:03:58 2013 New Revision: 252135 URL: http://svnweb.freebsd.org/changeset/base/252135 Log: MFC r251872: Be sure to actually decrement the "count" parameter for each processed descriptor so that we return when the threshold has been reached. Modified: stabl

svn commit: r252137 - in stable/9/sys: . dev

2013-06-23 Thread Mark Johnston
Author: markj Date: Mon Jun 24 01:09:28 2013 New Revision: 252137 URL: http://svnweb.freebsd.org/changeset/base/252137 Log: Missed mergeinfo for r252135. Modified: Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/ (props changed) _

svn commit: r252643 - stable/9/sys/dev/mfi

2013-07-03 Thread Mark Johnston
Author: markj Date: Wed Jul 3 23:15:30 2013 New Revision: 252643 URL: http://svnweb.freebsd.org/changeset/base/252643 Log: MFC r242726 (ambrisko): Add support for SCSI pass through devices to be attached and detached. MFC r251172 (sbruno): xpt_create_path() requires mfi_io_lock to be h

svn commit: r252858 - in stable/9/sys/cddl/dev: dtrace/amd64 sdt

2013-07-05 Thread Mark Johnston
Author: markj Date: Sat Jul 6 02:49:56 2013 New Revision: 252858 URL: http://svnweb.freebsd.org/changeset/base/252858 Log: MFC r251238: SDT probes can directly pass up to five arguments as arguments to dtrace_probe(). Arguments beyond these five must be obtained in an architecture-specifi

svn commit: r252860 - stable/9/sys/cddl/dev/dtmalloc

2013-07-05 Thread Mark Johnston
Author: markj Date: Sat Jul 6 03:39:40 2013 New Revision: 252860 URL: http://svnweb.freebsd.org/changeset/base/252860 Log: MFC r252325: The dtmalloc provider uses the short description of a malloc type as the function name of its corresponding DTrace probes. These descriptions may contain

svn commit: r254310 - stable/9/sys/net

2013-08-13 Thread Mark Johnston
Author: markj Date: Wed Aug 14 01:55:01 2013 New Revision: 254310 URL: http://svnweb.freebsd.org/changeset/base/254310 Log: MFC r254020: Add a missing module version declaration to if_tun(4). Modified: stable/9/sys/net/if_tun.c Directory Properties: stable/9/sys/ (props changed) stabl

svn commit: r254312 - stable/9/sys/vm

2013-08-13 Thread Mark Johnston
Author: markj Date: Wed Aug 14 02:00:37 2013 New Revision: 254312 URL: http://svnweb.freebsd.org/changeset/base/254312 Log: MFC r254017: Fill in the description fields for M_FICT_PAGES. Modified: stable/9/sys/vm/vm_phys.c Directory Properties: stable/9/sys/ (props changed) Modified: st

svn commit: r254313 - stable/9/usr.bin/truss

2013-08-13 Thread Mark Johnston
Author: markj Date: Wed Aug 14 02:36:21 2013 New Revision: 254313 URL: http://svnweb.freebsd.org/changeset/base/254313 Log: MFC r253850: Properly print arguments to vfork(2) and rfork(2). Modified: stable/9/usr.bin/truss/syscall.h stable/9/usr.bin/truss/syscalls.c Directory Properties:

svn commit: r255196 - stable/9/usr.bin/ldd

2013-09-03 Thread Mark Johnston
Author: markj Date: Tue Sep 3 23:17:18 2013 New Revision: 255196 URL: http://svnweb.freebsd.org/changeset/base/255196 Log: MFC r254018: Pass variables prefixed with both LD_ and LD_32_ to the run-time linker. This prevents unintentional execution of programs when running ldd(1) on 32-bit

svn commit: r255740 - stable/9/sys/dev/mfi

2013-09-20 Thread Mark Johnston
Author: markj Date: Fri Sep 20 21:51:38 2013 New Revision: 255740 URL: http://svnweb.freebsd.org/changeset/base/255740 Log: MFC r254742: Hold mfi_io_lock across calls to xpt_rescan() and xpt_alloc_ccb_nowait(). xpt_rescan() expects the SIM lock to be held, and we trip a mtx_assert if the d

svn commit: r255743 - stable/9/sys/compat/linux

2013-09-20 Thread Mark Johnston
Author: markj Date: Fri Sep 20 22:00:07 2013 New Revision: 255743 URL: http://svnweb.freebsd.org/changeset/base/255743 Log: MFC r254467: Remove a couple of unused macros. Modified: stable/9/sys/compat/linux/linux_dtrace.h Directory Properties: stable/9/sys/ (props changed) Modified: st

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

2013-09-20 Thread Mark Johnston
Author: markj Date: Fri Sep 20 23:50:14 2013 New Revision: 255749 URL: http://svnweb.freebsd.org/changeset/base/255749 Log: MFC r250953: The fasttrap provider cleans up probes asynchronously when a process with USDT probes exits. This was previously done with a callout; however, it is poss

svn commit: r255763 - in stable/9/sys: cddl/contrib/opensolaris/uts/common/dtrace cddl/contrib/opensolaris/uts/common/sys cddl/dev/dtrace cddl/dev/fbt cddl/dev/sdt kern netinet sys

2013-09-21 Thread Mark Johnston
Author: markj Date: Sat Sep 21 16:46:34 2013 New Revision: 255763 URL: http://svnweb.freebsd.org/changeset/base/255763 Log: MFC r252894: Add SDT_PROBE_DEFINE0 for consistency with SDT_PROBE0. MFC r253022: Also define SDT_PROBE_DEFINE0 for the !KDTRACE_HOOKS case. MFC r254266: Add

svn commit: r256578 - stable/9/sbin/camcontrol

2013-10-15 Thread Mark Johnston
Author: markj Date: Wed Oct 16 03:37:02 2013 New Revision: 256578 URL: http://svnweb.freebsd.org/changeset/base/256578 Log: Fix an inverted check for the master user in "camcontrol security -U". Modified: stable/9/sbin/camcontrol/camcontrol.c Directory Properties: stable/9/sbin/camcontrol/

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

2013-12-25 Thread Mark Johnston
Author: markj Date: Wed Dec 25 22:32:52 2013 New Revision: 259894 URL: http://svnweb.freebsd.org/changeset/base/259894 Log: MFC r256661 r257222 r257235 r257248 r257298. MFC r256661: Fix the libproc build when DEBUG is defined. MFC r257222: Clean up the debug printing in libproc a b

  1   2   >