xref: /netbsd-src/sys/conf/std (revision b5f8d2f930b7ef226d4dc1b4f7017e998c0e5cde)
1# $NetBSD: std,v 1.24 2024/03/26 10:56:34 riastradh Exp $
2#
3# standard MI 'options'
4#
5# this file is for options which can't be off-by-default for some reasons.
6# "it's commonly used" is NOT a good reason to enable options here.
7
8#
9# Always include "kern" attribute (module).  Other attributes don't need to
10# depend on "kern".
11#
12select	kern
13
14# Always include the "vfs" attribute (module).  Although all of the
15# ufs/xxx file systems depend on the vfs attribute, it is not required
16# that any file system actually be built-in to the kernel.  (At least
17# on some architectures, file system modules can be loaded at boot
18# time.)
19
20select vfs
21
22select	net		# XXX Clean up dependency
23
24# the following options are on-by-default to keep
25# kernel config file compatibility.
26options	VMSWAP		# Swap device/file support
27options	BUFQ_FCFS	# First-come First-serve strategy
28options	BUFQ_DISKSORT	# Traditional min seek sort strategy
29options	RFC2292		# Previous version of Adv. Sockets API for IPv6
30options	PTRACE		# Include ptrace(2) syscall
31options	PTRACE_HOOKS	# Include ptrace hooks
32options	COREDUMP	# allow processes to coredump.
33options	AIO		# POSIX asynchronous I/O
34options	MQUEUE		# POSIX message queues
35
36# Common compatibility functions. They happen to be needed even when
37# no compatibility option is explicitly enabled.
38#
39options        COMPAT_UTILS
40
41#
42# Security model.
43#
44options	secmodel_bsd44	# Traditional 4.4BSD security model
45
46#
47# Scheduling algorithm
48#
49options	SCHED_4BSD
50
51pseudo-device	cpuctl
52
53#
54# /dev/random and /dev/urandom interfaces.
55#
56# This could be taken out of conf/std now that the entropy pool and
57# kernel random number generation API is part of kern proper --
58# provided that some care is taken in ensuring that we copy & paste
59# this line in essentially every kernel config, because many
60# applications, even embedded ones, will likely rely in some way or
61# other on reading from /dev/urandom.
62#
63pseudo-device	rnd
64