summaryrefslogtreecommitdiff
path: root/sbin/sysctl/sysctl.c
AgeCommit message (Collapse)Author
2001-02-23give cp_time a proper treatmentMichael Shalayeff
2001-01-22attempting to sysctl clear a string was failing; checked by millert and aaronTheo de Raadt
2001-01-04Sync.Angelos D. Keromytis
2001-01-04Read a struct kmembuckets, rather than individual values.Angelos D. Keromytis
2001-01-04Print the kern.malloc.* branchAngelos D. Keromytis
2000-12-22strlcpy is greatTheo de Raadt
2000-11-21Fix an int * that should be a size_t * when calling sysctl(3).Todd C. Miller
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
2000-06-14add swapencrypt ctl level.Niels Provos
2000-06-07s/PIMCTL/PIM6CTL/ for less confusion.Jun-ichiro itojun Hagino
2000-05-22modify vfs subtree to accomodate for fs-specific variables.Michael Shalayeff
in particular expose vfs.nfs.iothreads, which is a replacement for nfsiod kludge. this is not a netbsd port-over, since this particular implementation builds up the needed variable indexes dynamically (using the already existing `generic' vfs variables), as opposed to netbsd which relies on static matching w/ kernel definitions and configuration... man changes to come soon.
2000-04-10this is how rnd stats are printed out nowMichael Shalayeff
2000-03-21more random statsMichael Shalayeff
2000-02-06do not directly include netinet6/{ip6,icmp6}.hJun-ichiro itojun Hagino
2000-01-21ip4.allow -> ipip.allowAngelos D. Keromytis
2000-01-07gre.allow and mobileip.allowAngelos D. Keromytis
1999-12-30vm.swapencrypt for UVMNiels Provos
1999-12-10add IPv6 support. net.inet6.{ip6,icmp6} will be printed.Jun-ichiro itojun Hagino
1999-10-28net.inet.etherip.allow sysctlAngelos D. Keromytis
1999-09-02Treat kern.hostid as a u_int, and clean up parsing of integers on the commandPaul Janzen
line.
1999-07-01print kern.arandom unsignedTheo de Raadt
1999-04-11Introduce net.inet.{ah,esp}.enable sysctl controls that are off by default.Niklas Hallqvist
If you are going to use either of AH or ESP or both, enable these in /etc/sysctl.conf. Also correct the IPSec debugging sysctl code, it is now named net.inet.ip.encdebug. Some corrected function signatures too.
1999-04-09The userland parts of a sysctl that can switch on/off IP-in-IP (protocol 4)Niklas Hallqvist
1999-02-25mib for pf_key is PF_KEY not PF_KEY_V2Theo de Raadt
1999-02-24New position for the encdebug variable.Angelos D. Keromytis
1998-03-19fix type botchesTheo de Raadt
1998-03-15Add support for vfs.* from lite2Todd C. Miller
1998-02-17use warn() instead of warnx() to print error messageMatthieu Herrb
1997-10-25fix diskinfo listing, support blk2chr,chr2blkMichael Shalayeff
1997-10-25make diskinfo working; fix one bug and one exploitMichael Shalayeff
1997-10-22newer bios stuffMichael Shalayeff
1997-10-15s/xntpd/xntpdc/kstailey
1997-10-03put real geo field in ()Theo de Raadt
1997-10-03avoid sign extension on bios geometry!Theo de Raadt
1997-09-21new machdep.bios subtreeMichael Shalayeff
1997-09-12Add parens to shut up -Wall.Todd C. Miller
1997-08-29fix case we have no CPU_BIOS* definedMichael Shalayeff
1997-08-28symbolic bios bootdev, s/hpc/tpc/ for bios geonetryMichael Shalayeff
1997-08-28grok bios geometryMichael Shalayeff
1997-08-19Some KNF, check a few return values and use err/warn.Todd C. Miller
1997-08-19Move bad dynamic port parsing into parse_baddynamic().Todd C. Miller
1997-08-19Add support for adding/subtracting ports from the current baddynamicTodd C. Miller
mask.
1997-08-19typoTodd C. Miller
1997-08-19Make net.inet.tcp.baddynamic and net.inet.udp.baddynamicTodd C. Miller
comma-separated instead of space-separated when printing so it is easy to cut and paste.
1997-08-19Only print bad dynamic ports list for udp and tcp since that's allTodd C. Miller
that exist. This fixes a bug where net.inet.ip.redirect, net.inet.ip.directed-broadcast, and net.inet.tcp.keepinittimem got interpreted as dynamic port lists. Oops.
1997-08-09The list of tcp/udp ports not to allocate dynamically is nowTodd C. Miller
a bitmask configurable via sysctl([38]). The default values have not changed. If one wants to change the list it should be done early on in /etc/rc.
1997-07-22tabify, use NULL for ptr ops, not 0kstailey
1997-07-22re-tabify (angelos!)kstailey
1997-07-15sysctl for PF_ENCAP.Angelos D. Keromytis
1997-06-28fix the rnd typesTheo de Raadt