<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sbin/sysctl, branch stable/10</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC r302174</title>
<updated>2016-07-12T22:19:25+00:00</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2016-07-12T22:19:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=267e5a8d29b6e849965e7656bc5eb2f9680defdb'/>
<id>267e5a8d29b6e849965e7656bc5eb2f9680defdb</id>
<content type='text'>
Fix "sysctl vm.vmtotal" output on machines with &gt; 2TB virtual memory

sbin/sysctl/sysctl.c
        Fix integer overflows in printf format strings

PR:		199673
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix "sysctl vm.vmtotal" output on machines with &gt; 2TB virtual memory

sbin/sysctl/sysctl.c
        Fix integer overflows in printf format strings

PR:		199673
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: 288984</title>
<updated>2015-10-14T06:31:49+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2015-10-14T06:31:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2aef8ec7eb4246190fb93d9cf98542fbaac4184b'/>
<id>2aef8ec7eb4246190fb93d9cf98542fbaac4184b</id>
<content type='text'>
Only print the errno string in case sysctl(3) does not file with ENOENT
This reduces the noise in error reporing from sysctl(8):

Before:
$ sysctl bla=something
sysctl: unknown oid 'bla': No such file or directory

After:
$ sysctl bla=something
sysctl: unknown oid 'bla'

Sponsored by:	Gandi.net
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only print the errno string in case sysctl(3) does not file with ENOENT
This reduces the noise in error reporing from sysctl(8):

Before:
$ sysctl bla=something
sysctl: unknown oid 'bla': No such file or directory

After:
$ sysctl bla=something
sysctl: unknown oid 'bla'

Sponsored by:	Gandi.net
</pre>
</div>
</content>
</entry>
<entry>
<title>Trim spaces at the end of the buffer before trying to convert it to an oid</title>
<updated>2015-10-14T06:26:55+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2015-10-14T06:26:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bea16fc423336092062dc3daf30ad727463ec3aa'/>
<id>bea16fc423336092062dc3daf30ad727463ec3aa</id>
<content type='text'>
This allows to write entries in sysctl.conf with spaces before the '=' like
kern.ipc.shmmax = 9663676416

Sponsored by:	Gandi.net
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows to write entries in sysctl.conf with spaces before the '=' like
kern.ipc.shmmax = 9663676416

Sponsored by:	Gandi.net
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r272044:</title>
<updated>2014-12-04T23:15:44+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2014-12-04T23:15:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7ce2b44024f93b5e61c728379bd97e77f981d591'/>
<id>7ce2b44024f93b5e61c728379bd97e77f981d591</id>
<content type='text'>
Constify a parameter of name2oid.  No functional change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Constify a parameter of name2oid.  No functional change.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC 270828,271487,271495:</title>
<updated>2014-10-10T20:47:23+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2014-10-10T20:47:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bc06a0903bd479890d2ac9860e1f5a2338049572'/>
<id>bc06a0903bd479890d2ac9860e1f5a2338049572</id>
<content type='text'>
Add sysctls to export the BIOS SMAP and EFI memory maps along with
handlers in the sysctl(8) binary to format them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add sysctls to export the BIOS SMAP and EFI memory maps along with
handlers in the sysctl(8) binary to format them.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r267960:</title>
<updated>2014-07-04T06:03:54+00:00</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2014-07-04T06:03:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=694ee28d9ac2d5bb55dcbc95835d494517117d25'/>
<id>694ee28d9ac2d5bb55dcbc95835d494517117d25</id>
<content type='text'>
Don't hide zero-length strings when doing sysctl listings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't hide zero-length strings when doing sysctl listings.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r258659:</title>
<updated>2014-01-02T13:48:54+00:00</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2014-01-02T13:48:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e1a84c5b780e7926339732f9020cfb87ffc81eda'/>
<id>e1a84c5b780e7926339732f9020cfb87ffc81eda</id>
<content type='text'>
Fix warnings to not append "No error: 0".

Sponsored by:	The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix warnings to not append "No error: 0".

Sponsored by:	The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the right format string for line buffer.</title>
<updated>2013-01-13T04:28:44+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2013-01-13T04:28:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6f36135181a8e98e468a61adf2ef169a2bd5ce86'/>
<id>6f36135181a8e98e468a61adf2ef169a2bd5ce86</id>
<content type='text'>
PR:		bin/174910
Submitted by:	Fabian Keil &lt;fk fabiankeil.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		bin/174910
Submitted by:	Fabian Keil &lt;fk fabiankeil.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Teach sysctl(8) about parsing a file (while I'm there also give it</title>
<updated>2012-12-13T23:32:47+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2012-12-13T23:32:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=da178c777fdcb3903ddbb08c62e79e00e734f256'/>
<id>da178c777fdcb3903ddbb08c62e79e00e734f256</id>
<content type='text'>
capability of parsing both = and : formats).

Submitted by:	hrs (initial version, bugs are mine)
MFC after:	3 months
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
capability of parsing both = and : formats).

Submitted by:	hrs (initial version, bugs are mine)
MFC after:	3 months
</pre>
</div>
</content>
</entry>
<entry>
<title>Make Tflag and Wflag filters work for more sysctl options.</title>
<updated>2012-12-12T02:55:40+00:00</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2012-12-12T02:55:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=403c7f59d5cfb66e9f697e26d4afe93662da9240'/>
<id>403c7f59d5cfb66e9f697e26d4afe93662da9240</id>
<content type='text'>
To do this move the Tflag and Wflag checks earlier in show_var() so
we bail earlier for variables not matching our query.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To do this move the Tflag and Wflag checks earlier in show_var() so
we bail earlier for variables not matching our query.
</pre>
</div>
</content>
</entry>
</feed>
