<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in dtrace_sysctl.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>cdaa8777 - Add tunable to disable destructive dtrace</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/sys/cddl/dev/dtrace/dtrace_sysctl.c#cdaa8777</link>
        <description>Add tunable to disable destructive dtraceSubmitted by:	Joerg Pernfuss &lt;code.jpe@gmail.com&gt;Reviewed by:	rstone, markjMFC after:	2 weeksDifferential Revision:	https://reviews.freebsd.org/D8624

            List of files:
            /freebsd-12.1/sys/cddl/dev/dtrace/dtrace_sysctl.c</description>
        <pubDate>Wed, 23 Nov 2016 22:50:20 +0000</pubDate>
        <dc:creator>George V. Neville-Neil &lt;gnn@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>cd8bbc38 - Add a kern.dtrace.err_verbose sysctl to control dtrace_err_verbose.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/sys/cddl/dev/dtrace/dtrace_sysctl.c#cd8bbc38</link>
        <description>Add a kern.dtrace.err_verbose sysctl to control dtrace_err_verbose.When this flag is turned on, DOF and DIF validation errors are printed tothe kernel message buffer. This is useful for debugging.Also remove the debug.dtrace.debug sysctl, which has no effect.

            List of files:
            /freebsd-12.1/sys/cddl/dev/dtrace/dtrace_sysctl.c</description>
        <pubDate>Mon, 25 Apr 2016 18:09:36 +0000</pubDate>
        <dc:creator>Mark Johnston &lt;markj@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>f0188618 - Fix multiple incorrect SYSCTL arguments in the kernel:</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/sys/cddl/dev/dtrace/dtrace_sysctl.c#f0188618</link>
        <description>Fix multiple incorrect SYSCTL arguments in the kernel:- Wrong integer type was specified.- Wrong or missing &quot;access&quot; specifier. The &quot;access&quot; specifiersometimes included the SYSCTL type, which it should not, except forprocedural SYSCTL nodes.- Logical OR where binary OR was expected.- Properly assert the &quot;access&quot; argument passed to all SYSCTL macros,using the CTASSERT macro. This applies to both static- and dynamicallycreated SYSCTLs.- Properly assert the the data type for both static and dynamicSYSCTLs. In the case of static SYSCTLs we only assert that the datapointed to by the SYSCTL data pointer has the correct size, hencethere is no easy way to assert types in the C language outside aC-function.- Rewrote some code which doesn&apos;t pass a constant &quot;access&quot; specifierwhen creating dynamic SYSCTL nodes, which is now a requirement.- Updated &quot;EXAMPLES&quot; section in SYSCTL manual page.MFC after:	3 daysSponsored by:	Mellanox Technologies

            List of files:
            /freebsd-12.1/sys/cddl/dev/dtrace/dtrace_sysctl.c</description>
        <pubDate>Tue, 21 Oct 2014 07:31:21 +0000</pubDate>
        <dc:creator>Hans Petter Selasky &lt;hselasky@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>af3b2549 - Pull in r267961 and r267973 again. Fix for issues reported will follow.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/sys/cddl/dev/dtrace/dtrace_sysctl.c#af3b2549</link>
        <description>Pull in r267961 and r267973 again. Fix for issues reported will follow.

            List of files:
            /freebsd-12.1/sys/cddl/dev/dtrace/dtrace_sysctl.c</description>
        <pubDate>Sat, 28 Jun 2014 03:56:17 +0000</pubDate>
        <dc:creator>Hans Petter Selasky &lt;hselasky@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>37a107a4 - Revert r267961, r267973:</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/sys/cddl/dev/dtrace/dtrace_sysctl.c#37a107a4</link>
        <description>Revert r267961, r267973:These changes prevent sysctl(8) from returning proper output,such as: 1) no output from sysctl(8) 2) erroneously returning ENOMEM with tools like truss(1)    or uname(1) truss: can not get etype: Cannot allocate memory

            List of files:
            /freebsd-12.1/sys/cddl/dev/dtrace/dtrace_sysctl.c</description>
        <pubDate>Fri, 27 Jun 2014 22:05:21 +0000</pubDate>
        <dc:creator>Glen Barber &lt;gjb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>3da1cf1e - Extend the meaning of the CTLFLAG_TUN flag to automatically check if</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/sys/cddl/dev/dtrace/dtrace_sysctl.c#3da1cf1e</link>
        <description>Extend the meaning of the CTLFLAG_TUN flag to automatically check ifthere is an environment variable which shall initialize the SYSCTLduring early boot. This works for all SYSCTL types both statically anddynamically created ones, except for the SYSCTL NODE type and SYSCTLswhich belong to VNETs. A new flag, CTLFLAG_NOFETCH, has been added tobe used in the case a tunable sysctl has a custom initialisationfunction allowing the sysctl to still be marked as a tunable. Thekernel SYSCTL API is mostly the same, with a few exceptions for somespecial operations like iterating childrens of a static/extern SYSCTLnode. This operation should probably be made into a factored outcommon macro, hence some device drivers use this. The reason forchanging the SYSCTL API was the need for a SYSCTL parent OID pointerand not only the SYSCTL parent OID list pointer in order to quicklygenerate the sysctl path. The motivation behind this patch is to avoidparameter loading cludges inside the OFED driver subsystem. Instead ofadding special code to the OFED driver subsystem to post-load tunablesinto dynamically created sysctls, we generalize this in the kernel.Other changes:- Corrected a possibly incorrect sysctl name from &quot;hw.cbb.intr_mask&quot;to &quot;hw.pcic.intr_mask&quot;.- Removed redundant TUNABLE statements throughout the kernel.- Some minor code rewrites in connection to removing not neededTUNABLE statements.- Added a missing SYSCTL_DECL().- Wrapped two very long lines.- Avoid malloc()/free() inside sysctl string handling, in case it iscalled to initialize a sysctl from a tunable, hence malloc()/free() isnot ready when sysctls from the sysctl dataset are registered.- Bumped FreeBSD version to indicate SYSCTL API change.MFC after:	2 weeksSponsored by:	Mellanox Technologies

            List of files:
            /freebsd-12.1/sys/cddl/dev/dtrace/dtrace_sysctl.c</description>
        <pubDate>Fri, 27 Jun 2014 16:33:43 +0000</pubDate>
        <dc:creator>Hans Petter Selasky &lt;hselasky@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>b53bfbba - Expose a few DTrace parameters as sysctls under kern.dtrace and add</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/sys/cddl/dev/dtrace/dtrace_sysctl.c#b53bfbba</link>
        <description>Expose a few DTrace parameters as sysctls under kern.dtrace and adddescriptions for several existing sysctls.PR:		187027Submitted by:	Fedor Indutny &lt;fedor@indutny.com&gt; (original version)MFC after:	2 weeks

            List of files:
            /freebsd-12.1/sys/cddl/dev/dtrace/dtrace_sysctl.c</description>
        <pubDate>Sat, 01 Mar 2014 19:06:43 +0000</pubDate>
        <dc:creator>Mark Johnston &lt;markj@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>e572bc11 - Add a function, memstr, which can be used to convert a buffer of</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/sys/cddl/dev/dtrace/dtrace_sysctl.c#e572bc11</link>
        <description>Add a function, memstr, which can be used to convert a buffer ofnull-separated strings to a single string. This can be used to print thefull arguments of a process using execsnoop (from the DTrace toolkit) orwith the following one-liner:dtrace -n &apos;syscall::execve:return {trace(curpsinfo-&gt;pr_psargs);}&apos;Note that this relies on the process arguments being cached via the structproc, which means that it will not work for argvs longer thankern.ps_arg_cache_limit. However, the following rather non-portablescript can be used to extract any argv at exec time:fbt::kern_execve:entry{    printf(&quot;%s&quot;, memstr(args[1]-&gt;begin_argv, &apos; &apos;,        args[1]-&gt;begin_envv - args[1]-&gt;begin_argv));}The debug.dtrace.memstr_max sysctl limits the maximum argument size tomemstr(). Thanks to Brendan Gregg for helpful comments on freebsd-dtrace.Tested by:	Fabian Keil (earlier version)MFC after:	2 weeks

            List of files:
            /freebsd-12.1/sys/cddl/dev/dtrace/dtrace_sysctl.c</description>
        <pubDate>Wed, 16 Oct 2013 01:39:26 +0000</pubDate>
        <dc:creator>Mark Johnston &lt;markj@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>91eaf3e1 - Custom DTrace kernel module files plus FreeBSD-specific DTrace providers.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/sys/cddl/dev/dtrace/dtrace_sysctl.c#91eaf3e1</link>
        <description>Custom DTrace kernel module files plus FreeBSD-specific DTrace providers.

            List of files:
            /freebsd-12.1/sys/cddl/dev/dtrace/dtrace_sysctl.c</description>
        <pubDate>Fri, 23 May 2008 05:59:42 +0000</pubDate>
        <dc:creator>John Birrell &lt;jb@FreeBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
