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

2013-11-17 Thread Mark Johnston
Author: markj Date: Mon Nov 18 03:24:50 2013 New Revision: 258291 URL: http://svnweb.freebsd.org/changeset/base/258291 Log: The fasttrap ioctl used to create probes takes a variable-sized argument. It was not being correctly copied into the kernel on FreeBSD, and as a result, probes with mul

svn commit: r258331 - in head: share/man/man4 sys/conf sys/dev/usb/net sys/modules/usb sys/modules/usb/axge

2013-11-18 Thread Mark Johnston
tion. +.El +.Pp +For more information on configuring this device, see +.Xr ifconfig 8 . +.Sh SEE ALSO +.Xr altq 4 , +.Xr arp 4 , +.Xr miibus 4 , +.Xr netintro 4 , +.Xr ng_ether 4 , +.Xr rgephy 4 , +.Xr vlan 4 , +.Xr ifconfig 8 +.Sh HISTORY +The +.Nm +device driver first appeared in +.Fx

svn commit: r258332 - head/etc/devd

2013-11-18 Thread Mark Johnston
Author: markj Date: Tue Nov 19 00:40:38 2013 New Revision: 258332 URL: http://svnweb.freebsd.org/changeset/base/258332 Log: Regenerate usb.conf after r258331. Modified: head/etc/devd/usb.conf Modified: head/etc/devd/usb.conf ===

svn commit: r258333 - head/tools/tools/bus_autoconf

2013-11-18 Thread Mark Johnston
Author: markj Date: Tue Nov 19 00:43:53 2013 New Revision: 258333 URL: http://svnweb.freebsd.org/changeset/base/258333 Log: Provide the correct path to bus_autoconf.sh. Modified: head/tools/tools/bus_autoconf/bus_autoconf.sh Modified: head/tools/tools/bus_autoconf/bus_autoconf.sh ===

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

2013-12-02 Thread Mark Johnston
Author: markj Date: Tue Dec 3 03:40:47 2013 New Revision: 258861 URL: http://svnweb.freebsd.org/changeset/base/258861 Log: Use mkstemp(3) to create the temporary file used in the FreeBSD-specific portions of dtrace_program_link(). Modified: head/cddl/contrib/opensolaris/lib/libdtrace/commo

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

2013-12-03 Thread Mark Johnston
Author: markj Date: Wed Dec 4 01:35:04 2013 New Revision: 258902 URL: http://svnweb.freebsd.org/changeset/base/258902 Log: The uaddr, ufunc, umod and usym functions all seem to work as expected on FreeBSD, so stop hiding them behind a "#if defined(sun)". Reported by: Prashanth Kumar M

svn commit: r258903 - in head: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n tools/test/dtrace

2013-12-03 Thread Mark Johnston
Author: markj Date: Wed Dec 4 01:40:39 2013 New Revision: 258903 URL: http://svnweb.freebsd.org/changeset/base/258903 Log: Enable some previously-disabled DTrace tests for umod, ufunc and usym. They expect the installed ksh binary to be named "ksh", which is not the case when it's installed

svn commit: r259211 - in head/sys/cddl/contrib/opensolaris/uts: intel/dtrace powerpc/dtrace

2013-12-10 Thread Mark Johnston
Author: markj Date: Wed Dec 11 04:31:40 2013 New Revision: 259211 URL: http://svnweb.freebsd.org/changeset/base/259211 Log: Correct the check for errors from proc_rwmem(). MFC after:2 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c head/sys/cddl/co

svn commit: r259535 - in head/sys: cddl/contrib/opensolaris/uts/intel/dtrace kern

2013-12-17 Thread Mark Johnston
Author: markj Date: Wed Dec 18 01:41:52 2013 New Revision: 259535 URL: http://svnweb.freebsd.org/changeset/base/259535 Log: The fasttrap fork handler is responsible for removing tracepoints in the child process that were inherited from its parent. However, this should not be done in the case

svn commit: r259587 - head/sys/kern

2013-12-18 Thread Mark Johnston
Author: markj Date: Thu Dec 19 03:48:36 2013 New Revision: 259587 URL: http://svnweb.freebsd.org/changeset/base/259587 Log: Invoke the kld_* event handlers from linker_load_file() and linker_unload_file() rather than kern_kldload() and kern_kldunload(). This ensures that the handlers are inv

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

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

2013-12-25 Thread Mark Johnston
Author: markj Date: Wed Dec 25 22:36:27 2013 New Revision: 259895 URL: http://svnweb.freebsd.org/changeset/base/259895 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

svn commit: r259905 - head/sys/sys

2013-12-25 Thread Mark Johnston
Author: markj Date: Thu Dec 26 03:19:08 2013 New Revision: 259905 URL: http://svnweb.freebsd.org/changeset/base/259905 Log: Remove some unneeded declarations which should have been removed in r257037. Modified: head/sys/sys/dtrace_bsd.h Modified: head/sys/sys/dtrace_bsd.h ===

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: r255741 - stable/8/sys/dev/mfi

2013-09-20 Thread Mark Johnston
Author: markj Date: Fri Sep 20 21:52:33 2013 New Revision: 255741 URL: http://svnweb.freebsd.org/changeset/base/255741 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: r255776 - head/sys/sys

2013-09-21 Thread Mark Johnston
Author: markj Date: Sat Sep 21 22:43:50 2013 New Revision: 255776 URL: http://svnweb.freebsd.org/changeset/base/255776 Log: Give argtype struct names a different prefix than probe struct names. Otherwise it's possible to declare SDT probes in such a way that a name collision occurs, causing

svn commit: r255777 - head/sys/kern

2013-09-21 Thread Mark Johnston
Author: markj Date: Sat Sep 21 23:05:44 2013 New Revision: 255777 URL: http://svnweb.freebsd.org/changeset/base/255777 Log: Omit "__restrict" when generating syscall argument strings. DTrace doesn't handle it and cannot determine the argument type when it's present. Approved by: re (gjb)

svn commit: r255778 - in head/sys: compat/freebsd32 kern

2013-09-21 Thread Mark Johnston
Author: markj Date: Sat Sep 21 23:06:36 2013 New Revision: 255778 URL: http://svnweb.freebsd.org/changeset/base/255778 Log: Regenerate syscall argument strings after r255777. Approved by: re (gjb) MFC after:1 week Modified: head/sys/compat/freebsd32/freebsd32_systrace_args.c hea

svn commit: r255971 - in head/sys: compat/linux security/mac

2013-10-01 Thread Mark Johnston
Author: markj Date: Tue Oct 1 15:40:27 2013 New Revision: 255971 URL: http://svnweb.freebsd.org/changeset/base/255971 Log: Fix some typos that were causing probe argument types to show up as unknown. Reviewed by: rwatson (mac provider) Approved by: re (glebius) MFC after:1 week

svn commit: r255993 - in head: cddl/lib/libdtrace sys/netinet

2013-10-02 Thread Mark Johnston
Author: markj Date: Wed Oct 2 17:14:12 2013 New Revision: 255993 URL: http://svnweb.freebsd.org/changeset/base/255993 Log: Add a separate translator for headers passed to the TCP probes in the input path. These probes get some of the fields in host order, whereas the output probes get them

svn commit: r256133 - head/sbin/camcontrol

2013-10-07 Thread Mark Johnston
Author: markj Date: Tue Oct 8 04:16:22 2013 New Revision: 256133 URL: http://svnweb.freebsd.org/changeset/base/256133 Log: Fix an inverted check for the master user in "camcontrol security -U". PR: bin/182703 Submitted by: Scott Burns Approved by: re (gjb) MFC after:3

svn commit: r256148 - in head/sys/cddl: contrib/opensolaris/uts/common/dtrace dev/dtrace

2013-10-08 Thread Mark Johnston
Author: markj Date: Tue Oct 8 12:56:46 2013 New Revision: 256148 URL: http://svnweb.freebsd.org/changeset/base/256148 Log: Initialize and free the DTrace taskqueue in the dtrace module load/unload handlers rather than in the dtrace device open/close methods. The current approach can cause a

svn commit: r256251 - head/cddl/contrib/opensolaris/cmd/dtrace

2013-10-09 Thread Mark Johnston
Author: markj Date: Thu Oct 10 03:50:23 2013 New Revision: 256251 URL: http://svnweb.freebsd.org/changeset/base/256251 Log: Convert the dtrace(1) man page to mdoc and fix up some aspects of it that don't make sense on FreeBSD. In particular, - remove the ATTRIBUTES section, - remove ref

svn commit: r256571 - in head: cddl/contrib/opensolaris/lib/libdtrace/common cddl/lib/libdtrace sys/cddl/contrib/opensolaris/uts/common/dtrace sys/cddl/contrib/opensolaris/uts/common/sys sys/cddl/d...

2013-10-15 Thread Mark Johnston
Author: markj Date: Wed Oct 16 01:39:26 2013 New Revision: 256571 URL: http://svnweb.freebsd.org/changeset/base/256571 Log: 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 of a process us

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: r256579 - stable/8/sbin/camcontrol

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

svn commit: r256661 - head/lib/libproc

2013-10-16 Thread Mark Johnston
Author: markj Date: Thu Oct 17 03:39:21 2013 New Revision: 256661 URL: http://svnweb.freebsd.org/changeset/base/256661 Log: Fix the libproc build when DEBUG is defined. Modified: head/lib/libproc/_libproc.h Modified: head/lib/libproc/_libproc.h ===

svn commit: r256822 - in head/sys/cddl: contrib/opensolaris/uts/intel/dtrace dev/dtrace/amd64

2013-10-20 Thread Mark Johnston
Author: markj Date: Mon Oct 21 04:15:55 2013 New Revision: 256822 URL: http://svnweb.freebsd.org/changeset/base/256822 Log: 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 struct reg to

svn commit: r257037 - in head/sys: kern modules/dtrace modules/dtrace/dtio modules/dtrace/dtraceall

2013-10-23 Thread Mark Johnston
Author: markj Date: Thu Oct 24 02:39:07 2013 New Revision: 257037 URL: http://svnweb.freebsd.org/changeset/base/257037 Log: Redefine the io provider using the SDT(9) macros instead of doing everything manually. This change has no functional impact. Discussed with: gnn Deleted: he

svn commit: r257143 - head/sys/cddl/contrib/opensolaris/uts/intel/dtrace

2013-10-25 Thread Mark Johnston
Author: markj Date: Sat Oct 26 03:21:54 2013 New Revision: 257143 URL: http://svnweb.freebsd.org/changeset/base/257143 Log: Fix a couple of bugs in the fasttrap emulation of a "push %rbp" instruction: the code was trying to save the stack pointer rather than the frame pointer, and the argume

svn commit: r257152 - in head/sys: cddl/dev/sdt sys

2013-10-25 Thread Mark Johnston
Author: markj Date: Sat Oct 26 06:23:51 2013 New Revision: 257152 URL: http://svnweb.freebsd.org/changeset/base/257152 Log: Do some cleanup of the SDT code. In particular, * Remove the unused sdt cdev. * Don't bother keeping a list of probes in struct sdt_prov; it's not needed. * Invoke

svn commit: r257212 - in head/cddl: contrib/opensolaris/cmd/lockstat usr.sbin/lockstat

2013-10-27 Thread Mark Johnston
Author: markj Date: Sun Oct 27 16:01:11 2013 New Revision: 257212 URL: http://svnweb.freebsd.org/changeset/base/257212 Log: Convert the lockstat(1) man page to mdoc and make sure that it gets installed. Additionally, remove Solaris-specific sections and references, and replace example output

svn commit: r257213 - head/cddl/contrib/opensolaris/cmd/lockstat

2013-10-27 Thread Mark Johnston
Author: markj Date: Sun Oct 27 16:18:48 2013 New Revision: 257213 URL: http://svnweb.freebsd.org/changeset/base/257213 Log: If the initial attempt to open /dev/ksyms fails, kldload the ksyms module and retry. Modified: head/cddl/contrib/opensolaris/cmd/lockstat/sym.c Modified: head/cddl/co

svn commit: r257222 - head/lib/libproc

2013-10-27 Thread Mark Johnston
Author: markj Date: Sun Oct 27 20:39:10 2013 New Revision: 257222 URL: http://svnweb.freebsd.org/changeset/base/257222 Log: Clean up the debug printing in libproc a bit. In particular: * Don't print any error messages to stderr unless DEBUG is defined. * Add a DPRINTFX macro for use when

svn commit: r257234 - head/usr.bin/procstat

2013-10-27 Thread Mark Johnston
Author: markj Date: Mon Oct 28 00:20:30 2013 New Revision: 257234 URL: http://svnweb.freebsd.org/changeset/base/257234 Log: With r247602, the "c" flag is no longer printed as a file descriptor flag. Reviewed by: pjd MFC after:3 days Modified: head/usr.bin/procstat/procstat.1 Modi

svn commit: r257235 - head/lib/libproc

2013-10-27 Thread Mark Johnston
Author: markj Date: Mon Oct 28 01:41:59 2013 New Revision: 257235 URL: http://svnweb.freebsd.org/changeset/base/257235 Log: Remove an incorrect debug printf. Modified: head/lib/libproc/proc_sym.c Modified: head/lib/libproc/proc_sym.c ==

svn commit: r257248 - head/lib/libproc

2013-10-28 Thread Mark Johnston
Author: markj Date: Mon Oct 28 12:42:27 2013 New Revision: 257248 URL: http://svnweb.freebsd.org/changeset/base/257248 Log: Fix the build with gcc. Modified: head/lib/libproc/proc_util.c Modified: head/lib/libproc/proc_util.c ==

svn commit: r257298 - head/lib/libproc

2013-10-28 Thread Mark Johnston
Author: markj Date: Tue Oct 29 03:12:31 2013 New Revision: 257298 URL: http://svnweb.freebsd.org/changeset/base/257298 Log: Revert r257248 and fix the problem in a way that doesn't violate style(9). Suggested by: jmg Modified: head/lib/libproc/_libproc.h head/lib/libproc/proc_util.c M

svn commit: r257300 - head/lib/libproc

2013-10-28 Thread Mark Johnston
Author: markj Date: Tue Oct 29 03:52:05 2013 New Revision: 257300 URL: http://svnweb.freebsd.org/changeset/base/257300 Log: Fix an off-by-one error when checking whether a given address is within the extent of a symbol. Submitted by: Prashanth Kumar Reviewed by: rpaulo MFC after:

Re: svn commit: r257298 - head/lib/libproc

2013-10-29 Thread Mark Johnston
On Wed, Oct 30, 2013 at 12:21:28AM +1100, Bruce Evans wrote: > On Tue, 29 Oct 2013, Mark Johnston wrote: > > > Log: > > Revert r257248 and fix the problem in a way that doesn't violate style(9). > > Why did gcc complain about the original version? It looks like thi

svn commit: r257416 - head/sys/mips/alchemy

2013-10-30 Thread Mark Johnston
Author: markj Date: Thu Oct 31 02:27:16 2013 New Revision: 257416 URL: http://svnweb.freebsd.org/changeset/base/257416 Log: Fix a typo introduced in r257338. Modified: head/sys/mips/alchemy/obio.c Modified: head/sys/mips/alchemy/obio.c

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

2013-10-30 Thread Mark Johnston
Author: markj Date: Thu Oct 31 02:35:00 2013 New Revision: 257417 URL: http://svnweb.freebsd.org/changeset/base/257417 Log: Remove references to an unused fasttrap probe hook, and remove the corresponding x86 trap type. Userland DTrace probes are currently handled by the other fasttrap hooks

svn commit: r257420 - in head/sys/mips: adm5120 idt rmi/dev/nlge

2013-10-30 Thread Mark Johnston
Author: markj Date: Thu Oct 31 05:00:50 2013 New Revision: 257420 URL: http://svnweb.freebsd.org/changeset/base/257420 Log: Fix some lingering build failures caused by fixing implicit inclusion of if_var.h. Also explicitly include lock.h and mutex.h in if_kr.c rather than depending on if_var

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

2013-11-03 Thread Mark Johnston
Author: markj Date: Mon Nov 4 02:50:43 2013 New Revision: 257600 URL: http://svnweb.freebsd.org/changeset/base/257600 Log: Initialize the struct tm before handing it to strptime(3). PR: 183550 MFC after:2 weeks Modified: head/usr.sbin/newsyslog/newsyslog.c Modified: hea

svn commit: r257670 - head/lib/libproc

2013-11-04 Thread Mark Johnston
Author: markj Date: Tue Nov 5 03:23:54 2013 New Revision: 257670 URL: http://svnweb.freebsd.org/changeset/base/257670 Log: Modify the libproc breakpoint add/remove functions to stop the target process if it has not already been stopped, since this is required for ptrace(2) to work. lib

svn commit: r257671 - head/usr.bin/calendar/calendars

2013-11-04 Thread Mark Johnston
Belousov born in Kiev, USSR, 1972 11/20 Dmitry Morozovsky born in Moscow, USSR, 1968 11/20 Gavin Atkinson born in Middlesbrough, United Kingdom, 1979 +11/21 Mark Johnston born in Toronto, Ontario, Canada, 1989 11/22 Frederic Culot born in Saint-Germain-En-Laye, France, 1976 11/23 Josef

svn commit: r257674 - stable/10/usr.bin/procstat

2013-11-04 Thread Mark Johnston
Author: markj Date: Tue Nov 5 04:40:28 2013 New Revision: 257674 URL: http://svnweb.freebsd.org/changeset/base/257674 Log: MFC r257234: With r247602, the "c" flag is no longer printed as a file descriptor flag. Approved by: re (gjb) Modified: stable/10/usr.bin/procstat/procstat.1 Dir

svn commit: r257679 - in head/sys/cddl/contrib/opensolaris/uts: common/sys intel/dtrace

2013-11-04 Thread Mark Johnston
Author: markj Date: Tue Nov 5 06:13:46 2013 New Revision: 257679 URL: http://svnweb.freebsd.org/changeset/base/257679 Log: Use suword32 and suword64 instead of copyout(9). This fixes a bug in the emulation of the call instruction caused by reversing the uaddr and kaddr arguments when copyin

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

2013-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 20:45:50 2013 New Revision: 257811 URL: http://svnweb.freebsd.org/changeset/base/257811 Log: Include rtld itself when iterating over loaded ELF objects in dl_iterate_phdr(3). Reviewed by: kib Modified: head/libexec/rtld-elf/rtld.c Modified: head/libexec

svn commit: r244415 - head/share/misc

2012-12-18 Thread Mark Johnston
d.org\n2 lstewart [label="Lawrence Stewart\nlstew...@freebsd.org\n2008/10/06"] marcel [label="Marcel Moolenaar\nmar...@freebsd.org\n1999/07/03"] marius [label="Marius Strobl\nmar...@freebsd.org\n2004/04/17"] +markj [label="Mark Johnston\nma...@freebsd.org\n201

Re: svn commit: r244198 - in head: etc/rc.d sbin/sysctl

2012-12-19 Thread Mark Johnston
On Wed, Dec 19, 2012 at 02:02:09PM -0800, Xin Li wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On 12/19/12 13:12, Garrett Cooper wrote: > > On Wed, Dec 19, 2012 at 1:10 PM, Garrett Cooper > > wrote: > > > > ... > > > >> find -exec / echo | xargs ? Seems like there's a better wa

Re: svn commit: r244198 - in head: etc/rc.d sbin/sysctl

2012-12-19 Thread Mark Johnston
On Wed, Dec 19, 2012 at 05:21:40PM -0600, Brooks Davis wrote: > On Wed, Dec 19, 2012 at 05:58:54PM -0500, Mark Johnston wrote: > > On Wed, Dec 19, 2012 at 02:02:09PM -0800, Xin Li wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > > Hash: SHA256 > > > >

svn commit: r244522 - head/etc

2012-12-20 Thread Mark Johnston
Author: markj Date: Thu Dec 20 23:18:36 2012 New Revision: 244522 URL: http://svnweb.freebsd.org/changeset/base/244522 Log: Don't reload syslogd after rotating sendmail.st, as this file isn't managed by syslogd. PR: conf/169973 Approved by: rstone (co-mentor) MFC after:

svn commit: r244523 - head/usr.sbin/syslogd

2012-12-20 Thread Mark Johnston
Author: markj Date: Thu Dec 20 23:21:20 2012 New Revision: 244523 URL: http://svnweb.freebsd.org/changeset/base/244523 Log: - Make sure that errno isn't modified before calling logerror() in error conditions. - Don't check for AF_INET6 when compiled without INET6 support. PR:

svn commit: r244719 - in head/sys/dev/usb: . quirk

2012-12-26 Thread Mark Johnston
Author: markj Date: Wed Dec 26 22:21:27 2012 New Revision: 244719 URL: http://svnweb.freebsd.org/changeset/base/244719 Log: 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 error or the firmware e

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: r244879 - stable/8/etc

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

svn commit: r244880 - stable/7/etc

2012-12-30 Thread Mark Johnston
Author: markj Date: Mon Dec 31 03:34:30 2012 New Revision: 244880 URL: http://svnweb.freebsd.org/changeset/base/244880 Log: MFC r244522: Don't reload syslogd after rotating sendmail.st. Approved by: emaste (co-mentor) Modified: stable/7/etc/newsyslog.conf Modified: stable/7/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: r244882 - stable/8/usr.sbin/syslogd

2012-12-30 Thread Mark Johnston
Author: markj Date: Mon Dec 31 03:35:01 2012 New Revision: 244882 URL: http://svnweb.freebsd.org/changeset/base/244882 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: r244883 - stable/7/usr.sbin/syslogd

2012-12-30 Thread Mark Johnston
Author: markj Date: Mon Dec 31 03:35:09 2012 New Revision: 244883 URL: http://svnweb.freebsd.org/changeset/base/244883 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: r244885 - stable/8/etc

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

svn commit: r244886 - stable/7/etc

2012-12-30 Thread Mark Johnston
Author: markj Date: Mon Dec 31 03:47:56 2012 New Revision: 244886 URL: http://svnweb.freebsd.org/changeset/base/244886 Log: Add mergeinfo that I accidentally omitted in my last commit. Approved by: emaste (co-mentor) Modified: Directory Properties: stable/7/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: r244888 - stable/8/usr.sbin/syslogd

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

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 ch

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 f

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: head/usr.sbin/newsy

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: head/usr.sbin/ne

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 we

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

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 s

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 er

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

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

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 retur

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 M

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 con

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

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

2013-02-17 Thread Mark Johnston
Author: markj Date: Sun Feb 17 19:48:23 2013 New Revision: 246917 URL: http://svnweb.freebsd.org/changeset/base/246917 Log: Strengthen the check in IS_OUT_OF_BOUNDS to ensure that (j - 1) is a valid index into the input buffer. PR: bin/175213 Reviewed by: gabor Approved by:

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: r246919 - stable/8/usr.sbin/newsyslog

2013-02-17 Thread Mark Johnston
Author: markj Date: Sun Feb 17 19:49:29 2013 New Revision: 246919 URL: http://svnweb.freebsd.org/changeset/base/246919 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: r246951 - head/sys/dev/coretemp

2013-02-18 Thread Mark Johnston
Author: markj Date: Mon Feb 18 22:47:16 2013 New Revision: 246951 URL: http://svnweb.freebsd.org/changeset/base/246951 Log: 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 sched_bind().

svn commit: r246978 - head/lib/libelf

2013-02-18 Thread Mark Johnston
Author: markj Date: Tue Feb 19 03:23:13 2013 New Revision: 246978 URL: http://svnweb.freebsd.org/changeset/base/246978 Log: - 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 fact that elf_getdata()

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: r246998 - stable/8/sys/netinet

2013-02-19 Thread Mark Johnston
Author: markj Date: Tue Feb 19 16:40:16 2013 New Revision: 246998 URL: http://svnweb.freebsd.org/changeset/base/246998 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: r246999 - stable/7/sys/netinet

2013-02-19 Thread Mark Johnston
Author: markj Date: Tue Feb 19 16:40:38 2013 New Revision: 246999 URL: http://svnweb.freebsd.org/changeset/base/246999 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: r247136 - stable/6/sys/netinet

2013-02-21 Thread Mark Johnston
Author: markj Date: Thu Feb 21 21:48:38 2013 New Revision: 247136 URL: http://svnweb.freebsd.org/changeset/base/247136 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: r247221 - head/lib/libelf

2013-02-24 Thread Mark Johnston
Author: markj Date: Sun Feb 24 15:15:50 2013 New Revision: 247221 URL: http://svnweb.freebsd.org/changeset/base/247221 Log: 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 set. PR:

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

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