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