aboutsummaryrefslogtreecommitdiff
path: root/sbin/sysctl/sysctl.c
Commit message (Expand)AuthorAgeFilesLines
* Copy releng/8.2 to release/8.2.0 for 8.2-RELEASE.release/8.2.0_cvsKen Smith2011-02-161-1/+1
* MFC 212726:Marko Zec2010-11-231-2/+2
* MFC r205118:Rebecca Cran2010-04-201-0/+1
* Merge r203310,203547,203717 from head:Gavin Atkinson2010-02-141-4/+9
* time_t does not always fit into long, for instance on arm. So rather castJohn Hay2009-06-231-3/+3
* The sysctl(8) program exits on some errors and only emits warnings onMike Makonnen2008-06-231-2/+5
* Backout sensors framework.Alexander Leidinger2007-10-151-140/+0
* Import OpenBSD's sysctl hardware sensors framework.Alexander Leidinger2007-10-141-0/+140
* When we return from a "show" function without printing anything exceptBruce Evans2007-06-111-6/+6
* Some improvements to the int-type printing code based on suggestions by bde.David Malone2007-06-101-17/+13
* Fix a number of WARNS, including printf, constness and unsigned comparisonDavid Malone2007-06-101-12/+13
* Some style improvements suggested by bde, including removing anDavid Malone2007-06-101-37/+36
* Use common code for printing ints and longs by coppying the sysctlDavid Malone2007-06-041-42/+42
* Style: Shorten a couple of lines with u_int and u_long.Warner Losh2006-12-101-5/+3
* - Revert signedness type changes to "struct vmtotal"; by makingRuslan Ermilov2006-11-281-15/+11
* Fix the format specifier suitable for uintmax_t.Ruslan Ermilov2006-11-231-5/+5
* - Fix types of "struct vmmeter" members so they are unsigned.Ruslan Ermilov2006-11-201-12/+13
* Remove a debugging statement from the previous commit.Hartmut Brandt2006-10-121-2/+0
* Don't free the buffer with the sysctl value before printing it.Hartmut Brandt2006-10-121-1/+4
* While convenient, avoid using alloca() for reasons specified inRuslan Ermilov2006-09-061-4/+20
* Support Celsius (nn.nC), Fahrenheit (nn.nF) and Kelvin (nnnn) toHajimu UMEMOTO2006-09-031-4/+39
* Fix printing of integer Kelvins broken in rev. 1.71, which isRuslan Ermilov2006-08-151-3/+3
* Add an extension to the UINT & ULONG types. The XINT & XLONG types behaveDavid E. O'Brien2006-08-121-2/+10
* Use floating point instead of hacking something together. Suggested byNate Lawson2006-08-041-10/+8
* Fix printing of negative decimal values in Kelvin to Celsius conversion.Nate Lawson2006-07-251-2/+6
* Add -q to usage().Ruslan Ermilov2005-12-011-2/+2
* Add "-q" argument to sysctl(8), which suppresses a limited set of warnings/Robert Watson2005-09-151-4/+12
* Show descriptions for type CTLTYPE_NODES.Matthew N. Dodd2005-04-131-0/+5
* Zero buffers. Seatbelt against sysctl(3) returning non-NUL terminatedMatthew N. Dodd2005-04-131-0/+2
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-101-1/+1
* Get rid of a NULL dereference when oid is too long.Suleiman Souhlal2005-01-251-1/+2
* Use correct format string.Lukas Ertl2004-09-171-1/+1
* Add a suffix descriptor for the acpi thermal values as a hint for the userlandPeter Wemm2004-08-301-2/+12
* Remove advertising clause from University of California Regent's license,Mark Murray2004-04-091-4/+0
* Add CTLTYPE_QUAD to the list of types for which we don't want an emptyDima Dorfman2004-03-021-1/+2
* Whitespace cleanup.Dag-Erling Smørgrav2003-11-071-9/+9
* Add a command-line option to format output for human readability.Dag-Erling Smørgrav2003-11-071-11/+21
* Fix a few style glitches in the previous commit and make theMike Silbersack2003-11-011-5/+5
* Fix a 64 bit warning. Have set_T_dev_t() take a pointer to a size_t ratherPeter Wemm2003-10-261-2/+2
* Wrap a long line in the previous commitMike Silbersack2003-10-211-1/+2
* Have sysctl print out a more useful error message when it detects that theMike Silbersack2003-10-211-1/+6
* Tighten up the string->integer conversion in sysctl(8):Robert Watson2003-06-151-5/+25
* Output machdep.guessed_bootdev as an integer rather than try to formatPoul-Henning Kamp2003-04-031-54/+0
* Fix what I think is an off-by-one in certain worst-case scenariosPeter Wemm2003-01-221-1/+1
* Cleanup the formatting from the last commit, convert everything toMatthew Dillon2003-01-111-8/+21
* Make 'sysctl vm.vmtotal' work properly using updated patch from Hiten.Matthew Dillon2003-01-111-0/+26
* Fix a "bug" in sysctl(8). Limit the length when we print a string fromPeter Wemm2002-11-121-1/+1
* Replace various spelling with FALLTHROUGH which is lint()ablePhilippe Charnier2002-08-251-1/+1
* Don't err(3) (and exit prematurely) when a sysctl's object size hasAlfred Perlstein2002-05-241-9/+16
* Don't forget to null-terminate string we got from sysctl (f.e. in 'A' format).Andrey A. Chernov2002-05-081-1/+1