Home | History | Annotate | Line # | Download | only in conf
      1 # $NetBSD: std,v 1.25 2026/03/29 12:02:29 tls 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 options secmodel_extensions	# Long-documented, thus not really optional
     46 
     47 #
     48 # Scheduling algorithm
     49 #
     50 options	SCHED_4BSD
     51 
     52 pseudo-device	cpuctl
     53 
     54 #
     55 # /dev/random and /dev/urandom interfaces.
     56 #
     57 # This could be taken out of conf/std now that the entropy pool and
     58 # kernel random number generation API is part of kern proper --
     59 # provided that some care is taken in ensuring that we copy & paste
     60 # this line in essentially every kernel config, because many
     61 # applications, even embedded ones, will likely rely in some way or
     62 # other on reading from /dev/urandom.
     63 #
     64 pseudo-device	rnd
     65