1 # $NetBSD: std,v 1.26 2026/07/18 01:06:15 thorpej 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 VMSWAP_ENCRYPTION # Swap encryption support 28 options BUFQ_FCFS # First-come First-serve strategy 29 options BUFQ_DISKSORT # Traditional min seek sort strategy 30 options RFC2292 # Previous version of Adv. Sockets API for IPv6 31 options PTRACE # Include ptrace(2) syscall 32 options PTRACE_HOOKS # Include ptrace hooks 33 options COREDUMP # allow processes to coredump. 34 options AIO # POSIX asynchronous I/O 35 options MQUEUE # POSIX message queues 36 37 # Common compatibility functions. They happen to be needed even when 38 # no compatibility option is explicitly enabled. 39 # 40 options COMPAT_UTILS 41 42 # 43 # Security model. 44 # 45 options secmodel_bsd44 # Traditional 4.4BSD security model 46 options secmodel_extensions # Long-documented, thus not really optional 47 48 # 49 # Scheduling algorithm 50 # 51 options SCHED_4BSD 52 53 pseudo-device cpuctl 54 55 # 56 # /dev/random and /dev/urandom interfaces. 57 # 58 # This could be taken out of conf/std now that the entropy pool and 59 # kernel random number generation API is part of kern proper -- 60 # provided that some care is taken in ensuring that we copy & paste 61 # this line in essentially every kernel config, because many 62 # applications, even embedded ones, will likely rely in some way or 63 # other on reading from /dev/urandom. 64 # 65 pseudo-device rnd 66