Kconfig (11126c611e10abb18b6f1ed0300c0548c3906b54) Kconfig (4520c6a49af833c83de6c74525ce8e07bbe6d783)
1config ARCH
2 string
3 option env="ARCH"
4
5config KERNELVERSION
6 string
7 option env="KERNELVERSION"
8

--- 253 unchanged lines hidden (view full) ---

262 If unsure, say Y.
263
264config POSIX_MQUEUE_SYSCTL
265 bool
266 depends on POSIX_MQUEUE
267 depends on SYSCTL
268 default y
269
1config ARCH
2 string
3 option env="ARCH"
4
5config KERNELVERSION
6 string
7 option env="KERNELVERSION"
8

--- 253 unchanged lines hidden (view full) ---

262 If unsure, say Y.
263
264config POSIX_MQUEUE_SYSCTL
265 bool
266 depends on POSIX_MQUEUE
267 depends on SYSCTL
268 default y
269
270config FHANDLE
271 bool "open by fhandle syscalls"
272 select EXPORTFS
273 help
274 If you say Y here, a user level program will be able to map
275 file names to handle and then later use the handle for
276 different file system operations. This is useful in implementing
277 userspace file servers, which now track files using handles instead
278 of names. The handle would remain the same even if file names
279 get renamed. Enables open_by_handle_at(2) and name_to_handle_at(2)
280 syscalls.
281
282config AUDIT
283 bool "Auditing support"
284 depends on NET
285 help
286 Enable auditing infrastructure that can be used with another
287 kernel subsystem, such as SELinux (which requires this for
288 logging of avc messages output). Does not do system-call
289 auditing without CONFIG_AUDITSYSCALL.
290
291config AUDITSYSCALL
292 bool "Enable system-call auditing support"
293 depends on AUDIT && (X86 || PPC || S390 || IA64 || UML || SPARC64 || SUPERH || (ARM && AEABI && !OABI_COMPAT))
294 default y if SECURITY_SELINUX
295 help
296 Enable low-overhead system-call auditing infrastructure that
297 can be used independently or with another kernel subsystem,
298 such as SELinux.
299
300config AUDIT_WATCH
301 def_bool y
302 depends on AUDITSYSCALL
303 select FSNOTIFY
304
305config AUDIT_TREE
306 def_bool y
307 depends on AUDITSYSCALL
308 select FSNOTIFY
309
310config AUDIT_LOGINUID_IMMUTABLE
311 bool "Make audit loginuid immutable"
312 depends on AUDIT
313 help
314 The config option toggles if a task setting its loginuid requires
315 CAP_SYS_AUDITCONTROL or if that task should require no special permissions
316 but should instead only allow setting its loginuid if it was never
317 previously set. On systems which use systemd or a similar central
318 process to restart login services this should be set to true. On older
319 systems in which an admin would typically have to directly stop and
320 start processes this should be set to false. Setting this to true allows
321 one to drop potentially dangerous capabilites from the login tasks,
322 but may not be backwards compatible with older init systems.
323
324source "kernel/irq/Kconfig"
325source "kernel/time/Kconfig"
326
327menu "CPU/Task time and stats accounting"
328
329choice
330 prompt "Cputime accounting"
331 default TICK_CPU_ACCOUNTING if !PPC64
332 default VIRT_CPU_ACCOUNTING if PPC64
333
334# Kind of a stub config for the pure tick based cputime accounting
335config TICK_CPU_ACCOUNTING
336 bool "Simple tick based cputime accounting"
337 depends on !S390
338 help
339 This is the basic tick based cputime accounting that maintains
340 statistics about user, system and idle time spent on per jiffies
341 granularity.
342
343 If unsure, say Y.
344
345config VIRT_CPU_ACCOUNTING
346 bool "Deterministic task and CPU time accounting"
347 depends on HAVE_VIRT_CPU_ACCOUNTING
348 help
349 Select this option to enable more accurate task and CPU time
350 accounting. This is done by reading a CPU counter on each
351 kernel entry and exit and on transitions within the kernel
352 between system, softirq and hardirq state, so there is a
353 small performance impact. In the case of s390 or IBM POWER > 5,
354 this also enables accounting of stolen time on logically-partitioned
355 systems.
356
357config IRQ_TIME_ACCOUNTING
358 bool "Fine granularity task level IRQ time accounting"
359 depends on HAVE_IRQ_TIME_ACCOUNTING
360 help
361 Select this option to enable fine granularity task irq time
362 accounting. This is done by reading a timestamp on each
363 transitions between softirq and hardirq state, so there can be a
364 small performance impact.
365
366 If in doubt, say N here.
367
368endchoice
369
370config BSD_PROCESS_ACCT
371 bool "BSD Process Accounting"
372 help
373 If you say Y here, a user level program will be able to instruct the
374 kernel (via a special system call) to write process accounting
375 information to a file: whenever a process exits, information about
376 that process will be appended to the file by the kernel. The
377 information includes things such as creation time, owning user,

--- 9 unchanged lines hidden (view full) ---

387 help
388 If you say Y here, the process accounting information is written
389 in a new file format that also logs the process IDs of each
390 process and it's parent. Note that this file format is incompatible
391 with previous v0/v1/v2 file formats, so you will need updated tools
392 for processing it. A preliminary version of these tools is available
393 at <http://www.gnu.org/software/acct/>.
394
270config BSD_PROCESS_ACCT
271 bool "BSD Process Accounting"
272 help
273 If you say Y here, a user level program will be able to instruct the
274 kernel (via a special system call) to write process accounting
275 information to a file: whenever a process exits, information about
276 that process will be appended to the file by the kernel. The
277 information includes things such as creation time, owning user,

--- 9 unchanged lines hidden (view full) ---

287 help
288 If you say Y here, the process accounting information is written
289 in a new file format that also logs the process IDs of each
290 process and it's parent. Note that this file format is incompatible
291 with previous v0/v1/v2 file formats, so you will need updated tools
292 for processing it. A preliminary version of these tools is available
293 at <http://www.gnu.org/software/acct/>.
294
295config FHANDLE
296 bool "open by fhandle syscalls"
297 select EXPORTFS
298 help
299 If you say Y here, a user level program will be able to map
300 file names to handle and then later use the handle for
301 different file system operations. This is useful in implementing
302 userspace file servers, which now track files using handles instead
303 of names. The handle would remain the same even if file names
304 get renamed. Enables open_by_handle_at(2) and name_to_handle_at(2)
305 syscalls.
306
395config TASKSTATS
396 bool "Export task/process statistics through netlink (EXPERIMENTAL)"
397 depends on NET
398 default n
399 help
400 Export selected statistics for tasks/processes through the
401 generic netlink interface. Unlike BSD process accounting, the
402 statistics are available during the lifetime of tasks/processes as

--- 26 unchanged lines hidden (view full) ---

429 bool "Enable per-task storage I/O accounting (EXPERIMENTAL)"
430 depends on TASK_XACCT
431 help
432 Collect information on the number of bytes of storage I/O which this
433 task has caused.
434
435 Say N if unsure.
436
307config TASKSTATS
308 bool "Export task/process statistics through netlink (EXPERIMENTAL)"
309 depends on NET
310 default n
311 help
312 Export selected statistics for tasks/processes through the
313 generic netlink interface. Unlike BSD process accounting, the
314 statistics are available during the lifetime of tasks/processes as

--- 26 unchanged lines hidden (view full) ---

341 bool "Enable per-task storage I/O accounting (EXPERIMENTAL)"
342 depends on TASK_XACCT
343 help
344 Collect information on the number of bytes of storage I/O which this
345 task has caused.
346
347 Say N if unsure.
348
437endmenu # "CPU/Task time and stats accounting"
349config AUDIT
350 bool "Auditing support"
351 depends on NET
352 help
353 Enable auditing infrastructure that can be used with another
354 kernel subsystem, such as SELinux (which requires this for
355 logging of avc messages output). Does not do system-call
356 auditing without CONFIG_AUDITSYSCALL.
438
357
358config AUDITSYSCALL
359 bool "Enable system-call auditing support"
360 depends on AUDIT && (X86 || PPC || S390 || IA64 || UML || SPARC64 || SUPERH || (ARM && AEABI && !OABI_COMPAT))
361 default y if SECURITY_SELINUX
362 help
363 Enable low-overhead system-call auditing infrastructure that
364 can be used independently or with another kernel subsystem,
365 such as SELinux.
366
367config AUDIT_WATCH
368 def_bool y
369 depends on AUDITSYSCALL
370 select FSNOTIFY
371
372config AUDIT_TREE
373 def_bool y
374 depends on AUDITSYSCALL
375 select FSNOTIFY
376
377config AUDIT_LOGINUID_IMMUTABLE
378 bool "Make audit loginuid immutable"
379 depends on AUDIT
380 help
381 The config option toggles if a task setting its loginuid requires
382 CAP_SYS_AUDITCONTROL or if that task should require no special permissions
383 but should instead only allow setting its loginuid if it was never
384 previously set. On systems which use systemd or a similar central
385 process to restart login services this should be set to true. On older
386 systems in which an admin would typically have to directly stop and
387 start processes this should be set to false. Setting this to true allows
388 one to drop potentially dangerous capabilites from the login tasks,
389 but may not be backwards compatible with older init systems.
390
391source "kernel/irq/Kconfig"
392source "kernel/time/Kconfig"
393
439menu "RCU Subsystem"
440
441choice
442 prompt "RCU Implementation"
443 default TREE_RCU
444
445config TREE_RCU
446 bool "Tree-based hierarchical RCU"

--- 34 unchanged lines hidden (view full) ---

481endchoice
482
483config PREEMPT_RCU
484 def_bool ( TREE_PREEMPT_RCU || TINY_PREEMPT_RCU )
485 help
486 This option enables preemptible-RCU code that is common between
487 the TREE_PREEMPT_RCU and TINY_PREEMPT_RCU implementations.
488
394menu "RCU Subsystem"
395
396choice
397 prompt "RCU Implementation"
398 default TREE_RCU
399
400config TREE_RCU
401 bool "Tree-based hierarchical RCU"

--- 34 unchanged lines hidden (view full) ---

436endchoice
437
438config PREEMPT_RCU
439 def_bool ( TREE_PREEMPT_RCU || TINY_PREEMPT_RCU )
440 help
441 This option enables preemptible-RCU code that is common between
442 the TREE_PREEMPT_RCU and TINY_PREEMPT_RCU implementations.
443
489config RCU_USER_QS
490 bool "Consider userspace as in RCU extended quiescent state"
491 depends on HAVE_RCU_USER_QS && SMP
492 help
493 This option sets hooks on kernel / userspace boundaries and
494 puts RCU in extended quiescent state when the CPU runs in
495 userspace. It means that when a CPU runs in userspace, it is
496 excluded from the global RCU state machine and thus doesn't
497 to keep the timer tick on for RCU.
498
499config RCU_USER_QS_FORCE
500 bool "Force userspace extended QS by default"
501 depends on RCU_USER_QS
502 help
503 Set the hooks in user/kernel boundaries by default in order to
504 test this feature that treats userspace as an extended quiescent
505 state until we have a real user like a full adaptive nohz option.
506
507config RCU_FANOUT
508 int "Tree-based hierarchical RCU fanout value"
509 range 2 64 if 64BIT
510 range 2 32 if !64BIT
511 depends on TREE_RCU || TREE_PREEMPT_RCU
512 default 64 if 64BIT
513 default 32 if !64BIT
514 help

--- 466 unchanged lines hidden (view full) ---

981config UIDGID_CONVERTED
982 # True if all of the selected software conmponents are known
983 # to have uid_t and gid_t converted to kuid_t and kgid_t
984 # where appropriate and are otherwise safe to use with
985 # the user namespace.
986 bool
987 default y
988
444config RCU_FANOUT
445 int "Tree-based hierarchical RCU fanout value"
446 range 2 64 if 64BIT
447 range 2 32 if !64BIT
448 depends on TREE_RCU || TREE_PREEMPT_RCU
449 default 64 if 64BIT
450 default 32 if !64BIT
451 help

--- 466 unchanged lines hidden (view full) ---

918config UIDGID_CONVERTED
919 # True if all of the selected software conmponents are known
920 # to have uid_t and gid_t converted to kuid_t and kgid_t
921 # where appropriate and are otherwise safe to use with
922 # the user namespace.
923 bool
924 default y
925
926 # List of kernel pieces that need user namespace work
927 # Features
928 depends on SYSVIPC = n
929 depends on IMA = n
930 depends on EVM = n
931 depends on KEYS = n
932 depends on AUDIT = n
933 depends on AUDITSYSCALL = n
934 depends on TASKSTATS = n
935 depends on TRACING = n
936 depends on FS_POSIX_ACL = n
937 depends on QUOTA = n
938 depends on QUOTACTL = n
939 depends on DEBUG_CREDENTIALS = n
940 depends on BSD_PROCESS_ACCT = n
941 depends on DRM = n
942 depends on PROC_EVENTS = n
943
989 # Networking
944 # Networking
945 depends on NET = n
990 depends on NET_9P = n
946 depends on NET_9P = n
947 depends on IPX = n
948 depends on PHONET = n
949 depends on NET_CLS_FLOW = n
950 depends on NETFILTER_XT_MATCH_OWNER = n
951 depends on NETFILTER_XT_MATCH_RECENT = n
952 depends on NETFILTER_XT_TARGET_LOG = n
953 depends on NETFILTER_NETLINK_LOG = n
954 depends on INET = n
955 depends on IPV6 = n
956 depends on IP_SCTP = n
957 depends on AF_RXRPC = n
958 depends on LLC2 = n
959 depends on NET_KEY = n
960 depends on INET_DIAG = n
961 depends on DNS_RESOLVER = n
962 depends on AX25 = n
963 depends on ATALK = n
991
992 # Filesystems
964
965 # Filesystems
966 depends on USB_DEVICEFS = n
967 depends on USB_GADGETFS = n
968 depends on USB_FUNCTIONFS = n
969 depends on DEVTMPFS = n
970 depends on XENFS = n
971
993 depends on 9P_FS = n
972 depends on 9P_FS = n
973 depends on ADFS_FS = n
974 depends on AFFS_FS = n
994 depends on AFS_FS = n
995 depends on AUTOFS4_FS = n
975 depends on AFS_FS = n
976 depends on AUTOFS4_FS = n
977 depends on BEFS_FS = n
978 depends on BFS_FS = n
979 depends on BTRFS_FS = n
996 depends on CEPH_FS = n
997 depends on CIFS = n
998 depends on CODA_FS = n
980 depends on CEPH_FS = n
981 depends on CIFS = n
982 depends on CODA_FS = n
983 depends on CONFIGFS_FS = n
984 depends on CRAMFS = n
985 depends on DEBUG_FS = n
986 depends on ECRYPT_FS = n
987 depends on EFS_FS = n
988 depends on EXOFS_FS = n
989 depends on FAT_FS = n
999 depends on FUSE_FS = n
1000 depends on GFS2_FS = n
990 depends on FUSE_FS = n
991 depends on GFS2_FS = n
992 depends on HFS_FS = n
993 depends on HFSPLUS_FS = n
994 depends on HPFS_FS = n
995 depends on HUGETLBFS = n
996 depends on ISO9660_FS = n
997 depends on JFFS2_FS = n
998 depends on JFS_FS = n
999 depends on LOGFS = n
1000 depends on MINIX_FS = n
1001 depends on NCP_FS = n
1002 depends on NFSD = n
1003 depends on NFS_FS = n
1001 depends on NCP_FS = n
1002 depends on NFSD = n
1003 depends on NFS_FS = n
1004 depends on NILFS2_FS = n
1005 depends on NTFS_FS = n
1004 depends on OCFS2_FS = n
1006 depends on OCFS2_FS = n
1007 depends on OMFS_FS = n
1008 depends on QNX4FS_FS = n
1009 depends on QNX6FS_FS = n
1010 depends on REISERFS_FS = n
1011 depends on SQUASHFS = n
1012 depends on SYSV_FS = n
1013 depends on UBIFS_FS = n
1014 depends on UDF_FS = n
1015 depends on UFS_FS = n
1016 depends on VXFS_FS = n
1005 depends on XFS_FS = n
1006
1017 depends on XFS_FS = n
1018
1019 depends on !UML || HOSTFS = n
1020
1021 # The rare drivers that won't build
1022 depends on AIRO = n
1023 depends on AIRO_CS = n
1024 depends on TUN = n
1025 depends on INFINIBAND_QIB = n
1026 depends on BLK_DEV_LOOP = n
1027 depends on ANDROID_BINDER_IPC = n
1028
1029 # Security modules
1030 depends on SECURITY_TOMOYO = n
1031 depends on SECURITY_APPARMOR = n
1032
1007config UIDGID_STRICT_TYPE_CHECKS
1008 bool "Require conversions between uid/gids and their internal representation"
1009 depends on UIDGID_CONVERTED
1010 default n
1011 help
1012 While the nececessary conversions are being added to all subsystems this option allows
1013 the code to continue to build for unconverted subsystems.
1014

--- 107 unchanged lines hidden (view full) ---

1122 help
1123 This option allows certain base kernel options and settings
1124 to be disabled or tweaked. This is for specialized
1125 environments which can tolerate a "non-standard" kernel.
1126 Only use this if you really know what you are doing.
1127
1128config UID16
1129 bool "Enable 16-bit UID system calls" if EXPERT
1033config UIDGID_STRICT_TYPE_CHECKS
1034 bool "Require conversions between uid/gids and their internal representation"
1035 depends on UIDGID_CONVERTED
1036 default n
1037 help
1038 While the nececessary conversions are being added to all subsystems this option allows
1039 the code to continue to build for unconverted subsystems.
1040

--- 107 unchanged lines hidden (view full) ---

1148 help
1149 This option allows certain base kernel options and settings
1150 to be disabled or tweaked. This is for specialized
1151 environments which can tolerate a "non-standard" kernel.
1152 Only use this if you really know what you are doing.
1153
1154config UID16
1155 bool "Enable 16-bit UID system calls" if EXPERT
1130 depends on ARM || BLACKFIN || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && COMPAT) || UML || (X86_64 && IA32_EMULATION) \
1131 || AARCH32_EMULATION
1156 depends on ARM || BLACKFIN || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && COMPAT) || UML || (X86_64 && IA32_EMULATION)
1132 default y
1133 help
1134 This enables the legacy 16-bit UID syscall wrappers.
1135
1136config SYSCTL_SYSCALL
1137 bool "Sysctl syscall support" if EXPERT
1138 depends on PROC_SYSCTL
1139 default n

--- 31 unchanged lines hidden (view full) ---

1171 This option makes sure that all symbols are loaded into the kernel
1172 image (i.e., symbols from all sections) in cost of increased kernel
1173 size (depending on the kernel configuration, it may be 300KiB or
1174 something like this).
1175
1176 Say N unless you really need all symbols.
1177
1178config HOTPLUG
1157 default y
1158 help
1159 This enables the legacy 16-bit UID syscall wrappers.
1160
1161config SYSCTL_SYSCALL
1162 bool "Sysctl syscall support" if EXPERT
1163 depends on PROC_SYSCTL
1164 default n

--- 31 unchanged lines hidden (view full) ---

1196 This option makes sure that all symbols are loaded into the kernel
1197 image (i.e., symbols from all sections) in cost of increased kernel
1198 size (depending on the kernel configuration, it may be 300KiB or
1199 something like this).
1200
1201 Say N unless you really need all symbols.
1202
1203config HOTPLUG
1179 def_bool y
1204 bool "Support for hot-pluggable devices" if EXPERT
1205 default y
1206 help
1207 This option is provided for the case where no hotplug or uevent
1208 capabilities is wanted by the kernel. You should only consider
1209 disabling this option for embedded systems that do not use modules, a
1210 dynamic /dev tree, or dynamic device discovery. Just say Y.
1180
1181config PRINTK
1182 default y
1183 bool "Enable support for printk" if EXPERT
1184 help
1185 This option enables normal printk support. Removing it
1186 eliminates most of the message strings from the kernel image
1187 and makes the kernel more or less silent. As this makes it

--- 6 unchanged lines hidden (view full) ---

1194 help
1195 Disabling this option eliminates support for BUG and WARN, reducing
1196 the size of your kernel image and potentially quietly ignoring
1197 numerous fatal conditions. You should only consider disabling this
1198 option for embedded systems with no facilities for reporting errors.
1199 Just say Y.
1200
1201config ELF_CORE
1211
1212config PRINTK
1213 default y
1214 bool "Enable support for printk" if EXPERT
1215 help
1216 This option enables normal printk support. Removing it
1217 eliminates most of the message strings from the kernel image
1218 and makes the kernel more or less silent. As this makes it

--- 6 unchanged lines hidden (view full) ---

1225 help
1226 Disabling this option eliminates support for BUG and WARN, reducing
1227 the size of your kernel image and potentially quietly ignoring
1228 numerous fatal conditions. You should only consider disabling this
1229 option for embedded systems with no facilities for reporting errors.
1230 Just say Y.
1231
1232config ELF_CORE
1202 depends on COREDUMP
1203 default y
1204 bool "Enable ELF core dumps" if EXPERT
1205 help
1206 Enable support for generating core dumps. Disabling saves about 4k.
1207
1208
1209config PCSPKR_PLATFORM
1210 bool "Enable PC-Speaker support" if EXPERT

--- 366 unchanged lines hidden (view full) ---

1577
1578config PREEMPT_NOTIFIERS
1579 bool
1580
1581config PADATA
1582 depends on SMP
1583 bool
1584
1233 default y
1234 bool "Enable ELF core dumps" if EXPERT
1235 help
1236 Enable support for generating core dumps. Disabling saves about 4k.
1237
1238
1239config PCSPKR_PLATFORM
1240 bool "Enable PC-Speaker support" if EXPERT

--- 366 unchanged lines hidden (view full) ---

1607
1608config PREEMPT_NOTIFIERS
1609 bool
1610
1611config PADATA
1612 depends on SMP
1613 bool
1614
1585# Can be selected by architectures with broken toolchains
1586# that get confused by correct const<->read_only section
1587# mappings
1588config BROKEN_RODATA
1589 bool
1615config ASN1
1616 tristate
1617 help
1618 Build a simple ASN.1 grammar compiler that produces a bytecode output
1619 that can be interpreted by the ASN.1 stream decoder and used to
1620 inform it as to what tags are to be expected in a stream and what
1621 functions to call on what tags.
1590
1591source "kernel/Kconfig.locks"
1622
1623source "kernel/Kconfig.locks"