head 1.8; access; symbols netbsd-10-0-RELEASE:1.8 netbsd-10-0-RC6:1.8 netbsd-10-0-RC5:1.8 netbsd-10-0-RC4:1.8 netbsd-10-0-RC3:1.8 netbsd-10-0-RC2:1.8 netbsd-10-0-RC1:1.8 netbsd-10:1.8.0.54 netbsd-10-base:1.8 netbsd-9-3-RELEASE:1.8 cjep_sun2x-base1:1.8 cjep_sun2x:1.8.0.52 cjep_sun2x-base:1.8 cjep_staticlib_x-base1:1.8 netbsd-9-2-RELEASE:1.8 cjep_staticlib_x:1.8.0.50 cjep_staticlib_x-base:1.8 netbsd-9-1-RELEASE:1.8 phil-wifi-20200421:1.8 phil-wifi-20200411:1.8 is-mlppp:1.8.0.48 is-mlppp-base:1.8 phil-wifi-20200406:1.8 netbsd-8-2-RELEASE:1.8 netbsd-9-0-RELEASE:1.8 netbsd-9-0-RC2:1.8 netbsd-9-0-RC1:1.8 phil-wifi-20191119:1.8 netbsd-9:1.8.0.46 netbsd-9-base:1.8 phil-wifi-20190609:1.8 netbsd-8-1-RELEASE:1.8 netbsd-8-1-RC1:1.8 pgoyette-compat-merge-20190127:1.8 pgoyette-compat-20190127:1.8 pgoyette-compat-20190118:1.8 pgoyette-compat-1226:1.8 pgoyette-compat-1126:1.8 pgoyette-compat-1020:1.8 pgoyette-compat-0930:1.8 pgoyette-compat-0906:1.8 netbsd-7-2-RELEASE:1.8 pgoyette-compat-0728:1.8 netbsd-8-0-RELEASE:1.8 phil-wifi:1.8.0.44 phil-wifi-base:1.8 pgoyette-compat-0625:1.8 netbsd-8-0-RC2:1.8 pgoyette-compat-0521:1.8 pgoyette-compat-0502:1.8 pgoyette-compat-0422:1.8 netbsd-8-0-RC1:1.8 pgoyette-compat-0415:1.8 pgoyette-compat-0407:1.8 pgoyette-compat-0330:1.8 pgoyette-compat-0322:1.8 pgoyette-compat-0315:1.8 netbsd-7-1-2-RELEASE:1.8 pgoyette-compat:1.8.0.42 pgoyette-compat-base:1.8 netbsd-7-1-1-RELEASE:1.8 matt-nb8-mediatek:1.8.0.40 matt-nb8-mediatek-base:1.8 perseant-stdc-iso10646:1.8.0.38 perseant-stdc-iso10646-base:1.8 netbsd-8:1.8.0.36 netbsd-8-base:1.8 prg-localcount2-base3:1.8 prg-localcount2-base2:1.8 prg-localcount2-base1:1.8 prg-localcount2:1.8.0.34 prg-localcount2-base:1.8 pgoyette-localcount-20170426:1.8 bouyer-socketcan-base1:1.8 pgoyette-localcount-20170320:1.8 netbsd-7-1:1.8.0.32 netbsd-7-1-RELEASE:1.8 netbsd-7-1-RC2:1.8 netbsd-7-nhusb-base-20170116:1.8 bouyer-socketcan:1.8.0.30 bouyer-socketcan-base:1.8 pgoyette-localcount-20170107:1.8 netbsd-7-1-RC1:1.8 pgoyette-localcount-20161104:1.8 netbsd-7-0-2-RELEASE:1.8 localcount-20160914:1.8 netbsd-7-nhusb:1.8.0.28 netbsd-7-nhusb-base:1.8 pgoyette-localcount-20160806:1.8 pgoyette-localcount-20160726:1.8 pgoyette-localcount:1.8.0.26 pgoyette-localcount-base:1.8 netbsd-7-0-1-RELEASE:1.8 netbsd-7-0:1.8.0.24 netbsd-7-0-RELEASE:1.8 netbsd-7-0-RC3:1.8 netbsd-7-0-RC2:1.8 netbsd-7-0-RC1:1.8 netbsd-5-2-3-RELEASE:1.5.40.4 netbsd-5-1-5-RELEASE:1.5.40.4 netbsd-6-0-6-RELEASE:1.8 netbsd-6-1-5-RELEASE:1.8 netbsd-7:1.8.0.22 netbsd-7-base:1.8 yamt-pagecache-base9:1.8 yamt-pagecache-tag8:1.8 netbsd-6-1-4-RELEASE:1.8 netbsd-6-0-5-RELEASE:1.8 tls-earlyentropy:1.8.0.20 tls-earlyentropy-base:1.8 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.8 riastradh-drm2-base3:1.8 netbsd-6-1-3-RELEASE:1.8 netbsd-6-0-4-RELEASE:1.8 netbsd-5-2-2-RELEASE:1.5.40.4 netbsd-5-1-4-RELEASE:1.5.40.4 netbsd-6-1-2-RELEASE:1.8 netbsd-6-0-3-RELEASE:1.8 netbsd-5-2-1-RELEASE:1.5.40.4 netbsd-5-1-3-RELEASE:1.5.40.4 netbsd-6-1-1-RELEASE:1.8 riastradh-drm2-base2:1.8 riastradh-drm2-base1:1.8 riastradh-drm2:1.8.0.12 riastradh-drm2-base:1.8 netbsd-6-1:1.8.0.18 netbsd-6-0-2-RELEASE:1.8 netbsd-6-1-RELEASE:1.8 khorben-n900:1.8.0.16 netbsd-6-1-RC4:1.8 netbsd-6-1-RC3:1.8 agc-symver:1.8.0.14 agc-symver-base:1.8 netbsd-6-1-RC2:1.8 netbsd-6-1-RC1:1.8 yamt-pagecache-base8:1.8 netbsd-5-2:1.5.40.4.0.10 netbsd-6-0-1-RELEASE:1.8 yamt-pagecache-base7:1.8 netbsd-5-2-RELEASE:1.5.40.4 netbsd-5-2-RC1:1.5.40.4 matt-nb6-plus-nbase:1.8 yamt-pagecache-base6:1.8 netbsd-6-0:1.8.0.10 netbsd-6-0-RELEASE:1.8 netbsd-6-0-RC2:1.8 tls-maxphys:1.8.0.8 tls-maxphys-base:1.8 matt-nb6-plus:1.8.0.6 matt-nb6-plus-base:1.8 netbsd-6-0-RC1:1.8 yamt-pagecache-base5:1.8 yamt-pagecache-base4:1.8 netbsd-6:1.8.0.4 netbsd-6-base:1.8 netbsd-5-1-2-RELEASE:1.5.40.4 netbsd-5-1-1-RELEASE:1.5.40.4 yamt-pagecache-base3:1.8 yamt-pagecache-base2:1.8 yamt-pagecache:1.8.0.2 yamt-pagecache-base:1.8 cherry-xenmp:1.7.0.4 cherry-xenmp-base:1.7 bouyer-quota2-nbase:1.7 bouyer-quota2:1.7.0.2 bouyer-quota2-base:1.7 matt-mips64-premerge-20101231:1.7 matt-nb5-mips64-premerge-20101231:1.5.40.4 matt-nb5-pq3:1.5.40.4.0.8 matt-nb5-pq3-base:1.5.40.4 netbsd-5-1:1.5.40.4.0.6 netbsd-5-1-RELEASE:1.5.40.4 netbsd-5-1-RC4:1.5.40.4 matt-nb5-mips64-k15:1.5.40.4 netbsd-5-1-RC3:1.5.40.4 netbsd-5-1-RC2:1.5.40.4 netbsd-5-1-RC1:1.5.40.4 netbsd-5-0-2-RELEASE:1.5.40.4 matt-nb5-mips64-premerge-20091211:1.5.40.4 matt-premerge-20091211:1.7 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.5.40.4 matt-nb4-mips64-k7-u2a-k9b:1.5.40.4 matt-nb5-mips64-u1-k1-k5:1.5.40.4 matt-nb5-mips64:1.5.40.4.0.4 netbsd-5-0-1-RELEASE:1.5.40.4 jym-xensuspend-nbase:1.7 netbsd-5-0:1.5.40.4.0.2 netbsd-5-0-RELEASE:1.5.40.4 netbsd-5-0-RC4:1.5.40.4 netbsd-5-0-RC3:1.5.40.2 netbsd-5-0-RC2:1.5 jym-xensuspend:1.5.0.42 jym-xensuspend-base:1.7 netbsd-5-0-RC1:1.5 mjf-devfs2-base2:1.5 netbsd-5:1.5.0.40 netbsd-5-base:1.5 matt-mips64-base2:1.5 matt-mips64:1.5.0.38 netbsd-4-0-1-RELEASE:1.5 wrstuden-revivesa-base-3:1.5 wrstuden-revivesa-base-2:1.5 wrstuden-fixsa-newbase:1.5 wrstuden-revivesa-base-1:1.5 yamt-pf42-base4:1.5 yamt-pf42-base3:1.5 hpcarm-cleanup-nbase:1.5 yamt-pf42-baseX:1.5 yamt-pf42-base2:1.5 wrstuden-revivesa:1.5.0.36 wrstuden-revivesa-base:1.5 yamt-pf42:1.5.0.34 yamt-pf42-base:1.5 mjf-devfs2:1.5.0.32 mjf-devfs2-base:1.5 keiichi-mipv6:1.5.0.30 keiichi-mipv6-base:1.5 mjf-devfs:1.5.0.28 mjf-devfs-base:1.5 matt-armv6-nbase:1.5 matt-armv6-prevmlocking:1.5 wrstuden-fixsa-base-1:1.5 netbsd-4-0:1.5.0.26 netbsd-4-0-RELEASE:1.5 cube-autoconf:1.5.0.24 cube-autoconf-base:1.5 netbsd-4-0-RC5:1.5 netbsd-4-0-RC4:1.5 netbsd-4-0-RC3:1.5 netbsd-4-0-RC2:1.5 netbsd-4-0-RC1:1.5 matt-armv6:1.5.0.22 matt-armv6-base:1.5 matt-mips64-base:1.5 hpcarm-cleanup:1.5.0.20 hpcarm-cleanup-base:1.5 netbsd-3-1-1-RELEASE:1.5 netbsd-3-0-3-RELEASE:1.5 wrstuden-fixsa:1.5.0.18 wrstuden-fixsa-base:1.5 abandoned-netbsd-4-base:1.5 abandoned-netbsd-4:1.5.0.12 netbsd-3-1:1.5.0.14 netbsd-3-1-RELEASE:1.5 netbsd-3-0-2-RELEASE:1.5 netbsd-3-1-RC4:1.5 netbsd-3-1-RC3:1.5 netbsd-3-1-RC2:1.5 netbsd-3-1-RC1:1.5 netbsd-4:1.5.0.16 netbsd-4-base:1.5 netbsd-3-0-1-RELEASE:1.5 netbsd-3-0:1.5.0.10 netbsd-3-0-RELEASE:1.5 netbsd-3-0-RC6:1.5 netbsd-3-0-RC5:1.5 netbsd-3-0-RC4:1.5 netbsd-3-0-RC3:1.5 netbsd-3-0-RC2:1.5 netbsd-3-0-RC1:1.5 netbsd-2-0-3-RELEASE:1.5 netbsd-2-1:1.5.0.8 netbsd-2-1-RELEASE:1.5 netbsd-2-1-RC6:1.5 netbsd-2-1-RC5:1.5 netbsd-2-1-RC4:1.5 netbsd-2-1-RC3:1.5 netbsd-2-1-RC2:1.5 netbsd-2-1-RC1:1.5 netbsd-2-0-2-RELEASE:1.5 netbsd-3:1.5.0.6 netbsd-3-base:1.5 netbsd-2-0-1-RELEASE:1.5 netbsd-2:1.5.0.4 netbsd-2-base:1.5 netbsd-2-0-RELEASE:1.5 netbsd-2-0-RC5:1.5 netbsd-2-0-RC4:1.5 netbsd-2-0-RC3:1.5 netbsd-2-0-RC2:1.5 netbsd-2-0-RC1:1.5 netbsd-2-0:1.5.0.2 netbsd-2-0-base:1.5 netbsd-1-6-PATCH002-RELEASE:1.3 netbsd-1-6-PATCH002:1.3 netbsd-1-6-PATCH002-RC4:1.3 netbsd-1-6-PATCH002-RC3:1.3 netbsd-1-6-PATCH002-RC2:1.3 netbsd-1-6-PATCH002-RC1:1.3 netbsd-1-6-PATCH001:1.3 netbsd-1-6-PATCH001-RELEASE:1.3 netbsd-1-6-PATCH001-RC3:1.3 netbsd-1-6-PATCH001-RC2:1.3 netbsd-1-6-PATCH001-RC1:1.3 fvdl_fs64_base:1.3 netbsd-1-6-RELEASE:1.3 netbsd-1-6-RC3:1.3 netbsd-1-6-RC2:1.3 netbsd-1-6-RC1:1.3 netbsd-1-6:1.3.0.6 netbsd-1-6-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH002:1.3 netbsd-1-5-PATCH001:1.3 netbsd-1-5-RELEASE:1.3 netbsd-1-5-BETA2:1.3 netbsd-1-5-BETA:1.3 netbsd-1-5-ALPHA2:1.3 netbsd-1-5:1.3.0.4 netbsd-1-5-base:1.3 minoura-xpg4dl:1.3.0.2 minoura-xpg4dl-base:1.3; locks; strict; comment @# @; 1.8 date 2011.09.25.21.47.22; author christos; state Exp; branches; next 1.7; 1.7 date 2009.04.01.16.20.55; author martin; state Exp; branches; next 1.6; 1.6 date 2009.03.11.23.22.57; author martin; state Exp; branches; next 1.5; 1.5 date 2003.11.03.15.12.06; author briggs; state Exp; branches 1.5.40.1 1.5.42.1; next 1.4; 1.4 date 2003.10.28.06.31.28; author briggs; state Exp; branches; next 1.3; 1.3 date 2000.04.15.21.14.49; author tsarna; state Exp; branches; next 1.2; 1.2 date 2000.04.09.21.00.04; author tsarna; state Exp; branches; next 1.1; 1.1 date 2000.04.08.23.02.53; author tsarna; state Exp; branches; next ; 1.5.40.1 date 2009.03.12.23.11.32; author snj; state Exp; branches; next 1.5.40.2; 1.5.40.2 date 2009.03.12.23.26.22; author snj; state Exp; branches; next 1.5.40.3; 1.5.40.3 date 2009.04.01.21.46.18; author snj; state Exp; branches; next 1.5.40.4; 1.5.40.4 date 2009.04.01.22.08.37; author snj; state Exp; branches; next ; 1.5.42.1 date 2009.05.13.19.18.02; author jym; state Exp; branches; next ; desc @@ 1.8 log @mention kern.tty.qsize requested by Matthew Mondor. @ text @#!/sbin/sysctl -f # # $NetBSD: sysctl.conf,v 1.7 2009/04/01 16:20:55 martin Exp $ # # sysctl(8) variables to set at boot time. # Default on panic: dump core and reboot. See savecore(8) for information. # Switch this to 1 if you want to enter the kernel debugger on crashes # instead. See ddb(4) for an introduction and also try the "help" command # at the db> prompt. # If you understand the implication and want to change the behaviour before # /etc/rc.d/sysctl is run, use the kernel option DDB_ONPANIC, see options(4). ddb.onpanic?=0 # Default core name template: #kern.defcorename=%n.core # Number of kernel threads to use for NFS client #vfs.nfs.iothreads=4 # Default tty/pty character queue sizes. Should be bumped to 32K or so if # used in networking (ppp/pppoe) #kern.tty.qsize=1024 @ 1.7 log @Use the new ?= operator to set the on_panic value for the optional ddb hierachie. @ text @d3 1 a3 1 # $NetBSD: sysctl.conf,v 1.6 2009/03/11 23:22:57 martin Exp $ d20 4 @ 1.6 log @Switch the default value (if no options DDB_ONPANIC is defined) for ddb.onpanic to 1, change it back to 0 in sysctl.conf and make sure postinstall installs this setting. This avoids us trying to dump while booting from install CD, but keeps the default the same once we are far enough through /etc/rc.d. Failing earlier is unlikely to be recovered by an automatic reboot. OK: core. @ text @d3 1 a3 1 # $NetBSD: sysctl.conf,v 1.5 2003/11/03 15:12:06 briggs Exp $ d13 1 a13 1 ddb.onpanic=0 @ 1.5 log @Revert the change in default value of ipv6_v6only. Further discussion on this topic is required. It should be reintroduced and pursued in the IETF. @ text @d3 1 a3 1 # $NetBSD: sysctl.conf,v 1.4 2003/10/28 06:31:28 briggs Exp $ d7 8 @ 1.5.42.1 log @Sync with HEAD. Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html @ text @d3 1 a3 1 # $NetBSD: sysctl.conf,v 1.7 2009/04/01 16:20:55 martin Exp $ a6 8 # Default on panic: dump core and reboot. See savecore(8) for information. # Switch this to 1 if you want to enter the kernel debugger on crashes # instead. See ddb(4) for an introduction and also try the "help" command # at the db> prompt. # If you understand the implication and want to change the behaviour before # /etc/rc.d/sysctl is run, use the kernel option DDB_ONPANIC, see options(4). ddb.onpanic?=0 @ 1.5.40.1 log @Apply patch (requested by martin in ticket #563): Disable SA via sysctl.conf, not in the kernel. This improves binary compatibility for incomplete (kernel only) updates while keeping the overall effect of having SA disabled after a full update. @ text @d3 1 a3 1 # $NetBSD: sysctl.conf,v 1.5 2003/11/03 15:12:06 briggs Exp $ a6 12 # Scheduler Activations (SA) are needed only if you run an unmodified # NetBSD 4.x (or earlier) userland in a chroot (for example in pkg bulk # build sandboxes). # There is a netbsd-4 compatible libpthread.so available that you can drop # into your netbsd-4 userland instead, which avoids the need for SA. # # However, if you really need SA, enable it here by switching the line below # to 0 - THIS IS CONSIDERED A SECURITY RISK - VERY LIKELY ANY LOCAL USER WILL # BE ABLE TO CRASH YOUR SYSTEM - USE AT YOUR OWN RISK! # kern.no_sa_support=1 @ 1.5.40.2 log @Pull up following revision(s) (requested by martin in ticket #564): etc/sysctl.conf: revision 1.6 sys/ddb/db_variables.c: revision 1.42 usr.sbin/postinstall/postinstall: revision 1.91 Switch the default value (if no options DDB_ONPANIC is defined) for ddb.onpanic to 1, change it back to 0 in sysctl.conf and make sure postinstall installs this setting. This avoids us trying to dump while booting from install CD, but keeps the default the same once we are far enough through /etc/rc.d. Failing earlier is unlikely to be recovered by an automatic reboot. OK: core. @ text @d3 1 a3 1 # $NetBSD: sysctl.conf,v 1.5.40.1 2009/03/12 23:11:32 snj Exp $ a18 8 # Default on panic: dump core and reboot. See savecore(8) for information. # Switch this to 1 if you want to enter the kernel debugger on crashes # instead. See ddb(4) for an introduction and also try the "help" command # at the db> prompt. # If you understand the implication and want to change the behaviour before # /etc/rc.d/sysctl is run, use the kernel option DDB_ONPANIC, see options(4). ddb.onpanic=0 @ 1.5.40.3 log @Pull up following revision(s) (requested by martin in ticket #639): etc/sysctl.conf: revision 1.7 Use the new ?= operator to set the on_panic value for the optional ddb hierachie. @ text @d3 1 a3 1 # $NetBSD: sysctl.conf,v 1.5.40.2 2009/03/12 23:26:22 snj Exp $ d25 1 a25 1 ddb.onpanic?=0 @ 1.5.40.4 log @Apply patch (requested by martin in ticket #643): Use ?= to set kern.no_sa_support to avoid warnings. @ text @d3 1 a3 1 # $NetBSD: sysctl.conf,v 1.5.40.3 2009/04/01 21:46:18 snj Exp $ d17 1 a17 1 kern.no_sa_support?=1 @ 1.4 log @Toggle the default value of ip6_v6only. Also provide a sample sysctl to retain the existing behavior. @ text @d3 1 a3 1 # $NetBSD: sysctl.conf,v 1.3 2000/04/15 21:14:49 tsarna Exp $ a11 4 # Do not allow IPv4 packet to be delivered to AF_INET6 sockets # ftp://ftp.itojun.org/pub/paper/draft-cmetz-v6ops-v4mapped-api-harmful-00.txt #net.inet6.ip6.v6only=1 @ 1.3 log @Death to nfsiod! It is replaced by kernel threads that do the same thing. The number of kernel threads used is set with the vfs.nfs.iothreads sysctl. @ text @d3 1 a3 1 # $NetBSD: sysctl.conf,v 1.2 2000/04/09 21:00:04 tsarna Exp $ d12 4 @ 1.2 log @Improve backwards compatability and leave securelevel the old way. @ text @d3 1 a3 1 # $NetBSD: sysctl.conf,v 1.1 2000/04/08 23:02:53 tsarna Exp $ d7 5 a11 2 # default core name template: #kern.defcorename=core @ 1.1 log @The file /etc/sysctl.conf is now run with sysctl -f at boot time. This replaces the previous /etc/rc.d/sysctl. Also, the variables are now set earlier, between ipf/ipnat and the network coming up. The rc.conf defcorename and securelevel variables are no more. You can set them directly in sysctl.conf now. @ text @d1 3 a3 1 # $NetBSD$ a6 2 # Examples: some things that were previously set in rc.conf: a8 3 # Securelevel #kern.securelevel=1 @