[BACK]Return to sysctl.conf CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc

File: [cvs.NetBSD.org] / src / etc / sysctl.conf (download)

Revision 1.5.40.4, Wed Apr 1 22:08:37 2009 UTC (10 years, 4 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.5.40.3: +2 -2 lines

Apply patch (requested by martin in ticket #643):
Use ?= to set kern.no_sa_support to avoid warnings.

#!/sbin/sysctl -f
#
# $NetBSD: sysctl.conf,v 1.5.40.4 2009/04/01 22:08:37 snj Exp $
#
# sysctl(8) variables to set at boot time.

# 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

# 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