CVS log for src/sbin/sysctl/sysctl.c
Up to [FreeBSD] / src / sbin / sysctl
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.90.2.5: download - view: text, markup, annotated - select for diffs
Thu Jan 5 18:38:23 2012 UTC (4 weeks, 6 days ago) by jhb
Branches: RELENG_8
Diff to: previous 1.90.2.4: preferred, colored; branchpoint 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90.2.4: +1 -1 lines
SVN rev 229616 on 2012-01-05 18:38:23Z by jhb MFC 228181: If the -d flag is specified, ignore any new values specified and only display the descriptions of specified nodes.
Revision 1.100.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 5 18:38:13 2012 UTC (4 weeks, 6 days ago) by jhb
Branches: RELENG_9
Diff to: previous 1.100.2.1: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.2.1: +1 -1 lines
SVN rev 229615 on 2012-01-05 18:38:13Z by jhb MFC 228181: If the -d flag is specified, ignore any new values specified and only display the descriptions of specified nodes.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Thu Dec 1 15:01:23 2011 UTC (2 months, 1 week ago) by jhb
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +1 -1 lines
SVN rev 228181 on 2011-12-01 15:01:23Z by jhb If the -d flag is specified, ignore any new values specified and only display the descriptions of specified nodes. Reported by: Jason Hellenthal jhell of dataix net MFC after: 2 weeks
Revision 1.100.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (2 months, 4 weeks ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.100.2.1: preferred, colored; next MAIN 1.100.2.2: preferred, colored
Changes since revision 1.100.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.100.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith Copy head to stable/9 as part of 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.100: download - view: text, markup, annotated - select for diffs
Wed Jan 19 23:00:25 2011 UTC (12 months, 2 weeks ago) by mdf
Branches: MAIN
CVS tags: RELENG_9_BP
Branch point for: RELENG_9
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +42 -24 lines
SVN rev 217616 on 2011-01-19 23:00:25Z by mdf Introduce signed and unsigned version of CTLTYPE_QUAD, renaming existing uses. Rename sysctl_handle_quad() to sysctl_handle_64().
Revision 1.99: download - view: text, markup, annotated - select for diffs
Wed Jan 19 17:04:07 2011 UTC (12 months, 3 weeks ago) by mdf
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +29 -25 lines
SVN rev 217586 on 2011-01-19 17:04:07Z by mdf sysctl(8) should use the CTLTYPE to determine the type of data when reading. (This was already done for writing to a sysctl). This requires all SYSCTL setups to specify a type. Most of them are now checked at compile-time. Remove SYSCTL_*X* sysctl additions as the print being in hex should be controlled by the -x flag to sysctl(8). Succested by: bde
Revision 1.98: download - view: text, markup, annotated - select for diffs
Mon Jan 17 23:36:53 2011 UTC (12 months, 3 weeks ago) by mdf
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +0 -42 lines
SVN rev 217521 on 2011-01-17 23:36:53Z by mdf The kernel is not exporting any "T,dev_t" sysctl nodes anymore, so remove the capability and mention from sysctl(8).
Revision 1.86.2.3.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.86.2.3: preferred, colored; next MAIN 1.86.6.1: preferred, colored
Changes since revision 1.86.2.3: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release. Approved by: re (implicit)
Revision 1.90.2.4.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.90.2.4: preferred, colored; next MAIN 1.90.2.5: preferred, colored
Changes since revision 1.90.2.4: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release. Approved by: re (implicit)
Revision 1.90.2.4: download - view: text, markup, annotated - select for diffs
Tue Nov 23 13:37:42 2010 UTC (14 months, 2 weeks ago) by zec
Branches: RELENG_8
CVS tags: RELENG_8_2_BP
Branch point for: RELENG_8_2
Diff to: previous 1.90.2.3: preferred, colored; branchpoint 1.90: preferred, colored
Changes since revision 1.90.2.3: +2 -2 lines
SVN rev 215746 on 2010-11-23 13:37:42Z by zec MFC 212726: Make the format of "Real Memory" and "Virtual Memory" lines more consistent with the rest of sysctl vm.vmtotal output. MFC after: 3 days
Revision 1.97: download - view: text, markup, annotated - select for diffs
Thu Sep 16 10:53:01 2010 UTC (16 months, 3 weeks ago) by zec
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +2 -2 lines
SVN rev 212726 on 2010-09-16 10:53:01Z by zec Make the format of "Real Memory" and "Virtual Memory" lines more consistent with the rest of sysctl vm.vmtotal output. MFC after: 3 days
Revision 1.90.2.3.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 3 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.90.2.3: preferred, colored; next MAIN 1.90.2.4: preferred, colored
Changes since revision 1.90.2.3: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith Copy stable/8 to releng/8.1 in preparation for 8.1-RC1. Approved by: re (implicit)
Revision 1.86.2.3: download - view: text, markup, annotated - select for diffs
Wed May 5 20:54:16 2010 UTC (21 months ago) by gavin
Branches: RELENG_7
CVS tags: RELENG_7_4_BP
Branch point for: RELENG_7_4
Diff to: previous 1.86.2.2: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.2.2: +1 -1 lines
SVN rev 207675 on 2010-05-05 20:54:16Z by gavin Fix merge botch. Submitted by: Sofian Brabez <sbrabez gmail.com> Pointy hat: Earned and deserved.
Revision 1.86.2.2: download - view: text, markup, annotated - select for diffs
Wed May 5 12:48:30 2010 UTC (21 months ago) by gavin
Branches: RELENG_7
Diff to: previous 1.86.2.1: preferred, colored; branchpoint 1.86: preferred, colored
Changes since revision 1.86.2.1: +9 -4 lines
SVN rev 207658 on 2010-05-05 12:48:30Z by gavin Merge r203310,203547,203717 from head: Implement the "-i" option to sysctl(8), to ignore failures while retrieving individual OIDs. This allows the same list of OIDs to be passed to sysctl(8) across different systems where particular OIDs may not exist, and still get as much information as possible from them. PR: bin/123644 Submitted by: dhw
Revision 1.86.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 20 20:26:26 2010 UTC (21 months, 3 weeks ago) by brucec
Branches: RELENG_7
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +1 -0 lines
SVN rev 206914 on 2010-04-20 20:26:26Z by brucec MFC r205118: Free the memory allocated via strdup. PR: bin/113881 Submitted by: Alexander Drozdov <dzal_mail at mtu-net.ru> Approved by: rrs (mentor)
Revision 1.90.2.3: download - view: text, markup, annotated - select for diffs
Tue Apr 20 20:24:00 2010 UTC (21 months, 3 weeks ago) by brucec
Branches: RELENG_8
CVS tags: RELENG_8_1_BP
Branch point for: RELENG_8_1
Diff to: previous 1.90.2.2: preferred, colored; branchpoint 1.90: preferred, colored
Changes since revision 1.90.2.2: +1 -0 lines
SVN rev 206913 on 2010-04-20 20:24:00Z by brucec MFC r205118: Free the memory allocated via strdup. PR: bin/113881 Submitted by: Alexander Drozdov (dzal_mail at mtu-net.ru) Approved by: rrs (mentor)
Revision 1.96: download - view: text, markup, annotated - select for diffs
Sat Mar 13 11:08:57 2010 UTC (22 months, 4 weeks ago) by brucec
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +1 -0 lines
SVN rev 205118 on 2010-03-13 11:08:57Z by brucec Free the memory allocated via strdup. PR: bin/113881 Submitted by: Alexander Drozdov dzal_mail mtu-net.ru Approved by: rrs (mentor) MFC after: 1 week
Revision 1.95: download - view: text, markup, annotated - select for diffs
Mon Feb 15 14:08:06 2010 UTC (23 months, 3 weeks ago) by uqs
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +17 -11 lines
SVN rev 203917 on 2010-02-15 14:08:06Z by uqs sysctl(8): make WARNS=3 clean Fixes inspired by work done in DragonflyBSD. PR: bin/140016 Approved by: ed (Co-mentor)
Revision 1.90.2.2: download - view: text, markup, annotated - select for diffs
Sun Feb 14 09:48:53 2010 UTC (23 months, 3 weeks ago) by gavin
Branches: RELENG_8
Diff to: previous 1.90.2.1: preferred, colored; branchpoint 1.90: preferred, colored
Changes since revision 1.90.2.1: +9 -4 lines
SVN rev 203858 on 2010-02-14 09:48:53Z by gavin Merge r203310,203547,203717 from head: Implement the "-i" option to sysctl(8), to ignore failures while retrieving individual OIDs. This allows the same list of OIDs to be passed to sysctl(8) across different systems where particular OIDs may not exist, and still get as much information as possible from them. PR: bin/123644 Submitted by: dhw
Revision 1.86.10.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (23 months, 4 weeks ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process. Approved by: re (implicit)
Revision 1.94: download - view: text, markup, annotated - select for diffs
Tue Feb 9 19:13:45 2010 UTC (23 months, 4 weeks ago) by gavin
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +1 -1 lines
SVN rev 203717 on 2010-02-09 19:13:45Z by gavin Add -i to usage() Noticed by: ru MFC after: 5 days
Revision 1.93: download - view: text, markup, annotated - select for diffs
Sun Jan 31 19:33:25 2010 UTC (2 years ago) by gavin
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +8 -3 lines
SVN rev 203310 on 2010-01-31 19:33:25Z by gavin Implement the "-i" option to sysctl(8), to ignore failures while retrieving individual OIDs. This allows the same list of OIDs to be passed to sysctl(8) across different systems where particular OIDs may not exist, and still get as much information as possible from them. PR: bin/123644 Submitted by: dhw Approved by: ed (mentor) MFC after: 2 weeks
Revision 1.92: download - view: text, markup, annotated - select for diffs
Tue Nov 3 11:41:21 2009 UTC (2 years, 3 months ago) by ed
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +1 -8 lines
SVN rev 198850 on 2009-11-03 11:41:21Z by ed Just use devname(3) to print device names. Right now sysctl just prints the major/minor numbers of a device. Instead of rolling our own routine for this, we'd better just call devname(3) to perform a translation to a device name for us.
Revision 1.90.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.90.2.1: preferred, colored; next MAIN 1.90.2.2: preferred, colored
Changes since revision 1.90.2.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure. Approved by: re (implicit)
Revision 1.91: download - view: text, markup, annotated - select for diffs
Wed Oct 21 18:31:54 2009 UTC (2 years, 3 months ago) by ed
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +5 -5 lines
SVN rev 198340 on 2009-10-21 18:31:54Z by ed Make input parsing in Farhenheit actually work. Don't clobber *p with '\0' when testing whether it has the value of 'F'. Just use the semantics of strtof() properly. If it returns p, we know that it parsed the string until it reached 'C' or 'F'. The code has not changed since it has been imported (r161951, Sep 3, 2006). Submitted by: Alexandre Perrin <kaworu@kaworu.ch> MFC after: 1 week
Revision 1.90.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_0_BP
Branch point for: RELENG_8_0
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith Copy head to stable/8 as part of 8.0 Release cycle. Approved by: re (Implicit)
Revision 1.90: download - view: text, markup, annotated - select for diffs
Tue Jun 23 06:46:14 2009 UTC (2 years, 7 months ago) by jhay
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -3 lines
SVN rev 194684 on 2009-06-23 06:46:14Z by jhay time_t does not always fit into long, for instance on arm. So rather cast it intmax_t and use %j in printf.
Revision 1.86.8.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE. Approved by: re (implicit)
Revision 1.86.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith Create releng/7.1 in preparation for moving into RC phase of 7.1 release cycle. Approved by: re (implicit)
Revision 1.67.2.10.4.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.67.2.10: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67.2.10: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith Create releng/6.4 from stable/6 in preparation for 6.4-RC1. Approved by: re (implicit)
Revision 1.89: download - view: text, markup, annotated - select for diffs
Mon Jun 23 22:06:28 2008 UTC (3 years, 7 months ago) by mtm
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +5 -2 lines
SVN rev 179965 on 2008-06-23 22:06:28Z by mtm The sysctl(8) program exits on some errors and only emits warnings on 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.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Mon Oct 15 20:00:19 2007 UTC (4 years, 3 months ago) by netchild
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +0 -140 lines
Backout sensors framework. Requested by: phk Discussed on: cvs-all
Revision 1.87: download - view: text, markup, annotated - select for diffs
Sun Oct 14 10:45:29 2007 UTC (4 years, 3 months ago) by netchild
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +140 -0 lines
Import OpenBSD's sysctl hardware sensors framework. 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 * <sys/sensors.h> * HW_SENSORS definition for <sys/sysctl.h> * 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 <cnst@FreeBSD.org> Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors) Mentored by: syrinx Tested by: many OKed by: kensmith Obtained from: OpenBSD (parts)
Revision 1.86: download - view: text, markup, annotated - select for diffs
Mon Jun 11 13:02:15 2007 UTC (4 years, 8 months ago) by bde
Branches: MAIN
CVS tags: RELENG_7_BP, RELENG_7_3_BP, RELENG_7_2_BP, RELENG_7_1_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0
Branch point for: RELENG_7_3, RELENG_7_2, RELENG_7_1, RELENG_7
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +6 -6 lines
When we return from a "show" function without printing anything except 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.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Sun Jun 10 20:11:52 2007 UTC (4 years, 8 months ago) by dwmalone
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +13 -17 lines
Some improvements to the int-type printing code based on suggestions by bde.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Jun 10 19:32:20 2007 UTC (4 years, 8 months ago) by dwmalone
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +13 -12 lines
Fix a number of WARNS, including printf, constness and unsigned comparison warnings.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sun Jun 10 19:13:40 2007 UTC (4 years, 8 months ago) by dwmalone
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +36 -37 lines
Some style improvements suggested by bde, including removing an unused include, adding parens for return and sizeof and renaming, adding some missing whitespace and sorting some variables.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Mon Jun 4 18:02:23 2007 UTC (4 years, 8 months ago) by dwmalone
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +42 -42 lines
Use common code for printing ints and longs by coppying the sysctl value into a variable of the right type and then printing it via an intmax_t. This makes avoids some duplication and makes it easy to add a new integer format Q for printing things of type CTLTYPE_QUAD.
Revision 1.67.2.10: download - view: text, markup, annotated - select for diffs
Tue Mar 20 23:15:45 2007 UTC (4 years, 10 months ago) by brian
Branches: RELENG_6
CVS tags: RELENG_6_4_BP, RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3
Branch point for: RELENG_6_4
Diff to: previous 1.67.2.9: preferred, colored; branchpoint 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67.2.9: +2 -1 lines
MFC: Don't free the buffer with the sysctl value before printing it.
Revision 1.25.2.12: download - view: text, markup, annotated - select for diffs
Mon Jan 22 20:37:37 2007 UTC (5 years ago) by jhb
Branches: RELENG_4
Diff to: previous 1.25.2.11: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.2.11: +28 -8 lines
MFC: Use malloc() rather than alloca() to allocate storage for old values to avoid a segfault on boxes with lots of active TCP connections where net.inet.tcp.pcblist can return a size bigger than alloca() can satisfy.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Dec 10 06:36:41 2006 UTC (5 years, 2 months ago) by imp
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -5 lines
Style: Shorten a couple of lines with u_int and u_long.
Revision 1.67.2.9: download - view: text, markup, annotated - select for diffs
Fri Dec 1 12:49:07 2006 UTC (5 years, 2 months ago) by ru
Branches: RELENG_6
Diff to: previous 1.67.2.8: preferred, colored; branchpoint 1.67: preferred, colored
Changes since revision 1.67.2.8: +11 -15 lines
MFC: Revert signedness type changes to "struct vmtotal" to keep overflows easier to detect. As a bonus, fix printing of other "struct vmtotal" members, t_rq, t_dw, t_pw, and t_sw.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Tue Nov 28 12:46:02 2006 UTC (5 years, 2 months ago) by ru
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +11 -15 lines
- Revert signedness type changes to "struct vmtotal"; by making them unsigned I made the possible overflows hard to detect, and it only saved 1 bit which isn't principal, even less now that the underlying issue with the total of virtual memory has been fixed. (For the record, it will overflow with >=2T of VM total, with 32-bit ints used to keep counters in pages.) - While here, fix printing of other "struct vmtotal" members such as t_rq, t_dw, t_pw, and t_sw as they are also signed. Reviewed by: bde MFC after: 3 days
Revision 1.67.2.8: download - view: text, markup, annotated - select for diffs
Thu Nov 23 11:57:12 2006 UTC (5 years, 2 months ago) by ru
Branches: RELENG_6
Diff to: previous 1.67.2.7: preferred, colored; branchpoint 1.67: preferred, colored
Changes since revision 1.67.2.7: +13 -12 lines
MFC: Make members of "struct vmmeter" unsigned; fix overflow bugs when printing them in kilobytes in sysctl(8), systat(1), and vmstat(8). Fix sysctl(8) reporting of the virtual memory's total; it's accounted in pages too.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Thu Nov 23 11:51:23 2006 UTC (5 years, 2 months ago) by ru
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +5 -5 lines
Fix the format specifier suitable for uintmax_t.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Nov 20 16:04:41 2006 UTC (5 years, 2 months ago) by ru
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +13 -12 lines
- Fix types of "struct vmmeter" members so they are unsigned. - Fix overflow bugs in sysctl(8), systat(1), and vmstat(8) when printing values of "struct vmmeter" in kilobytes as they don't necessarily fit into 32 bits. (Fix sysctl(8) reporting of a total virtual memory; it's in pages too.)
Revision 1.77: download - view: text, markup, annotated - select for diffs
Thu Oct 12 15:44:51 2006 UTC (5 years, 3 months ago) by harti
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +0 -2 lines
Remove a debugging statement from the previous commit.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Thu Oct 12 15:31:23 2006 UTC (5 years, 3 months ago) by harti
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +4 -1 lines
Don't free the buffer with the sysctl value before printing it.
Revision 1.67.2.7: download - view: text, markup, annotated - select for diffs
Fri Sep 8 09:45:35 2006 UTC (5 years, 5 months ago) by ru
Branches: RELENG_6
CVS tags: RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2
Diff to: previous 1.67.2.6: preferred, colored; branchpoint 1.67: preferred, colored
Changes since revision 1.67.2.6: +20 -4 lines
MFC: - bring alloca(3) manpage up with reality - stop using alloca(3) in sysctl(8)
Revision 1.67.2.6: download - view: text, markup, annotated - select for diffs
Thu Sep 7 17:25:47 2006 UTC (5 years, 5 months ago) by ume
Branches: RELENG_6
Diff to: previous 1.67.2.5: preferred, colored; branchpoint 1.67: preferred, colored
Changes since revision 1.67.2.5: +39 -4 lines
MFC: Support Celsius (nn.nC), Fahrenheit (nn.nF) and Kelvin (nnnn) to specify temperature. sbin/sysctl/sysctl.c: 1.74 sys/dev/acpica/acpi_thermal.c: 1.63
Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Sep 6 20:15:43 2006 UTC (5 years, 5 months ago) by ru
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +20 -4 lines
While convenient, avoid using alloca() for reasons specified in the BUGS section of the alloca(3) manpage. In particular, when the number of TCP sockets is several tens of thousand, trying to "sysctl -a" would SIGSEGV on the net.inet.tcp.pcblist entry (it would exceed the stacksize ulimit, in an undetectable manner). Reported by: Igor Sysoev
Revision 1.74: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:10:03 2006 UTC (5 years, 5 months ago) by ume
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +39 -4 lines
Support Celsius (nn.nC), Fahrenheit (nn.nF) and Kelvin (nnnn) to specify temperature. Reviewed by: njl MFC after: 3 days
Revision 1.67.2.5: download - view: text, markup, annotated - select for diffs
Wed Aug 16 13:08:22 2006 UTC (5 years, 5 months ago) by ru
Branches: RELENG_6
Diff to: previous 1.67.2.4: preferred, colored; branchpoint 1.67: preferred, colored
Changes since revision 1.67.2.4: +3 -3 lines
MFC: 1.73: Fix printing of integer Celsius.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Aug 15 13:32:39 2006 UTC (5 years, 5 months ago) by ru
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -3 lines
Fix printing of integer Kelvins broken in rev. 1.71, which is fatal on sizeof(int) != sizeof(long) systems (such as amd64). MFC after: 1 day
Revision 1.67.2.4: download - view: text, markup, annotated - select for diffs
Tue Aug 15 12:41:10 2006 UTC (5 years, 5 months ago) by ru
Branches: RELENG_6
Diff to: previous 1.67.2.3: preferred, colored; branchpoint 1.67: preferred, colored
Changes since revision 1.67.2.3: +2 -2 lines
MFC: Add forgotten -q to usage() and SYNOPSIS.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Sat Aug 12 23:33:10 2006 UTC (5 years, 5 months ago) by obrien
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +10 -2 lines
Add an extension to the UINT & ULONG types. The XINT & XLONG types behave the same, except sysctl(8) will print out the values in hex.
Revision 1.67.2.3: download - view: text, markup, annotated - select for diffs
Sat Aug 5 05:49:29 2006 UTC (5 years, 6 months ago) by njl
Branches: RELENG_6
Diff to: previous 1.67.2.2: preferred, colored; branchpoint 1.67: preferred, colored
Changes since revision 1.67.2.2: +8 -10 lines
MFC: acpi man page formatting updates, sysctl temperature printing fixes.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Aug 4 07:31:55 2006 UTC (5 years, 6 months ago) by njl
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +8 -10 lines
Use floating point instead of hacking something together. Suggested by bde@. Fix nearby int conversion and a couple style bugs. MFC after: 1 day
Revision 1.67.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 2 07:21:25 2006 UTC (5 years, 6 months ago) by njl
Branches: RELENG_6
Diff to: previous 1.67.2.1: preferred, colored; branchpoint 1.67: preferred, colored
Changes since revision 1.67.2.1: +6 -2 lines
MFC: add control of thermal zone setpoints, add sysctl to enable ACPI-based rebooting, fix sysctl printing of negative decimals, document it all.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Tue Jul 25 02:28:43 2006 UTC (5 years, 6 months ago) by njl
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +6 -2 lines
Fix printing of negative decimal values in Kelvin to Celsius conversion. MFC after: 3 days
Revision 1.69: download - view: text, markup, annotated - select for diffs
Thu Dec 1 21:59:24 2005 UTC (6 years, 2 months ago) by ru
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -2 lines
Add -q to usage().
Revision 1.61.2.3: download - view: text, markup, annotated - select for diffs
Thu Sep 22 17:53:57 2005 UTC (6 years, 4 months ago) by rwatson
Branches: RELENG_5
CVS tags: RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5
Diff to: previous 1.61.2.2: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.2.2: +12 -4 lines
Merge sysctl.8:1.59, sysctl.c:1.68 from HEAD to RELENG_5: Add "-q" argument to sysctl(8), which suppresses a limited set of warnings/ errors generated. In particular, it suppresses "unknown oid" when attempting to get or set a sysctl not present in the kernel.
Revision 1.67.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 22 15:30:21 2005 UTC (6 years, 4 months ago) by rwatson
Branches: RELENG_6
CVS tags: RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +12 -4 lines
Merge sysctl.8:1.59, sysctl.c:1.68 from HEAD to RELENG_6: Add "-q" argument to sysctl(8), which suppresses a limited set of warnings/ errors generated. In particular, it suppresses "unknown oid" when attempting to get or set a sysctl not present in the kernel. Approved by: re (kensmith)
Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Sep 15 16:08:04 2005 UTC (6 years, 4 months ago) by rwatson
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +12 -4 lines
Add "-q" argument to sysctl(8), which suppresses a limited set of warnings/ errors generated. In particular, it suppresses "unknown oid" when attempting to get or set a sysctl not present in the kernel. MFC after: 1 week
Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Apr 13 06:59:07 2005 UTC (6 years, 9 months ago) by mdodd
Branches: MAIN
CVS tags: RELENG_6_BP
Branch point for: RELENG_6
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +5 -0 lines
Show descriptions for type CTLTYPE_NODES.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Wed Apr 13 06:56:31 2005 UTC (6 years, 9 months ago) by mdodd
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -0 lines
Zero buffers. Seatbelt against sysctl(3) returning non-NUL terminated string data.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Thu Feb 10 09:19:34 2005 UTC (7 years ago) by ru
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +1 -1 lines
Sync program's usage() with manpage's SYNOPSIS.
Revision 1.61.2.2: download - view: text, markup, annotated - select for diffs
Fri Feb 4 06:06:19 2005 UTC (7 years ago) by ssouhlal
Branches: RELENG_5
CVS tags: RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4
Diff to: previous 1.61.2.1: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.1: +2 -1 lines
MFC 1.64: Get rid of a NULL dereference when oid is too long. Reviewed by: keramida Approved by: grehan (mentor) Approved by: grehan (mentor)
Revision 1.64: download - view: text, markup, annotated - select for diffs
Tue Jan 25 14:37:43 2005 UTC (7 years ago) by ssouhlal
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -1 lines
Get rid of a NULL dereference when oid is too long. Reviewed by: keramida Approved by: grehan (mentor) MFC after: 1 week
Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Sun Nov 7 20:21:03 2004 UTC (7 years, 3 months ago) by njl
Branches: RELENG_5
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +12 -2 lines
MFC rev 1.62: Add support for the 'K' sysctl identifier for ACPI thermal temperature conversions.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Sep 17 17:08:44 2004 UTC (7 years, 4 months ago) by le
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +1 -1 lines
Use correct format string. Submitted by: ssouhlal
Revision 1.62: download - view: text, markup, annotated - select for diffs
Mon Aug 30 22:42:10 2004 UTC (7 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +12 -2 lines
Add a suffix descriptor for the acpi thermal values as a hint for the userland sysctl tool to print a more readable value for temperatures.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Apr 9 19:58:39 2004 UTC (7 years, 10 months ago) by markm
Branches: MAIN
CVS tags: RELENG_5_BP, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3
Branch point for: RELENG_5
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +0 -4 lines
Remove advertising clause from University of California Regent's license, per letter dated July 22, 1999. Approved by: core, imp
Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue Mar 2 05:42:52 2004 UTC (7 years, 11 months ago) by dd
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -1 lines
Add CTLTYPE_QUAD to the list of types for which we don't want an empty value. All the other numeric types are doing it . . .
Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Nov 7 16:41:47 2003 UTC (8 years, 3 months ago) by des
Branches: MAIN
CVS tags: RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +9 -9 lines
Whitespace cleanup.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Nov 7 16:33:45 2003 UTC (8 years, 3 months ago) by des
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +21 -11 lines
Add a command-line option to format output for human readability. Currently, the only effect it has is to print some (but not all) numbers using thousands separators.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat Nov 1 07:06:04 2003 UTC (8 years, 3 months ago) by silby
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +5 -5 lines
Fix a few style glitches in the previous commit and make the tunable error message more brief. Suggested by: bde
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Oct 26 04:45:08 2003 UTC (8 years, 3 months ago) by peter
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -2 lines
Fix a 64 bit warning. Have set_T_dev_t() take a pointer to a size_t rather than a pointer to an int, since that is what it really wants anyway.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Oct 21 18:48:49 2003 UTC (8 years, 3 months ago) by silby
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -1 lines
Wrap a long line in the previous commit Suggested by: njl
Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Oct 21 16:49:30 2003 UTC (8 years, 3 months ago) by silby
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +6 -1 lines
Have sysctl print out a more useful error message when it detects that the user has attempted to write to a read only, tunable value.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Jun 15 06:26:08 2003 UTC (8 years, 7 months ago) by rwatson
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +25 -5 lines
Tighten up the string->integer conversion in sysctl(8): (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.
Revision 1.25.2.11: download - view: text, markup, annotated - select for diffs
Thu May 1 22:48:08 2003 UTC (8 years, 9 months ago) by trhodes
Branches: RELENG_4
CVS tags: RELENG_4_9_BP, RELENG_4_9_0_RELEASE, RELENG_4_9, RELENG_4_11_BP, RELENG_4_11_0_RELEASE, RELENG_4_11, RELENG_4_10_BP, RELENG_4_10_0_RELEASE, RELENG_4_10
Diff to: previous 1.25.2.10: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.10: +16 -4 lines
Bring the oid description functionality (-d) into STABLE. PR: 51201 Submitted by: Andy Gilligan <andy@evo6.org>
Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Apr 3 21:41:14 2003 UTC (8 years, 10 months ago) by phk
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +0 -54 lines
Output machdep.guessed_bootdev as an integer rather than try to format it according to ancient and obsolete rules. This removes one more user of <sys/diskslice.h>
Revision 1.25.2.10: download - view: text, markup, annotated - select for diffs
Wed Jan 22 00:36:23 2003 UTC (9 years ago) by peter
Branches: RELENG_4
CVS tags: RELENG_4_8_BP, RELENG_4_8_0_RELEASE, RELENG_4_8
Diff to: previous 1.25.2.9: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.9: +3 -2 lines
MFC: rev 1.45, 1.48, 1.51. Fix string termination.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Jan 22 00:34:22 2003 UTC (9 years ago) by peter
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +1 -1 lines
Fix what I think is an off-by-one in certain worst-case scenarios caused by rev 1.45. (eg: the estimate being exactly half of the result.)
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Jan 11 20:03:43 2003 UTC (9 years, 1 month ago) by dillon
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +21 -8 lines
Cleanup the formatting from the last commit, convert everything to a more human-readable 'kilobytes' instead of pages.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Jan 11 07:29:46 2003 UTC (9 years, 1 month ago) by dillon
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +26 -0 lines
Make 'sysctl vm.vmtotal' work properly using updated patch from Hiten. (the patch in the PR was stale). PR: kern/5689 Submitted by: Hiten Pandya <hiten@unixdaemons.com>
Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Nov 12 21:18:21 2002 UTC (9 years, 2 months ago) by peter
Branches: MAIN
CVS tags: RELENG_5_0_BP, RELENG_5_0_0_RELEASE, RELENG_5_0
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +1 -1 lines
Fix a "bug" in sysctl(8). Limit the length when we print a string from the kernel rather than ignoring the length and keeping on going till we finally hit a \0 character in the buffer.
Revision 1.25.2.9: download - view: text, markup, annotated - select for diffs
Tue Oct 29 18:06:31 2002 UTC (9 years, 3 months ago) by thomas
Branches: RELENG_4
Diff to: previous 1.25.2.8: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.8: +34 -13 lines
MFC sysctl.c 1.40, sysctl.8 1.44: Allow setting dev_t variables (sysctl kern.dumpdev=/dev/ad1s1b) and document this syntax. Fix setting of QUAD variables by removing an erroneous early "break". Remove code duplication. Approved by: roberto
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Aug 25 13:10:45 2002 UTC (9 years, 5 months ago) by charnier
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +1 -1 lines
Replace various spelling with FALLTHROUGH which is lint()able
Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri May 24 08:34:18 2002 UTC (9 years, 8 months ago) by alfred
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +16 -9 lines
Don't err(3) (and exit prematurely) when a sysctl's object size has changed, instead just warn(3)
Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed May 8 23:49:19 2002 UTC (9 years, 9 months ago) by ache
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +1 -1 lines
Don't forget to null-terminate string we got from sysctl (f.e. in 'A' format). Stack garbadge may be printed otherwise.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Apr 15 12:10:44 2002 UTC (9 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -2 lines
Take the "tickadj" element out of struct clockinfo. Our adjtime(2) implementation is being changed and the very concept of tickadj will no longer be meaningful.
Revision 1.25.2.8: download - view: text, markup, annotated - select for diffs
Sat Mar 16 15:49:08 2002 UTC (9 years, 10 months ago) by luigi
Branches: RELENG_4
CVS tags: RELENG_4_7_BP, RELENG_4_7_0_RELEASE, RELENG_4_7, RELENG_4_6_BP, RELENG_4_6_2_RELEASE, RELENG_4_6_1_RELEASE, RELENG_4_6_0_RELEASE, RELENG_4_6
Diff to: previous 1.25.2.7: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.7: +57 -0 lines
MFC: the sysctl variable "machdep.guessed_bootdev" reports some indication on the device possibly used for booting, as [un]reliable as the one given by boot2. Normally works fine when booting from BIOS-recognized devices such as floppy or IDE disk slices, and probably scsi disks as well. Booting from CDROM in floppy-emulation mode returns /dev/fd0, how strange...
Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Mar 11 06:50:28 2002 UTC (9 years, 11 months ago) by luigi
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +7 -1 lines
Make the handling of machdep.guessed_bootdev compiled on i386 only.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Mar 10 20:08:44 2002 UTC (9 years, 11 months ago) by luigi
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +51 -0 lines
Export a (machine dependent) kernel variable bootdev as machdep.guessed_bootdev, and add code to sysctl to parse its value and give a (not necessarily correct) name to the device we booted from (the main motivation for this code is to use the info in the PicoBSD boot scripts, and the impact on the kernel is minimal). NOTE: the information available in bootdev is not always reliable, so you should not trust it too much. The parsing code is the same as in boot2.c, and cannot cover all cases -- as it is, it seems to work fine with floppies and IDE disks recognised by the BIOS. It _should_ work as well with SCSI disks recognised by the BIOS. Booting from a CDROM in floppy emulation will return /dev/fd0 (because this is what the BIOS tells us). Booting off the network (e.g. with etherboot) leaves bootdev unset so the value will be printed as "invalid (0xffffffff)". Finally, this feature might go away at some point, hopefully when we have a more reliable way to get the same information. MFC-after: 5 days
Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Feb 25 03:36:06 2002 UTC (9 years, 11 months ago) by bde
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3 lines
#include <sys/time.h> instead of depending on namespace pollution in <sys/stat.h> for its prerequisite <sys/time.h>. #include <sys/param.h> in the correct place instead of bogusly including <sys/types.h>.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Dec 30 10:33:34 2001 UTC (10 years, 1 month ago) by phk
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +34 -13 lines
Allow setting of variables of type dev_t by indicating the name of a special file on the command line, eg: sysctl kern.dumpdev=/dev/ad1s1b In parse(), when a value is given for a CTLTYPE_QUAD variable, newval and newsize erroneously fail to be set because of an early "break". show_var() contains code that duplicates the functionality of the oidfmt() function. PR: 33151, 33150 Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
Revision 1.25.2.7: download - view: text, markup, annotated - select for diffs
Wed Dec 19 15:13:31 2001 UTC (10 years, 1 month ago) by tobez
Branches: RELENG_4
CVS tags: RELENG_4_5_BP, RELENG_4_5_0_RELEASE, RELENG_4_5
Diff to: previous 1.25.2.6: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.6: +20 -12 lines
MFC: Implement -e option.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Dec 16 02:55:41 2001 UTC (10 years, 1 month ago) by luigi
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +16 -4 lines
Add code to export and print the description associated to sysctl variables. Use the -d flag in sysctl(8) to see this information. Possible extensions to sysctl: + report variables that do not have a description + given a name, report the oid it maps to. Note to developers: have a look at your code, there are a number of variables which do not have a description. Note to developers: do we want this in 4.5 ? It is a very small change and very useful for documentation purposes. Suggested by: Orion Hodson
Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Oct 30 20:15:32 2001 UTC (10 years, 3 months ago) by tobez
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +20 -12 lines
Implement -e option. It modifies the output produced by sysctl(8) in such a way that the name and the value of the variable(s) are separated with `=' instead of the usual `: '. This is useful for producing output that can be fed back to the sysctl utility (pasted to sysctl.conf, for example). Reviewed by: rwatson Approved by: markm MFC after: 2 weeks
Revision 1.25.2.6: download - view: text, markup, annotated - select for diffs
Sat Jul 28 17:01:37 2001 UTC (10 years, 6 months ago) by dd
Branches: RELENG_4
CVS tags: RELENG_4_4_BP, RELENG_4_4_0_RELEASE, RELENG_4_4
Diff to: previous 1.25.2.5: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.5: +19 -18 lines
MFC 1.34-1.36: sync with -current: minor style fixes.
Revision 1.25.2.5: download - view: text, markup, annotated - select for diffs
Sat Jul 28 16:52:27 2001 UTC (10 years, 6 months ago) by dd
Branches: RELENG_4
Diff to: previous 1.25.2.4: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.4: +51 -27 lines
MFC sysctl 1.30-1.33, sysctl.8 1.32-1.33: -N flag, and DES's spring cleaning (deprecating -W, -A, -X, etc.). As in -current, all deprecated flags are still accepted for backwards compatibility. Approved by: des
Revision 1.25.2.4: download - view: text, markup, annotated - select for diffs
Wed Jul 18 15:36:45 2001 UTC (10 years, 6 months ago) by pirzyk
Branches: RELENG_4
Diff to: previous 1.25.2.3: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.3: +20 -2 lines
modfied sysctl command to allow setting values > 2GB if the mib supports it. PR: kern/21132 Reviewed by: no objections to by -arch
Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Jun 18 21:06:24 2001 UTC (10 years, 7 months ago) by pirzyk
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +20 -2 lines
modfied sysctl command to allow setting values > 2GB if the mib supports it. PR: kern/21132 Reviewed by: no objections to by -arch MFC after: 1 month
Revision 1.25.2.3: download - view: text, markup, annotated - select for diffs
Tue Jun 12 03:31:26 2001 UTC (10 years, 8 months ago) by dd
Branches: RELENG_4
Diff to: previous 1.25.2.2: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.2: +21 -21 lines
MFC 1.35, 1.36: remove unused variable and normalize use of sizeof.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Jun 9 03:56:16 2001 UTC (10 years, 8 months ago) by dd
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +20 -20 lines
Normalize the use of sizeof according to style(9). Reviewed by: md5(1)
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Jun 1 02:58:09 2001 UTC (10 years, 8 months ago) by dd
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
Remove unused variable (descr) in show_var(). PR: 22582 Submitted by: Giorgos Keramidas <charon@gray.westgate.gr>
Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon May 28 12:35:40 2001 UTC (10 years, 8 months ago) by des
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +19 -18 lines
Perform random drive-by style cleanups, and rewrite a while loop that offended my artistic sensibilities.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon May 28 12:26:45 2001 UTC (10 years, 8 months ago) by des
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +1 -1 lines
Forgotten in previous commit log: - don't print an ellipsis after the hex dump if the variable is exactly 16 bytes long (the less-than-16-bytes case already worked as expected).
Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon May 28 12:15:45 2001 UTC (10 years, 8 months ago) by des
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +26 -23 lines
Try to make sysctl options slightly more orthogonal: - introduce a -o option that displays opaque variables. - introduce a -x option that displays opaque variables in full. - deprecate -A in favor of -ao and -X in favor of -ax. - remove -A and -X from usage() and SYNOPSIS (but not from DESCRIPTION). - ignore -a if one or more variables were listed on the command line. - deprecate -w, it is not needed to determine the user's intentions. - some language and style cleanup in the man page. This commit should not break any existing scripts. MFC after: 4 weeks
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Jan 14 19:08:58 2001 UTC (11 years ago) by des
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +6 -6 lines
Document the -N option in the usage message and the man page.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Jan 14 16:40:06 2001 UTC (11 years ago) by des
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +32 -11 lines
Add a -N option that makes sysctl(8) print out just the variable names. Zsh users can add the following to their .zshrc for sysctl completion: function listsysctls { case $1 in *.*) set -A reply $(sysctl -AN ${1%.*}) ;; *) set -A reply $(sysctl -AN) ;; esac } compctl -K listsysctls sysctl While I'm here, brucify the getopt() switch.
Revision 1.25.2.2: download - view: text, markup, annotated - select for diffs
Thu Nov 2 21:17:53 2000 UTC (11 years, 3 months ago) by gallatin
Branches: RELENG_4
CVS tags: RELENG_4_3_BP, RELENG_4_3_0_RELEASE, RELENG_4_3, RELENG_4_2_0_RELEASE
Diff to: previous 1.25.2.1: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.1: +3 -3 lines
MFC 1.29 fix sizeof(int) != sizeof(long) brokenness for SYSCTL_LONG Approved by: jkh
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Oct 23 21:04:18 2000 UTC (11 years, 3 months ago) by gallatin
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3 lines
Give correct results for SYSCTL_LONG arrays when sizeof(int) != sizeof(long) This fixes unaligned access on alpha for, eg, sysctl kern.ipc.mbtypes.
Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 19 06:22:20 2000 UTC (11 years, 6 months ago) by kbyanc
Branches: RELENG_4
CVS tags: RELENG_4_1_1_RELEASE, RELENG_4_1_0_RELEASE
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +25 -5 lines
MFC: merge in various cosmetic cleanups: Add unsigned sysctl types; change certain existing sysctl oids to utilize the new types. Teach sysctl(8) about these types. Convert SYSCTL_LONG to accept a val parameter like all of the other SYSCTL_XXX macros. Add support to sysctl(8) for arrays of longs. Make sysctl(8) display dev_t's the same way as ls(1).
Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Jul 11 21:59:54 2000 UTC (11 years, 7 months ago) by phk
Branches: MAIN
CVS tags: PRE_SMPNG
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +11 -5 lines
Array of long support. Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Jul 5 07:46:40 2000 UTC (11 years, 7 months ago) by jhb
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +11 -3 lines
Support for unsigned integer and long sysctl variables. Update the SYSCTL_LONG macro to be consistent with other integer sysctl variables and require an initial value instead of assuming 0. Update several sysctl variables to use the unsigned types. PR: 15251 Submitted by: Kelly Yancey <kbyanc@posi.net>
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Jun 10 19:55:39 2000 UTC (11 years, 8 months ago) by phk
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +9 -3 lines
Handle minors like ls(1) does it. PR: 19179 Submitted by: Kelly Yancey <kbyanc@posi.net>
Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 22 08:43:59 1999 UTC (12 years, 2 months ago) by des
Branches: RELENG_3
CVS tags: RELENG_3_5_0_RELEASE, RELENG_3_4_0_RELEASE
Diff to: previous 1.20.2.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.1: +8 -21 lines
MFC: remove the -d option.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Nov 22 08:43:00 1999 UTC (12 years, 2 months ago) by des
Branches: MAIN
CVS tags: RELENG_4_BP, RELENG_4_0_0_RELEASE
Branch point for: RELENG_4
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +1 -1 lines
To clarify the previous log message: belatedly back out rev. 1.20 of sysctl.c and rev. 1.18 of sysctl.8, which added an option to show sysctl descriptions instead of their values. The kernel side of this was ripped out by a certain axe-bearing Dane a long time ago. PR: 15012
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Nov 22 08:38:29 1999 UTC (12 years, 2 months ago) by des
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +8 -21 lines
Belatedly back out rev. 1.20.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Nov 17 23:42:09 1999 UTC (12 years, 2 months ago) by grog
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
Allow octal or hex input. Suggested-by: Geoff Steckel <gwes@sitaranetworks.com>
Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 29 15:15:56 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_3
CVS tags: RELENG_3_3_0_RELEASE
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Aug 28 00:14:30 1999 UTC (12 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jul 21 02:49:42 1999 UTC (12 years, 6 months ago) by billf
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -2 lines
Avoid ambigious if/else
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Jan 10 02:10:08 1999 UTC (13 years, 1 month ago) by des
Branches: MAIN
CVS tags: old_RELENG_3_BP, old_RELENG_3_1_0_RELEASE, RELENG_3_2_PAO_BP, RELENG_3_2_PAO, RELENG_3_2_0_RELEASE
Branch point for: RELENG_3
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +34 -18 lines
Clean up option handling a little. Add an option for showing sysctl descriptions instead of their values.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Nov 8 19:27:43 1998 UTC (13 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +8 -2 lines
Allow for printing out integer arrays.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Aug 25 07:38:19 1998 UTC (13 years, 5 months ago) by dfr
Branches: MAIN
CVS tags: old_RELENG_3_0_0_RELEASE
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +21 -5 lines
Change length arguments to sysctl to size_t.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Jun 29 17:54:29 1998 UTC (13 years, 7 months ago) by bde
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -2 lines
Don't assume that time_t is long.
Revision 1.10.2.3: download - view: text, markup, annotated - select for diffs
Tue Nov 18 03:39:10 1997 UTC (14 years, 2 months ago) by jdp
Branches: old_RELENG_2_2
CVS tags: old_RELENG_2_2_8_RELEASE, old_RELENG_2_2_7_RELEASE, old_RELENG_2_2_6_RELEASE
Diff to: previous 1.10.2.2: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.2: +3 -2 lines
Merge from main branch 1.15 -> 1.16: add missing argument.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Nov 18 03:37:45 1997 UTC (14 years, 2 months ago) by jdp
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -2 lines
Add missing argument detected by "-Wformat".
Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Fri Nov 7 07:27:12 1997 UTC (14 years, 3 months ago) by charnier
Branches: old_RELENG_2_2
Diff to: previous 1.10.2.1: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.1: +29 -31 lines
MFC: Use err(3). Change err(-1,... to err(1,...
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Oct 20 12:53:54 1997 UTC (14 years, 3 months ago) by charnier
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +29 -31 lines
Use err(3). Change err(-1,... to err(1,...
Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 29 05:16:00 1997 UTC (14 years, 5 months ago) by imp
Branches: old_RELENG_2_2
CVS tags: old_RELENG_2_2_5_RELEASE
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
MFC: getopt returns -1 not EOF
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Aug 2 19:35:35 1997 UTC (14 years, 6 months ago) by bde
Branches: CSRG
CVS tags: bsd_44_lite_2
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +80 -8 lines
Import Lite2's src/usr.sbin, except for timed. All changed files except one unimportant one have already left the vendor branch.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Jun 24 18:23:32 1997 UTC (14 years, 7 months ago) by jhay
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
Display tickadj in struct clockinfo.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Mar 31 05:11:25 1997 UTC (14 years, 10 months ago) by imp
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Feb 22 16:13:58 1997 UTC (14 years, 11 months ago) by peter
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -1 lines
Revert $FreeBSD$ to $Id$
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Jan 14 07:19:10 1997 UTC (15 years ago) by jkh
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -1 lines
Make the long-awaited change from $Id$ to $FreeBSD$ This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Apr 10 00:53:22 1996 UTC (15 years, 10 months ago) by smpatel
Branches: MAIN
CVS tags: old_RELENG_2_2_BP, old_RELENG_2_2_2_RELEASE, old_RELENG_2_2_1_RELEASE, old_RELENG_2_2_0_RELEASE
Branch point for: old_RELENG_2_2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -1 lines
Fix a core dump when the user gives "-w" without an "="
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Dec 21 12:39:25 1995 UTC (16 years, 1 month ago) by phk
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +334 -437 lines
The rewamped sysctl program that will find all the variables itself. Also a couple of handy new options.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Nov 17 16:28:42 1995 UTC (16 years, 2 months ago) by phk
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -32 lines
Make sysctl compile again by removing all the debug stuff.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Jun 11 19:32:58 1995 UTC (16 years, 8 months ago) by rgrimes
Branches: MAIN
CVS tags: old_RELENG_2_1_7_RELEASE, old_RELENG_2_1_6_RELEASE, old_RELENG_2_1_6_1_RELEASE, old_RELENG_2_1_5_RELEASE, old_RELENG_2_1_0_RELEASE, old_RELENG_2_1_0_BP, old_RELENG_2_1_0
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
Merge RELENG_2_0_5 into HEAD
Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 2 10:50:54 1995 UTC (16 years, 8 months ago) by davidg
Branches: old_RELENG_2_0_5
CVS tags: old_RELENG_2_0_5_RELEASE
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +2 -2 lines
Fixed NULL pointer dereference in error message. Submitted by: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue May 30 03:52:31 1995 UTC (16 years, 8 months ago) by rgrimes
Branches: MAIN
CVS tags: old_RELENG_2_0_5_BP
Branch point for: old_RELENG_2_0_5
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4 lines
Remove trailing whitespace.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri May 12 19:10:56 1995 UTC (16 years, 9 months ago) by wollman
Branches: MAIN
CVS tags: old_RELENG_2_0_5_ALPHA
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +12 -3 lines
Learn how to print out kern.dumpdev as a name.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Feb 16 00:28:42 1995 UTC (16 years, 11 months ago) by wollman
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +11 -6 lines
Allow the user access to net.inet.igmp, even though there's nothing sysctl(8) can interpret there. (Someday there might be.)
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Feb 9 23:16:17 1995 UTC (17 years ago) by wollman
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +9 -2 lines
Implement TCP MIB variables.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Aug 8 15:37:35 1994 UTC (17 years, 6 months ago) by wollman
Branches: MAIN
CVS tags: old_RELEASE_2_0, old_BETA_2_0, old_ALPHA_2_0
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -1 lines
Suppress irritating extra newline after kern.boottime.
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Thu May 26 05:23:20 1994 UTC (17 years, 8 months ago) by rgrimes
Branches: CSRG
CVS tags: bsd_44_lite
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
BSD 4.4 Lite usr.sbin Sources
Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu May 26 05:23:19 1994 UTC (17 years, 8 months ago) by rgrimes
Branches: MAIN
Initial revision
