NetBSD/sys/conf/std

60 lines
1.7 KiB
Plaintext

# $NetBSD: std,v 1.23 2019/01/27 02:08:41 pgoyette Exp $
#
# standard MI 'options'
#
# this file is for options which can't be off-by-default for some reasons.
# "it's commonly used" is NOT a good reason to enable options here.
#
# Always include "kern" attribute (module). Other attributes don't need to
# depend on "kern".
#
select kern
# Always include the "vfs" attribute (module). Although all of the
# ufs/xxx file systems depend on the vfs attribute, it is not required
# that any file system actually be built-in to the kernel. (At least
# on some architectures, file system modules can be loaded at boot
# time.)
select vfs
select net # XXX Clean up dependency
# the following options are on-by-default to keep
# kernel config file compatibility.
options VMSWAP # Swap device/file support
options BUFQ_FCFS # First-come First-serve strategy
options BUFQ_DISKSORT # Traditional min seek sort strategy
options RFC2292 # Previous version of Adv. Sockets API for IPv6
options PTRACE # Include ptrace(2) syscall
options PTRACE_HOOKS # Include ptrace hooks
options COREDUMP # allow processes to coredump.
options AIO # POSIX asynchronous I/O
options MQUEUE # POSIX message queues
# Common compatibility functions. They happen to be needed even when
# no compatibility option is explicitly enabled.
#
options COMPAT_UTILS
#
# Security model.
#
options secmodel_bsd44 # Traditional 4.4BSD security model
#
# Scheduling algorithm
#
options SCHED_4BSD
pseudo-device cpuctl
#
# Kernel entropy pool and random-number generator pseudodevice.
# The pseudodevice might stop being "std" when the two are torn
# apart some day but the entropy pool itself never will (they are
# presently implemented in the same source file)
#
pseudo-device rnd