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