<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sbin/sysctl, branch releng/8.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>time_t does not always fit into long, for instance on arm. So rather cast</title>
<updated>2009-06-23T06:46:14+00:00</updated>
<author>
<name>John Hay</name>
<email>jhay@FreeBSD.org</email>
</author>
<published>2009-06-23T06:46:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=db87e2dc03410a4c94c5beeaf22f56f16072e7dc'/>
<id>db87e2dc03410a4c94c5beeaf22f56f16072e7dc</id>
<content type='text'>
it intmax_t and use %j in printf.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
it intmax_t and use %j in printf.
</pre>
</div>
</content>
</entry>
<entry>
<title>The sysctl(8) program exits on some errors and only emits warnings on</title>
<updated>2008-06-23T22:06:28+00:00</updated>
<author>
<name>Mike Makonnen</name>
<email>mtm@FreeBSD.org</email>
</author>
<published>2008-06-23T22:06:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d9fcd86c3af3024d715280c988a26b3d5be2712d'/>
<id>d9fcd86c3af3024d715280c988a26b3d5be2712d</id>
<content type='text'>
others. In the case where it displayed warnings it would still return
succesfully. Modify it so that it returns the number of sysctls that
it was not able to set.

Make use of this in rc.d to display only *unsuccessfull* attempts to
set sysctls.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
others. In the case where it displayed warnings it would still return
succesfully. Modify it so that it returns the number of sysctls that
it was not able to set.

Make use of this in rc.d to display only *unsuccessfull* attempts to
set sysctls.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove mentionings of kern.dumpdev which is no longer available.</title>
<updated>2007-11-28T14:48:30+00:00</updated>
<author>
<name>Remko Lodder</name>
<email>remko@FreeBSD.org</email>
</author>
<published>2007-11-28T14:48:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=169575e183267d317dc4afe9cfc42b056cf3ae0a'/>
<id>169575e183267d317dc4afe9cfc42b056cf3ae0a</id>
<content type='text'>
PR:		docs/113570
Submitted by:	lawrance
MFC After:	3 days (where applicable)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		docs/113570
Submitted by:	lawrance
MFC After:	3 days (where applicable)
</pre>
</div>
</content>
</entry>
<entry>
<title>Backout sensors framework.</title>
<updated>2007-10-15T20:00:24+00:00</updated>
<author>
<name>Alexander Leidinger</name>
<email>netchild@FreeBSD.org</email>
</author>
<published>2007-10-15T20:00:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9f05d312b3420dcf1476ff8959d9922ba1b327a9'/>
<id>9f05d312b3420dcf1476ff8959d9922ba1b327a9</id>
<content type='text'>
Requested by:	phk
Discussed on:	cvs-all
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Requested by:	phk
Discussed on:	cvs-all
</pre>
</div>
</content>
</entry>
<entry>
<title>Import OpenBSD's sysctl hardware sensors framework.</title>
<updated>2007-10-14T10:45:31+00:00</updated>
<author>
<name>Alexander Leidinger</name>
<email>netchild@FreeBSD.org</email>
</author>
<published>2007-10-14T10:45:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=99f6b270e3879f6a4067a5e7c6dd595bd3a963f4'/>
<id>99f6b270e3879f6a4067a5e7c6dd595bd3a963f4</id>
<content type='text'>
This commit includes the following core components:

 * sample configuration file for sensorsd
 * rc(8) script and glue code for sensorsd(8)
 * sysctl(3) doc fixes for CTL_HW tree
 * sysctl(3) documentation for hardware sensors
 * sysctl(8) documentation for hardware sensors
 * support for the sensor structure for sysctl(8)
 * rc.conf(5) documentation for starting sensorsd(8)
 * sensor_attach(9) et al documentation
 * /sys/kern/kern_sensors.c
   o sensor_attach(9) API for drivers to register ksensors
   o sensor_task_register(9) API for the update task
   o sysctl(3) glue code
   o hw.sensors shadow tree for sysctl(8) internal magic
 * &lt;sys/sensors.h&gt;
 * HW_SENSORS definition for &lt;sys/sysctl.h&gt;
 * sensors display for systat(1), including documentation
 * sensorsd(8) and all applicable documentation

The userland part of the framework is entirely source-code
compatible with OpenBSD 4.1, 4.2 and  -current as of today.

All sensor readings can be viewed with `sysctl hw.sensors`,
monitored in semi-realtime with `systat -sensors` and also
logged with `sensorsd`.

Submitted by:	Constantine A. Murenin &lt;cnst@FreeBSD.org&gt;
Sponsored by:	Google Summer of Code 2007 (GSoC2007/cnst-sensors)
Mentored by:	syrinx
Tested by:	many
OKed by:	kensmith
Obtained from:	OpenBSD (parts)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit includes the following core components:

 * sample configuration file for sensorsd
 * rc(8) script and glue code for sensorsd(8)
 * sysctl(3) doc fixes for CTL_HW tree
 * sysctl(3) documentation for hardware sensors
 * sysctl(8) documentation for hardware sensors
 * support for the sensor structure for sysctl(8)
 * rc.conf(5) documentation for starting sensorsd(8)
 * sensor_attach(9) et al documentation
 * /sys/kern/kern_sensors.c
   o sensor_attach(9) API for drivers to register ksensors
   o sensor_task_register(9) API for the update task
   o sysctl(3) glue code
   o hw.sensors shadow tree for sysctl(8) internal magic
 * &lt;sys/sensors.h&gt;
 * HW_SENSORS definition for &lt;sys/sysctl.h&gt;
 * sensors display for systat(1), including documentation
 * sensorsd(8) and all applicable documentation

The userland part of the framework is entirely source-code
compatible with OpenBSD 4.1, 4.2 and  -current as of today.

All sensor readings can be viewed with `sysctl hw.sensors`,
monitored in semi-realtime with `systat -sensors` and also
logged with `sensorsd`.

Submitted by:	Constantine A. Murenin &lt;cnst@FreeBSD.org&gt;
Sponsored by:	Google Summer of Code 2007 (GSoC2007/cnst-sensors)
Mentored by:	syrinx
Tested by:	many
OKed by:	kensmith
Obtained from:	OpenBSD (parts)
</pre>
</div>
</content>
</entry>
<entry>
<title>document hw.realmem</title>
<updated>2007-08-24T20:38:09+00:00</updated>
<author>
<name>Daniel Gerzo</name>
<email>danger@FreeBSD.org</email>
</author>
<published>2007-08-24T20:38:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=046bcd1bcf6a1697fb04971551222d319dfaf929'/>
<id>046bcd1bcf6a1697fb04971551222d319dfaf929</id>
<content type='text'>
Submitted by:	cnst@ (Constantine A. Murenin)
Sponsored by:	Google Summer of Code 2007
Approved by:	re@ (bmah)
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	cnst@ (Constantine A. Murenin)
Sponsored by:	Google Summer of Code 2007
Approved by:	re@ (bmah)
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>When we return from a "show" function without printing anything except</title>
<updated>2007-06-11T13:02:15+00:00</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>2007-06-11T13:02:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6b6b665bfdd753de0ebf4d7408849ee429f9267d'/>
<id>6b6b665bfdd753de0ebf4d7408849ee429f9267d</id>
<content type='text'>
a warning, return 1 instead of 0 to indicate that we didn't print
anything, so that top-level callers don't print a spurious newline.
This is mainly to fix output formatting when stderr is redirected.  It
also helps in some cases when stderr is interleaved with stdout,
depending on the details of the interleaving (this program has the
usual null explicit support for syncing stderr with stdout).

Return 1 instead of -1 after printing the "malloc failed" warning, since
the return value is boolean.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
a warning, return 1 instead of 0 to indicate that we didn't print
anything, so that top-level callers don't print a spurious newline.
This is mainly to fix output formatting when stderr is redirected.  It
also helps in some cases when stderr is interleaved with stdout,
depending on the details of the interleaving (this program has the
usual null explicit support for syncing stderr with stdout).

Return 1 instead of -1 after printing the "malloc failed" warning, since
the return value is boolean.
</pre>
</div>
</content>
</entry>
<entry>
<title>Some improvements to the int-type printing code based on suggestions by bde.</title>
<updated>2007-06-10T20:11:52+00:00</updated>
<author>
<name>David Malone</name>
<email>dwmalone@FreeBSD.org</email>
</author>
<published>2007-06-10T20:11:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e37d2b30014cfa87db0900a0fc68d60c6b39fc84'/>
<id>e37d2b30014cfa87db0900a0fc68d60c6b39fc84</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a number of WARNS, including printf, constness and unsigned comparison</title>
<updated>2007-06-10T19:32:20+00:00</updated>
<author>
<name>David Malone</name>
<email>dwmalone@FreeBSD.org</email>
</author>
<published>2007-06-10T19:32:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fd8c668afc316c97548dbd53507ad740fcf1d40c'/>
<id>fd8c668afc316c97548dbd53507ad740fcf1d40c</id>
<content type='text'>
warnings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
warnings.
</pre>
</div>
</content>
</entry>
<entry>
<title>Some style improvements suggested by bde, including removing an</title>
<updated>2007-06-10T19:13:40+00:00</updated>
<author>
<name>David Malone</name>
<email>dwmalone@FreeBSD.org</email>
</author>
<published>2007-06-10T19:13:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=21e1f59618c5de0e952906098fd0d05938895178'/>
<id>21e1f59618c5de0e952906098fd0d05938895178</id>
<content type='text'>
unused include, adding parens for return and sizeof and renaming,
adding some missing whitespace and sorting some variables.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
unused include, adding parens for return and sizeof and renaming,
adding some missing whitespace and sorting some variables.
</pre>
</div>
</content>
</entry>
</feed>
