svn commit: r244889 - stable/7/usr.sbin/syslogd

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

svn commit: r244915 - head/share/mk

2012-12-31 Thread Mark Johnston
Author: markj Date: Mon Dec 31 21:54:43 2012 New Revision: 244915 URL: http://svnweb.freebsd.org/changeset/base/244915 Log: Explicitly specify that the beforelinking target depends on the generated object files, ensuring that the beforelinking recipe won't be executed until compilation has

svn commit: r244995 - head/usr.sbin/newsyslog

2013-01-03 Thread Mark Johnston
Author: markj Date: Thu Jan 3 16:11:24 2013 New Revision: 244995 URL: http://svnweb.freebsd.org/changeset/base/244995 Log: Fix a typo in an error message. Approved by: rstone (co-mentor) MFC after:1 week Modified: head/usr.sbin/newsyslog/newsyslog.c Modified:

svn commit: r244996 - head/usr.sbin/newsyslog

2013-01-03 Thread Mark Johnston
Author: markj Date: Thu Jan 3 16:12:48 2013 New Revision: 244996 URL: http://svnweb.freebsd.org/changeset/base/244996 Log: Have -n imply -r, since dry-run mode obviously doesn't require root privileges. Approved by: rstone (co-mentor) MFC after:1 week Modified:

svn commit: r244997 - head/usr.sbin/newsyslog

2013-01-03 Thread Mark Johnston
Author: markj Date: Thu Jan 3 16:14:51 2013 New Revision: 244997 URL: http://svnweb.freebsd.org/changeset/base/244997 Log: Make sure to update the mtime of a logfile after archiving it. This ensures that the next rotation happens at the correct time when using interval-based rotations.

svn commit: r245075 - head/usr.bin/grep/regex

2013-01-05 Thread Mark Johnston
Author: markj Date: Sat Jan 5 22:04:40 2013 New Revision: 245075 URL: http://svnweb.freebsd.org/changeset/base/245075 Log: Fix a segfault when bsdgrep -i is given an empty pattern string. PR: bin/172865 Reviewed by: gabor Approved by: emaste (co-mentor) MFC after:1

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

svn commit: r245077 - stable/8/usr.sbin/rarpd

2013-01-05 Thread Mark Johnston
Author: markj Date: Sat Jan 5 22:55:34 2013 New Revision: 245077 URL: http://svnweb.freebsd.org/changeset/base/245077 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

svn commit: r245078 - stable/7/usr.sbin/rarpd

2013-01-05 Thread Mark Johnston
Author: markj Date: Sat Jan 5 22:56:16 2013 New Revision: 245078 URL: http://svnweb.freebsd.org/changeset/base/245078 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

svn commit: r245357 - in stable/8/sys/dev/usb: . quirk

2013-01-12 Thread Mark Johnston
Author: markj Date: Sun Jan 13 04:13:14 2013 New Revision: 245357 URL: http://svnweb.freebsd.org/changeset/base/245357 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

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

svn commit: r245359 - stable/8/usr.sbin/newsyslog

2013-01-12 Thread Mark Johnston
Author: markj Date: Sun Jan 13 04:14:30 2013 New Revision: 245359 URL: http://svnweb.freebsd.org/changeset/base/245359 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

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

svn commit: r245960 - head/bin/cp

2013-01-26 Thread Mark Johnston
Author: markj Date: Sun Jan 27 05:59:28 2013 New Revision: 245960 URL: http://svnweb.freebsd.org/changeset/base/245960 Log: Return with an error from copy_link(), copy_fifo() and copy_special() if the -n option is specified and the destination file exists. PR: bin/174489

svn commit: r245961 - head/usr.sbin/newsyslog

2013-01-26 Thread Mark Johnston
Author: markj Date: Sun Jan 27 06:01:35 2013 New Revision: 245961 URL: http://svnweb.freebsd.org/changeset/base/245961 Log: When the 'R' flag is used with a newsyslog.conf entry, some fields of the corresponding struct sigwork_entry were left uninitialized, potentially causing an early

svn commit: r245962 - head/usr.sbin/newsyslog

2013-01-26 Thread Mark Johnston
Author: markj Date: Sun Jan 27 06:02:38 2013 New Revision: 245962 URL: http://svnweb.freebsd.org/changeset/base/245962 Log: Ensure that newsyslog -n prints the correct message for a rotation rule that uses the 'R' flag. Reviewed by: gad Approved by: rstone (co-mentor) MFC after:

svn commit: r245963 - head/usr.sbin/newsyslog

2013-01-26 Thread Mark Johnston
Author: markj Date: Sun Jan 27 06:03:57 2013 New Revision: 245963 URL: http://svnweb.freebsd.org/changeset/base/245963 Log: Rename the run_cmd field to sw_runcmd to make it consistent with the other fields in struct sigwork_entry. Approved by: rstone (co-mentor) MFC after:1 week

Re: svn commit: r246245 - head/sys/netgraph

2013-02-03 Thread Mark Johnston
On Sat, Feb 02, 2013 at 11:54:00AM +, Andriy Gapon wrote: Author: avg Date: Sat Feb 2 11:54:00 2013 New Revision: 246245 URL: http://svnweb.freebsd.org/changeset/base/246245 Log: ng_ether: track interface renaming Also sanitize interface names that can potentially contain

Re: svn commit: r246245 - head/sys/netgraph

2013-02-04 Thread Mark Johnston
On Mon, Feb 04, 2013 at 09:41:32AM +0200, Andriy Gapon wrote: on 04/02/2013 02:37 Mark Johnston said the following: On Sat, Feb 02, 2013 at 11:54:00AM +, Andriy Gapon wrote: Author: avg Date: Sat Feb 2 11:54:00 2013 New Revision: 246245 URL: http://svnweb.freebsd.org/changeset/base

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

2014-07-08 Thread Mark Johnston
Author: markj Date: Wed Jul 9 01:33:35 2014 New Revision: 268446 URL: http://svnweb.freebsd.org/changeset/base/268446 Log: Fix a typo. MFC after:3 days Modified: head/lib/libc/sys/procctl.2 Modified: head/lib/libc/sys/procctl.2

svn commit: r268501 - head/sys/dev/e1000

2014-07-10 Thread Mark Johnston
Author: markj Date: Thu Jul 10 16:46:46 2014 New Revision: 268501 URL: http://svnweb.freebsd.org/changeset/base/268501 Log: Correct the setting of the VID in transmit descriptors when hardware VLAN tagging is enabled. This was broken in r266978. Reported by: gjb Tested by:gjb

svn commit: r268584 - head/sys/dev/sound/pci/hda

2014-07-13 Thread Mark Johnston
Author: markj Date: Sun Jul 13 10:31:29 2014 New Revision: 268584 URL: http://svnweb.freebsd.org/changeset/base/268584 Log: Add a headphone redirection quirk for the Lenovo G580. MFC after:1 week Modified: head/sys/dev/sound/pci/hda/hdaa_patches.c head/sys/dev/sound/pci/hda/hdac.h

svn commit: r268600 - 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-07-13 Thread Mark Johnston
Author: markj Date: Mon Jul 14 04:38:17 2014 New Revision: 268600 URL: http://svnweb.freebsd.org/changeset/base/268600 Log: Invoke the DTrace trap handler before calling trap() on amd64. This matches the upstream implementation and helps ensure that a trap induced by tracing fbt::trap:entry

Re: svn commit: r268600 - 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-07-15 Thread Mark Johnston
On Mon, Jul 14, 2014 at 11:10:50AM +0300, Konstantin Belousov wrote: On Mon, Jul 14, 2014 at 04:38:17AM +, Mark Johnston wrote: Author: markj Date: Mon Jul 14 04:38:17 2014 New Revision: 268600 URL: http://svnweb.freebsd.org/changeset/base/268600 Log: Invoke the DTrace trap

svn commit: r268869 - in head/sys: amd64/amd64 cddl/dev/dtrace/amd64 cddl/dev/fbt

2014-07-18 Thread Mark Johnston
Author: markj Date: Sat Jul 19 02:27:31 2014 New Revision: 268869 URL: http://svnweb.freebsd.org/changeset/base/268869 Log: Use a C wrapper for trap() instead of checking and calling the DTrace trap hook in assembly. Suggested by: kib Reviewed by: kib (original version) X-MFC-With:

svn commit: r268923 - head/sys/amd64/amd64

2014-07-20 Thread Mark Johnston
Author: markj Date: Sun Jul 20 18:44:56 2014 New Revision: 268923 URL: http://svnweb.freebsd.org/changeset/base/268923 Log: Fix the build when DTrace isn't enabled. Reported by: stefanf X-MFC-With: r268600 Modified: head/sys/amd64/amd64/trap.c Modified: head/sys/amd64/amd64/trap.c

Re: svn commit: r268869 - in head/sys: amd64/amd64 cddl/dev/dtrace/amd64 cddl/dev/fbt

2014-07-20 Thread Mark Johnston
On Sun, Jul 20, 2014 at 04:32:19PM +0200, Stefan Farfeleder wrote: Hi, On Sat, Jul 19, 2014 at 02:27:32AM +, Mark Johnston wrote: Author: markj Date: Sat Jul 19 02:27:31 2014 New Revision: 268869 URL: http://svnweb.freebsd.org/changeset/base/268869 snip Modified: head/sys

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

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

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 18:31:27 2014 New Revision: 269245 URL: http://svnweb.freebsd.org/changeset/base/269245 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: 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: r269253 - in stable/10/sys: amd64/amd64 i386/i386

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 20:33:18 2014 New Revision: 269253 URL: http://svnweb.freebsd.org/changeset/base/269253 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: 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: r269255 - stable/10/share/man/man9

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

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:

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

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

2014-07-29 Thread Mark Johnston
Author: markj Date: Tue Jul 29 21:21:16 2014 New Revision: 269263 URL: http://svnweb.freebsd.org/changeset/base/269263 Log: MFC r264486: Use the correct format specifiers for wide characters and strings of wide characters. Modified:

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:

svn commit: r269260 - stable/10/lib/libc/sys

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

svn commit: r269272 - stable/10/sys/cddl/dev/systrace

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

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:

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:

svn commit: r269274 - stable/10/lib/libutil

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

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

svn commit: r269342 - in stable/10/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:03 2014 New Revision: 269342 URL: http://svnweb.freebsd.org/changeset/base/269342 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

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: r269520 - in stable/10: cddl/contrib/opensolaris/lib/libdtrace/common cddl/lib/libdtrace sys/cddl/contrib/opensolaris/uts/common/dtrace sys/cddl/contrib/opensolaris/uts/common/sys sys/c...

2014-08-04 Thread Mark Johnston
Author: markj Date: Mon Aug 4 15:36:22 2014 New Revision: 269520 URL: http://svnweb.freebsd.org/changeset/base/269520 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: r269524 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2014-08-04 Thread Mark Johnston
Author: markj Date: Mon Aug 4 18:52:26 2014 New Revision: 269524 URL: http://svnweb.freebsd.org/changeset/base/269524 Log: 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_consume() and

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

2014-08-04 Thread Mark Johnston
Author: markj Date: Mon Aug 4 19:02:30 2014 New Revision: 269525 URL: http://svnweb.freebsd.org/changeset/base/269525 Log: Return 0 for the PPID of threads in process 0, as process 0 doesn't have a parent process. MFC after:2 weeks Modified:

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

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

2014-08-04 Thread Mark Johnston
Author: markj Date: Mon Aug 4 21:41:00 2014 New Revision: 269531 URL: http://svnweb.freebsd.org/changeset/base/269531 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

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

svn commit: r269545 - stable/10/sys/cddl/dev/sdt

2014-08-04 Thread Mark Johnston
Author: markj Date: Tue Aug 5 00:25:46 2014 New Revision: 269545 URL: http://svnweb.freebsd.org/changeset/base/269545 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

svn commit: r269546 - stable/10/sys/dev/sound/pci/hda

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

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

svn commit: r269557 - in stable/10/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:15 2014 New Revision: 269557 URL: http://svnweb.freebsd.org/changeset/base/269557 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

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

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

svn commit: r269680 - stable/10/libexec/rtld-elf

2014-08-07 Thread Mark Johnston
Author: markj Date: Thu Aug 7 18:36:47 2014 New Revision: 269680 URL: http://svnweb.freebsd.org/changeset/base/269680 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

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

svn commit: r269720 - stable/10/lib/librtld_db

2014-08-08 Thread Mark Johnston
Author: markj Date: Fri Aug 8 14:53:01 2014 New Revision: 269720 URL: http://svnweb.freebsd.org/changeset/base/269720 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

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,

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,

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

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

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:

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

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

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:

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

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

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:

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

2014-04-28 Thread Mark Johnston
Author: markj Date: Tue Apr 29 03:36:04 2014 New Revision: 265073 URL: http://svnweb.freebsd.org/changeset/base/265073 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: 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: r265075 - stable/10/sbin/savecore

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

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)

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

svn commit: r265169 - stable/10/sys/conf

2014-04-30 Thread Mark Johnston
Author: markj Date: Thu May 1 03:18:11 2014 New Revision: 265169 URL: http://svnweb.freebsd.org/changeset/base/265169 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

svn commit: r265255 - head/lib/libproc

2014-05-02 Thread Mark Johnston
Author: markj Date: Sat May 3 04:44:03 2014 New Revision: 265255 URL: http://svnweb.freebsd.org/changeset/base/265255 Log: Allow a.out as an alias for the executable if no other matching entries are found. This improves compatibility with Solaris' libproc and fixes a number of failing

svn commit: r265273 - in stable/10: 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/dt...

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

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:

svn commit: r265276 - head/lib/libutil

2014-05-03 Thread Mark Johnston
Author: markj Date: Sat May 3 16:18:42 2014 New Revision: 265276 URL: http://svnweb.freebsd.org/changeset/base/265276 Log: Fix a typo. MFC after:3 days Modified: head/lib/libutil/kinfo_getfile.3 Modified: head/lib/libutil/kinfo_getfile.3

svn commit: r265277 - stable/10/sys/cddl/dev/dtrace/x86

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

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: r265308 - head/lib/libproc

2014-05-03 Thread Mark Johnston
Author: markj Date: Sun May 4 03:34:32 2014 New Revision: 265308 URL: http://svnweb.freebsd.org/changeset/base/265308 Log: If the traced process stops because it received a signal, libproc needs to ensure that the signal is forwarded when proc_continue() is called. MFC after:3 weeks

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

2014-05-03 Thread Mark Johnston
Author: markj Date: Sun May 4 03:37:39 2014 New Revision: 265309 URL: http://svnweb.freebsd.org/changeset/base/265309 Log: Remove a duplicate definition. MFC after:3 days Modified: head/cddl/lib/libdtrace/libproc_compat.h Modified: head/cddl/lib/libdtrace/libproc_compat.h

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:

svn commit: r265346 - stable/10/sys/cddl/contrib/opensolaris/uts/intel/dtrace

2014-05-04 Thread Mark Johnston
Author: markj Date: Mon May 5 03:15:53 2014 New Revision: 265346 URL: http://svnweb.freebsd.org/changeset/base/265346 Log: MFC r262661: Fix emulation of call and jmp instructions on i386 and for 32-bit processes on amd64. Modified:

svn commit: r265456 - head/libexec/rtld-elf

2014-05-06 Thread Mark Johnston
Author: markj Date: Tue May 6 18:07:58 2014 New Revision: 265456 URL: http://svnweb.freebsd.org/changeset/base/265456 Log: 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 probes and DOF data

svn commit: r265578 - head/libexec/rtld-elf

2014-05-07 Thread Mark Johnston
Author: markj Date: Wed May 7 17:21:22 2014 New Revision: 265578 URL: http://svnweb.freebsd.org/changeset/base/265578 Log: - Export the function added in r265456 rather than the non-existent _rtld_debug_postinit(). [1] - Use __compiler_membar() instead of inline asm in _r_debug_state()

Re: svn commit: r265456 - head/libexec/rtld-elf

2014-05-07 Thread Mark Johnston
On Wed, May 7, 2014 at 8:14 AM, Bruce Simpson b...@fastmail.net wrote: Mark, On 06/05/2014 19:07, Mark Johnston wrote: Log: 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 probes

svn commit: r265629 - head/lib/librtld_db

2014-05-07 Thread Mark Johnston
Author: markj Date: Thu May 8 03:26:25 2014 New Revision: 265629 URL: http://svnweb.freebsd.org/changeset/base/265629 Log: Handle the different event types properly in rd_event_addr(). In particular, with r265456 _r_debug_postinit can be used for RD_POSTINIT events. rtld(1) uses

svn commit: r265630 - head/lib/librtld_db

2014-05-07 Thread Mark Johnston
Author: markj Date: Thu May 8 03:33:54 2014 New Revision: 265630 URL: http://svnweb.freebsd.org/changeset/base/265630 Log: Fix the rd_event_addr prototype and slightly clarify the use of the event parameter. MFC after:3 days Modified: head/lib/librtld_db/librtld_db.3 Modified:

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

2014-05-07 Thread Mark Johnston
Author: markj Date: Thu May 8 03:43:18 2014 New Revision: 265631 URL: http://svnweb.freebsd.org/changeset/base/265631 Log: 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(1) can now

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

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

2014-05-14 Thread Mark Johnston
Author: markj Date: Wed May 14 19:02:00 2014 New Revision: 266082 URL: http://svnweb.freebsd.org/changeset/base/266082 Log: Bind ip/tcp/udp provider translators and symbols to the same versions as in illumos, rather than using 1.0 everywhere. Some of the translators use D functions that

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:

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