1*b5f8d2f9Sriastradh# $NetBSD: std,v 1.24 2024/03/26 10:56:34 riastradh Exp $ 20576f5e5Syamt# 30576f5e5Syamt# standard MI 'options' 40576f5e5Syamt# 50576f5e5Syamt# this file is for options which can't be off-by-default for some reasons. 60576f5e5Syamt# "it's commonly used" is NOT a good reason to enable options here. 7a901cfd7Syamt 83da6b6ccSuebayasi# 93da6b6ccSuebayasi# Always include "kern" attribute (module). Other attributes don't need to 103da6b6ccSuebayasi# depend on "kern". 113da6b6ccSuebayasi# 12c42523f4Suebayasiselect kern 13c42523f4Suebayasi 1478da7b9dSpgoyette# Always include the "vfs" attribute (module). Although all of the 1578da7b9dSpgoyette# ufs/xxx file systems depend on the vfs attribute, it is not required 1678da7b9dSpgoyette# that any file system actually be built-in to the kernel. (At least 1778da7b9dSpgoyette# on some architectures, file system modules can be loaded at boot 1878da7b9dSpgoyette# time.) 1978da7b9dSpgoyette 2078da7b9dSpgoyetteselect vfs 2178da7b9dSpgoyette 22c42523f4Suebayasiselect net # XXX Clean up dependency 236fb100ceSuebayasi 24a901cfd7Syamt# the following options are on-by-default to keep 25a901cfd7Syamt# kernel config file compatibility. 26a901cfd7Syamtoptions VMSWAP # Swap device/file support 277b343ec6Syamtoptions BUFQ_FCFS # First-come First-serve strategy 287b343ec6Syamtoptions BUFQ_DISKSORT # Traditional min seek sort strategy 29de8db475Srpaulooptions RFC2292 # Previous version of Adv. Sockets API for IPv6 30a60b9909Spgoyetteoptions PTRACE # Include ptrace(2) syscall 31a60b9909Spgoyetteoptions PTRACE_HOOKS # Include ptrace hooks 329e0ec481Smattoptions COREDUMP # allow processes to coredump. 33d3d0b437Sadoptions AIO # POSIX asynchronous I/O 34d3d0b437Sadoptions MQUEUE # POSIX message queues 355f7169ccSelad 36d91f98a8Spgoyette# Common compatibility functions. They happen to be needed even when 37d91f98a8Spgoyette# no compatibility option is explicitly enabled. 38d91f98a8Spgoyette# 39d91f98a8Spgoyetteoptions COMPAT_UTILS 40d91f98a8Spgoyette 415f7169ccSelad# 425f7169ccSelad# Security model. 435f7169ccSelad# 445f7169ccSeladoptions secmodel_bsd44 # Traditional 4.4BSD security model 45f0301095Syamt 46f0301095Syamt# 47f0301095Syamt# Scheduling algorithm 48f0301095Syamt# 49f0301095Syamtoptions SCHED_4BSD 5018af8ee9Sad 5118af8ee9Sadpseudo-device cpuctl 528a012bd8Stls 538a012bd8Stls# 54*b5f8d2f9Sriastradh# /dev/random and /dev/urandom interfaces. 55*b5f8d2f9Sriastradh# 56*b5f8d2f9Sriastradh# This could be taken out of conf/std now that the entropy pool and 57*b5f8d2f9Sriastradh# kernel random number generation API is part of kern proper -- 58*b5f8d2f9Sriastradh# provided that some care is taken in ensuring that we copy & paste 59*b5f8d2f9Sriastradh# this line in essentially every kernel config, because many 60*b5f8d2f9Sriastradh# applications, even embedded ones, will likely rely in some way or 61*b5f8d2f9Sriastradh# other on reading from /dev/urandom. 628a012bd8Stls# 638a012bd8Stlspseudo-device rnd 64