| @@ -1,173 +1,174 @@ | | | @@ -1,173 +1,174 @@ |
1 | # | | 1 | # |
2 | # $NetBSD: GENERIC.common,v 1.23 2017/10/12 20:03:38 skrll Exp $ | | 2 | # $NetBSD: GENERIC.common,v 1.24 2017/11/28 07:24:32 skrll Exp $ |
3 | # | | 3 | # |
4 | # GENERIC evbarm kernel config (template) | | 4 | # GENERIC evbarm kernel config (template) |
5 | # | | 5 | # |
6 | | | 6 | |
7 | # estimated number of users | | 7 | # estimated number of users |
8 | | | 8 | |
9 | maxusers 32 | | 9 | maxusers 32 |
10 | | | 10 | |
11 | # Standard system options | | 11 | # Standard system options |
12 | | | 12 | |
13 | options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT | | 13 | options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT |
14 | options NTP # NTP phase/frequency locked loop | | 14 | options NTP # NTP phase/frequency locked loop |
15 | | | 15 | |
16 | # CPU options | | 16 | # CPU options |
17 | options PMAPCOUNTERS | | 17 | options PMAPCOUNTERS |
18 | | | 18 | |
19 | # Architecture options | | 19 | # Architecture options |
20 | | | 20 | |
21 | # File systems | | 21 | # File systems |
22 | include "conf/filesystems.config" | | 22 | include "conf/filesystems.config" |
23 | no file-system LFS | | 23 | no file-system LFS |
24 | no file-system CODA | | 24 | no file-system CODA |
25 | no pseudo-device vcoda | | 25 | no pseudo-device vcoda |
26 | | | 26 | |
27 | # File system options | | 27 | # File system options |
28 | #options QUOTA # legacy UFS quotas | | 28 | #options QUOTA # legacy UFS quotas |
29 | #options QUOTA2 # new, in-filesystem UFS quotas | | 29 | #options QUOTA2 # new, in-filesystem UFS quotas |
30 | #options DISKLABEL_EI # disklabel Endian Independent support | | 30 | #options DISKLABEL_EI # disklabel Endian Independent support |
31 | options FFS_EI # FFS Endian Independent support | | 31 | options FFS_EI # FFS Endian Independent support |
32 | options NFSSERVER | | 32 | options NFSSERVER |
33 | options WAPBL # File system journaling support | | 33 | options WAPBL # File system journaling support |
34 | #options FFS_NO_SNAPSHOT # No FFS snapshot support | | 34 | #options FFS_NO_SNAPSHOT # No FFS snapshot support |
35 | | | 35 | |
36 | # Networking options | | 36 | # Networking options |
37 | | | 37 | |
38 | #options GATEWAY # packet forwarding | | 38 | #options GATEWAY # packet forwarding |
39 | options INET # IP + ICMP + TCP + UDP | | 39 | options INET # IP + ICMP + TCP + UDP |
40 | options INET6 # IPV6 | | 40 | options INET6 # IPV6 |
41 | options IPSEC # IP security | | 41 | options IPSEC # IP security |
42 | #options IPSEC_DEBUG # debug for IP security | | 42 | #options IPSEC_DEBUG # debug for IP security |
43 | #options MROUTING # IP multicast routing | | 43 | #options MROUTING # IP multicast routing |
44 | #options PIM # Protocol Independent Multicast | | 44 | #options PIM # Protocol Independent Multicast |
45 | #options NETATALK # AppleTalk networking | | 45 | #options NETATALK # AppleTalk networking |
46 | #options PPP_BSDCOMP # BSD-Compress compression support for PPP | | 46 | #options PPP_BSDCOMP # BSD-Compress compression support for PPP |
47 | #options PPP_DEFLATE # Deflate compression support for PPP | | 47 | #options PPP_DEFLATE # Deflate compression support for PPP |
48 | #options PPP_FILTER # Active filter support for PPP (requires bpf) | | 48 | #options PPP_FILTER # Active filter support for PPP (requires bpf) |
49 | #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG | | 49 | #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG |
50 | | | 50 | |
51 | # JIT compiler for bpfilter | | 51 | # JIT compiler for bpfilter |
52 | #options SLJIT | | 52 | #options SLJIT |
53 | options BPFJIT | | 53 | options BPFJIT |
54 | | | 54 | |
55 | #options NFS_BOOT_BOOTP | | 55 | #options NFS_BOOT_BOOTP |
56 | options NFS_BOOT_DHCP | | 56 | options NFS_BOOT_DHCP |
57 | #options NFS_BOOT_BOOTSTATIC | | 57 | #options NFS_BOOT_BOOTSTATIC |
58 | #options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\"" | | 58 | #options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\"" |
59 | #options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\"" | | 59 | #options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\"" |
60 | #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" | | 60 | #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" |
61 | #options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\"" | | 61 | #options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\"" |
62 | #options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\"" | | 62 | #options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\"" |
63 | | | 63 | |
64 | options NFS_BOOT_RWSIZE=1024 | | 64 | options NFS_BOOT_RWSIZE=1024 |
65 | | | 65 | |
66 | # Compatibility options | | 66 | # Compatibility options |
67 | | | 67 | |
68 | include "conf/compat_netbsd60.config" | | 68 | include "conf/compat_netbsd60.config" |
69 | options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries | | 69 | options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries |
70 | | | 70 | |
71 | # Shared memory options | | 71 | # Shared memory options |
72 | | | 72 | |
73 | options SYSVMSG # System V-like message queues | | 73 | options SYSVMSG # System V-like message queues |
74 | options SYSVSEM # System V-like semaphores | | 74 | options SYSVSEM # System V-like semaphores |
75 | #options SEMMNI=10 # number of semaphore identifiers | | 75 | #options SEMMNI=10 # number of semaphore identifiers |
76 | #options SEMMNS=60 # number of semaphores in system | | 76 | #options SEMMNS=60 # number of semaphores in system |
77 | #options SEMUME=10 # max number of undo entries per process | | 77 | #options SEMUME=10 # max number of undo entries per process |
78 | #options SEMMNU=30 # number of undo structures in system | | 78 | #options SEMMNU=30 # number of undo structures in system |
79 | options SYSVSHM # System V-like memory sharing | | 79 | options SYSVSHM # System V-like memory sharing |
80 | | | 80 | |
81 | # Device options | | 81 | # Device options |
82 | | | 82 | |
83 | #options MEMORY_DISK_HOOKS # boottime setup of ramdisk | | 83 | #options MEMORY_DISK_HOOKS # boottime setup of ramdisk |
84 | #options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks | | 84 | #options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks |
85 | #options MEMORY_DISK_DYNAMIC | | 85 | #options MEMORY_DISK_DYNAMIC |
86 | #options MINIROOTSIZE=1000 # Size in blocks | | 86 | #options MINIROOTSIZE=1000 # Size in blocks |
87 | #options MEMORY_DISK_IS_ROOT # use memory disk as root | | 87 | #options MEMORY_DISK_IS_ROOT # use memory disk as root |
88 | #options MEMORY_DISK_FBFLAGS=RB_SINGLE | | 88 | #options MEMORY_DISK_FBFLAGS=RB_SINGLE |
89 | | | 89 | |
90 | # Miscellaneous kernel options | | 90 | # Miscellaneous kernel options |
91 | options KTRACE # system call tracing, a la ktrace(1) | | 91 | options KTRACE # system call tracing, a la ktrace(1) |
92 | #options SCSIVERBOSE # Verbose SCSI errors | | 92 | #options SCSIVERBOSE # Verbose SCSI errors |
93 | #options MIIVERBOSE # Verbose MII autoconfuration messages | | 93 | #options MIIVERBOSE # Verbose MII autoconfuration messages |
94 | #options USERCONF # userconf(4) support | | 94 | #options USERCONF # userconf(4) support |
95 | #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) | | 95 | #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) |
96 | | | 96 | |
97 | # Wedge support | | 97 | # Wedge support |
98 | options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances | | 98 | options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances |
99 | options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges | | 99 | options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges |
100 | | | 100 | |
101 | # Alternate buffer queue strategies for better responsiveness under high | | 101 | # Alternate buffer queue strategies for better responsiveness under high |
102 | # disk I/O load. | | 102 | # disk I/O load. |
103 | #options BUFQ_READPRIO | | 103 | #options BUFQ_READPRIO |
104 | options BUFQ_PRIOCSCAN | | 104 | options BUFQ_PRIOCSCAN |
105 | | | 105 | |
106 | # Development and Debugging options | | 106 | # Development and Debugging options |
107 | | | 107 | |
108 | #options PERFCTRS # performance counters | | 108 | #options PERFCTRS # performance counters |
109 | options DIAGNOSTIC # internal consistency checks | | 109 | options DIAGNOSTIC # internal consistency checks |
110 | #options DEBUG | | 110 | #options DEBUG |
111 | options KDTRACE_HOOKS # kernel DTrace hooks | | 111 | options KDTRACE_HOOKS # kernel DTrace hooks |
112 | #options LOCKDEBUG | | 112 | #options LOCKDEBUG |
113 | #options PMAP_DEBUG # Enable pmap_debug_level code | | 113 | #options PMAP_DEBUG # Enable pmap_debug_level code |
114 | #options IPKDB # remote kernel debugging | | 114 | #options IPKDB # remote kernel debugging |
115 | #options VERBOSE_INIT_ARM # verbose bootstraping messages | | 115 | #options VERBOSE_INIT_ARM # verbose bootstraping messages |
116 | options DDB # in-kernel debugger | | 116 | options DDB # in-kernel debugger |
117 | options DDB_ONPANIC=1 | | 117 | options DDB_ONPANIC=1 |
118 | options DDB_HISTORY_SIZE=100 # Enable history editing in DDB | | 118 | options DDB_HISTORY_SIZE=100 # Enable history editing in DDB |
119 | #options DDB_COMMANDONENTER="bt" | | 119 | #options DDB_COMMANDONENTER="bt" |
120 | #options KGDB | | 120 | #options KGDB |
121 | | | 121 | |
122 | # Pseudo-Devices | | 122 | # Pseudo-Devices |
123 | | | 123 | |
124 | # crypto pseudo-devices | | 124 | # crypto pseudo-devices |
125 | pseudo-device crypto # /dev/crypto device | | 125 | pseudo-device crypto # /dev/crypto device |
126 | pseudo-device swcrypto # software crypto implementation | | 126 | pseudo-device swcrypto # software crypto implementation |
127 | | | 127 | |
128 | # disk/mass storage pseudo-devices | | 128 | # disk/mass storage pseudo-devices |
129 | #pseudo-device md # memory disk device (ramdisk) | | 129 | #pseudo-device md # memory disk device (ramdisk) |
130 | pseudo-device vnd # disk-like interface to files | | 130 | pseudo-device vnd # disk-like interface to files |
131 | #pseudo-device fss # file system snapshot device | | 131 | #pseudo-device fss # file system snapshot device |
132 | pseudo-device drvctl # driver control | | 132 | pseudo-device drvctl # driver control |
133 | | | 133 | |
134 | # network pseudo-devices | | 134 | # network pseudo-devices |
135 | pseudo-device bpfilter # Berkeley packet filter | | 135 | pseudo-device bpfilter # Berkeley packet filter |
136 | pseudo-device loop # network loopback | | 136 | pseudo-device loop # network loopback |
137 | pseudo-device bridge # simple inter-network bridging | | 137 | pseudo-device bridge # simple inter-network bridging |
138 | pseudo-device vlan # IEEE 802.1q encapsulation | | 138 | pseudo-device vlan # IEEE 802.1q encapsulation |
139 | pseudo-device ppp # Point-to-Point Protocol | | 139 | pseudo-device ppp # Point-to-Point Protocol |
140 | pseudo-device pppoe # PPP over Ethernet (RFC 2516) | | 140 | pseudo-device pppoe # PPP over Ethernet (RFC 2516) |
141 | pseudo-device tun # network tunneling over tty | | 141 | pseudo-device tun # network tunneling over tty |
142 | pseudo-device tap # virtual Ethernet | | 142 | pseudo-device tap # virtual Ethernet |
| | | 143 | pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933) |
143 | pseudo-device gre # generic L3 over IP tunnel | | 144 | pseudo-device gre # generic L3 over IP tunnel |
144 | pseudo-device npf # NPF packet filter | | 145 | pseudo-device npf # NPF packet filter |
145 | | | 146 | |
146 | # miscellaneous pseudo-devices | | 147 | # miscellaneous pseudo-devices |
147 | pseudo-device pty # pseudo-terminals | | 148 | pseudo-device pty # pseudo-terminals |
148 | #options RND_COM | | 149 | #options RND_COM |
149 | #pseudo-device clockctl # user control of clock subsystem | | 150 | #pseudo-device clockctl # user control of clock subsystem |
150 | pseudo-device ksyms # /dev/ksyms | | 151 | pseudo-device ksyms # /dev/ksyms |
151 | pseudo-device lockstat # lock profiling | | 152 | pseudo-device lockstat # lock profiling |
152 | | | 153 | |
153 | options FILEASSOC # fileassoc(9) - required for Veriexec | | 154 | options FILEASSOC # fileassoc(9) - required for Veriexec |
154 | # and PAX_SEGVGUARD | | 155 | # and PAX_SEGVGUARD |
155 | | | 156 | |
156 | # Veriexec | | 157 | # Veriexec |
157 | # | | 158 | # |
158 | # a pseudo device needed for veriexec | | 159 | # a pseudo device needed for veriexec |
159 | pseudo-device veriexec | | 160 | pseudo-device veriexec |
160 | # | | 161 | # |
161 | # Uncomment the fingerprint methods below that are desired. Note that | | 162 | # Uncomment the fingerprint methods below that are desired. Note that |
162 | # removing fingerprint methods will have almost no impact on the kernel | | 163 | # removing fingerprint methods will have almost no impact on the kernel |
163 | # code size. | | 164 | # code size. |
164 | # | | 165 | # |
165 | options VERIFIED_EXEC_FP_SHA256 | | 166 | options VERIFIED_EXEC_FP_SHA256 |
166 | options VERIFIED_EXEC_FP_SHA384 | | 167 | options VERIFIED_EXEC_FP_SHA384 |
167 | options VERIFIED_EXEC_FP_SHA512 | | 168 | options VERIFIED_EXEC_FP_SHA512 |
168 | | | 169 | |
169 | options PAX_ASLR_DEBUG=1 # PaX ASLR debug | | 170 | options PAX_ASLR_DEBUG=1 # PaX ASLR debug |
170 | options PAX_SEGVGUARD=0 # PaX Segmentation fault guard | | 171 | options PAX_SEGVGUARD=0 # PaX Segmentation fault guard |
171 | options PAX_MPROTECT=1 # PaX mprotect(2) restrictions | | 172 | options PAX_MPROTECT=1 # PaX mprotect(2) restrictions |
172 | options PAX_MPROTECT_DEBUG=1 # PaX mprotect debug | | 173 | options PAX_MPROTECT_DEBUG=1 # PaX mprotect debug |
173 | options PAX_ASLR=1 # PaX Address Space Layout Randomization | | 174 | options PAX_ASLR=1 # PaX Address Space Layout Randomization |