std revision 1.24 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 #
12 select 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
20 select vfs
21
22 select net # XXX Clean up dependency
23
24 # the following options are on-by-default to keep
25 # kernel config file compatibility.
26 options VMSWAP # Swap device/file support
27 options BUFQ_FCFS # First-come First-serve strategy
28 options BUFQ_DISKSORT # Traditional min seek sort strategy
29 options RFC2292 # Previous version of Adv. Sockets API for IPv6
30 options PTRACE # Include ptrace(2) syscall
31 options PTRACE_HOOKS # Include ptrace hooks
32 options COREDUMP # allow processes to coredump.
33 options AIO # POSIX asynchronous I/O
34 options MQUEUE # POSIX message queues
35
36 # Common compatibility functions. They happen to be needed even when
37 # no compatibility option is explicitly enabled.
38 #
39 options COMPAT_UTILS
40
41 #
42 # Security model.
43 #
44 options secmodel_bsd44 # Traditional 4.4BSD security model
45
46 #
47 # Scheduling algorithm
48 #
49 options SCHED_4BSD
50
51 pseudo-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 #
63 pseudo-device rnd
64