<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sbin/sysctl/sysctl.c, branch release/5.3.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2004-11-04T19:12:42+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2004-11-04T19:12:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3f86d8a2ea3f3265afaa1fd263b0004c5c000e69'/>
<id>3f86d8a2ea3f3265afaa1fd263b0004c5c000e69</id>
<content type='text'>
'RELENG_5_3_0_RELEASE'.

This commit was manufactured to restore the state of the 5.3-RELEASE image.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'RELENG_5_3_0_RELEASE'.

This commit was manufactured to restore the state of the 5.3-RELEASE image.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove advertising clause from University of California Regent's license,</title>
<updated>2004-04-09T19:58:40+00:00</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2004-04-09T19:58:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4c723140a407d2ba326c134a26cec9569dc52d46'/>
<id>4c723140a407d2ba326c134a26cec9569dc52d46</id>
<content type='text'>
per letter dated July 22, 1999.

Approved by: core, imp
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
per letter dated July 22, 1999.

Approved by: core, imp
</pre>
</div>
</content>
</entry>
<entry>
<title>Add CTLTYPE_QUAD to the list of types for which we don't want an empty</title>
<updated>2004-03-02T05:42:52+00:00</updated>
<author>
<name>Dima Dorfman</name>
<email>dd@FreeBSD.org</email>
</author>
<published>2004-03-02T05:42:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4d90830fd85effe17313283c1d240045a8a06d03'/>
<id>4d90830fd85effe17313283c1d240045a8a06d03</id>
<content type='text'>
value.  All the other numeric types are doing it . . .
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
value.  All the other numeric types are doing it . . .
</pre>
</div>
</content>
</entry>
<entry>
<title>Whitespace cleanup.</title>
<updated>2003-11-07T16:41:47+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2003-11-07T16:41:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=705916c69251965a3e7d3578d339328e94f1ee2b'/>
<id>705916c69251965a3e7d3578d339328e94f1ee2b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a command-line option to format output for human readability.</title>
<updated>2003-11-07T16:33:45+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2003-11-07T16:33:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=45817aaa9c54b0241bb8b89a29d775475564507b'/>
<id>45817aaa9c54b0241bb8b89a29d775475564507b</id>
<content type='text'>
Currently, the only effect it has is to print some (but not all) numbers
using thousands separators.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, the only effect it has is to print some (but not all) numbers
using thousands separators.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a few style glitches in the previous commit and make the</title>
<updated>2003-11-01T07:06:04+00:00</updated>
<author>
<name>Mike Silbersack</name>
<email>silby@FreeBSD.org</email>
</author>
<published>2003-11-01T07:06:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ac8711d28e3377b5e06a31d2c02efa4d563adacd'/>
<id>ac8711d28e3377b5e06a31d2c02efa4d563adacd</id>
<content type='text'>
tunable error message more brief.

Suggested by:	bde
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tunable error message more brief.

Suggested by:	bde
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a 64 bit warning.  Have set_T_dev_t() take a pointer to a size_t rather</title>
<updated>2003-10-26T04:45:08+00:00</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2003-10-26T04:45:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7e9c84c75747e8ddeacd15eff021adcb30ca55e8'/>
<id>7e9c84c75747e8ddeacd15eff021adcb30ca55e8</id>
<content type='text'>
than a pointer to an int, since that is what it really wants anyway.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
than a pointer to an int, since that is what it really wants anyway.
</pre>
</div>
</content>
</entry>
<entry>
<title>Wrap a long line in the previous commit</title>
<updated>2003-10-21T18:48:49+00:00</updated>
<author>
<name>Mike Silbersack</name>
<email>silby@FreeBSD.org</email>
</author>
<published>2003-10-21T18:48:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d108e6633bc6a47ca49cc8347f343b87dc40ec36'/>
<id>d108e6633bc6a47ca49cc8347f343b87dc40ec36</id>
<content type='text'>
Suggested by:	njl
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Suggested by:	njl
</pre>
</div>
</content>
</entry>
<entry>
<title>Have sysctl print out a more useful error message when it detects that the</title>
<updated>2003-10-21T16:49:30+00:00</updated>
<author>
<name>Mike Silbersack</name>
<email>silby@FreeBSD.org</email>
</author>
<published>2003-10-21T16:49:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9b4b73b7bac633ce64b5012ff6f3773e40d8aff2'/>
<id>9b4b73b7bac633ce64b5012ff6f3773e40d8aff2</id>
<content type='text'>
user has attempted to write to a read only, tunable value.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
user has attempted to write to a read only, tunable value.
</pre>
</div>
</content>
</entry>
<entry>
<title>Tighten up the string-&gt;integer conversion in sysctl(8):</title>
<updated>2003-06-15T06:26:08+00:00</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2003-06-15T06:26:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a78d3eaffc61fd8b344a6ae77d810a50be4b8007'/>
<id>a78d3eaffc61fd8b344a6ae77d810a50be4b8007</id>
<content type='text'>
(1) Reject zero-length strings for CTLTYPE_INT, _UINT, _LONG,
    _ULONG.  Do not silently convert to 0.

(2) When converting CTLTYPE_INT, _UINT, _LONG, and _ULONG, check the
    end pointer generated by strtol() and strtoul() rather than
    discarding it.  Reject the string if either none of the string
    was useful for conversion to an integer, or if there was
    trailing garbage.

I.e., we will not allow you to set a numeric sysctl to a value unless
we can completely convert the string argument to a numeric value.
I tripped over this when I put the following in /etc/sysctl.conf:

   kern.maxfiles="4000"

Ouch.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(1) Reject zero-length strings for CTLTYPE_INT, _UINT, _LONG,
    _ULONG.  Do not silently convert to 0.

(2) When converting CTLTYPE_INT, _UINT, _LONG, and _ULONG, check the
    end pointer generated by strtol() and strtoul() rather than
    discarding it.  Reject the string if either none of the string
    was useful for conversion to an integer, or if there was
    trailing garbage.

I.e., we will not allow you to set a numeric sysctl to a value unless
we can completely convert the string argument to a numeric value.
I tripped over this when I put the following in /etc/sysctl.conf:

   kern.maxfiles="4000"

Ouch.
</pre>
</div>
</content>
</entry>
</feed>
