summaryrefslogtreecommitdiff
path: root/sbin/sysctl/sysctl.c
AgeCommit message (Expand)Author
2018-08-24display CPU_CPUID / machdep.cpuid in hex not decimalJonathan Gray
2018-07-16use ANSI C function declaration; no binary changeJasper Lievisse Adriaanse
2018-05-26In addition to "on" and "off", allow the audio "record.enable" mixerAlexandre Ratchov
2018-03-06Fix a small mistake from r1.229 causing sysctl(8) to print "newval -> newval"Tim van der Molen
2018-02-16simplify synopsis and text;Jason McIntyre
2018-02-10add support for binary sysctl payloads by handling them as hexFlorian Obser
2017-07-19revert previous; the code this was supposed to be used for is movingFlorian Obser
2017-07-17add support for binary sysctl payloads by handling them as hex strings.David Gwynne
2017-04-25Use strtonum instead of strto{,u}ll for simpler and better overflowTheo Buehler
2017-03-16Fix a regression preventing ``kern.profiling'' to return the profilingMartin Pieuchot
2016-12-22Remove PIM support from the multicast stack.Rafael Zalamena
2016-10-18Rewrite the kern.malloc.kmemstat in the same style as previous. This one doesOtto Moerbeek
2016-10-09fix heap overflow by rewriting loop; detected by new malloc canariesOtto Moerbeek
2016-09-21sysctl KERN_ARND is no longer used (in ports, it only occurs in fallbackTheo de Raadt
2016-09-02for reporting changes, hex and decimal were swappedTheo de Raadt
2016-09-01Export machdep.cpufeature in hex, to avoid - values which madeTheo de Raadt
2016-08-27Pull in <sys/time.h> for struct timespecPhilip Guenther
2016-08-14Use int64_t and %ll for CTLTYPE_QUAD nodes.Philip Guenther
2016-07-27increase the size of forkstat fields to accomodate large valuesTed Unangst
2016-06-18Add net.inet.{tcp,udp}.rootonly sysctl, to mark which portsVincent Gross
2016-05-23remove the sysctl kern.random counters, since none of the remainingTheo de Raadt
2016-05-04Kill #ifdef INET6 occurrences in userland.Jeremie Courreges-Anglas
2016-02-29delete the kern.emul/KERN_EMUL sysctl bits since there are noChristian Weisgerber
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2015-02-13Direct people to netstat for the new multicast routing sysctls.Philip Guenther
2015-02-09provide a net.inet6.ip6.ifq sysctl so people can see and fiddleDavid Gwynne
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-11-19delete the KERN_VNODE sysctl. it fails to provide any isolation from theTed Unangst
2014-10-26Add a format specifier for the printf.Brad Smith
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2014-09-15Remove non-standard <sys/dkstat.h> header. It has not contained anythingMiod Vallat
2014-08-16repair operation of kern.arandom, which will only allow a buffer ofTheo de Raadt
2014-05-07missing word in error message. ok millertTed Unangst
2014-05-07delete some crusty castsTed Unangst
2014-04-08Use VM_UVMEXP instead of VM_METER for memory usages and directlyMartin Pieuchot
2014-01-23kern.intrcnt is viewable with vmstat+systatPhilip Guenther
2013-11-22Whole bunch of (unsigned char) casts carefully added for ctype calls.Theo de Raadt
2013-11-15Include unistd.h as it is the standard location for getopt().Todd C. Miller
2013-11-12satisfy proto requirementTheo de Raadt
2013-10-22- add UNIX-domain socket info to struct kinfo_file2Philip Guenther
2013-07-18Revert 1.191 and 1.193 and fix the original problem (access to the lastPhilip Guenther
2013-07-18Correct off-by-one in naming of nodes below vfs.mounts.Philip Guenther
2013-06-09add fuse sysctls, from Sylvestre GallonTed Unangst
2013-06-09fix an off by one preventing access to the last filesystem.Ted Unangst
2013-06-08Add new sysctl for pipex packet input/output queue length andYASUOKA Masahiko
2013-04-16handle big time_t types; ok guentherTheo de Raadt
2013-04-15Remove CTL_USER hierarchy from sysctl()Philip Guenther
2013-03-29remove some of the unused fields from rndstats and stop printing zeroes.Ted Unangst
2013-03-29sadly, we are going to need machine/cpu.h here for a while to get machdepTed Unangst
2013-03-28remove excesss includesTheo de Raadt