Kconfig (05909cd9a0c8811731b38697af13075e8954314f) Kconfig (334ef6ed06fa1a54e35296b77b693bcf6d63ee9e)
1# SPDX-License-Identifier: GPL-2.0-only
2config DEFCONFIG_LIST
3 string
4 depends on !UML
5 option defconfig_list
6 default "/lib/modules/$(shell,uname -r)/.config"
7 default "/etc/kernel-config"
8 default "/boot/config-$(shell,uname -r)"

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

105 default 32 if !UML
106 default 128 if UML
107 help
108 Maximum of each of the number of arguments and environment
109 variables passed to init from the kernel command line.
110
111config COMPILE_TEST
112 bool "Compile also drivers which will not load"
1# SPDX-License-Identifier: GPL-2.0-only
2config DEFCONFIG_LIST
3 string
4 depends on !UML
5 option defconfig_list
6 default "/lib/modules/$(shell,uname -r)/.config"
7 default "/etc/kernel-config"
8 default "/boot/config-$(shell,uname -r)"

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

105 default 32 if !UML
106 default 128 if UML
107 help
108 Maximum of each of the number of arguments and environment
109 variables passed to init from the kernel command line.
110
111config COMPILE_TEST
112 bool "Compile also drivers which will not load"
113 depends on !UML
113 depends on !UML && !S390
114 default n
115 help
116 Some drivers can be compiled on a different platform than they are
117 intended to be run on. Despite they cannot be loaded there (or even
118 when they load they cannot be used due to missing HW support),
119 developers still, opposing to distributors, might want to build such
120 drivers to compile-test them.
121

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

677 help
678 This option enables access to the in-kernel headers that are generated during
679 the build process. These can be used to build eBPF tracing programs,
680 or similar programs. If you build the headers as a module, a module called
681 kheaders.ko is built which can be loaded on-demand to get access to headers.
682
683config LOG_BUF_SHIFT
684 int "Kernel log buffer size (16 => 64KB, 17 => 128KB)"
114 default n
115 help
116 Some drivers can be compiled on a different platform than they are
117 intended to be run on. Despite they cannot be loaded there (or even
118 when they load they cannot be used due to missing HW support),
119 developers still, opposing to distributors, might want to build such
120 drivers to compile-test them.
121

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

677 help
678 This option enables access to the in-kernel headers that are generated during
679 the build process. These can be used to build eBPF tracing programs,
680 or similar programs. If you build the headers as a module, a module called
681 kheaders.ko is built which can be loaded on-demand to get access to headers.
682
683config LOG_BUF_SHIFT
684 int "Kernel log buffer size (16 => 64KB, 17 => 128KB)"
685 range 12 25
685 range 12 25 if !H8300
686 range 12 19 if H8300
686 default 17
687 depends on PRINTK
688 help
689 Select the minimal kernel log buffer size as a power of 2.
690 The final size is affected by LOG_CPU_MAX_BUF_SHIFT config
691 parameter, see below. Any higher size also might be forced
692 by "log_buf_len" boot parameter.
693

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

1686 implementing dynamic MAC and Audit Policies.
1687
1688 If you are unsure how to answer this question, answer N.
1689
1690config BPF_SYSCALL
1691 bool "Enable bpf() system call"
1692 select BPF
1693 select IRQ_WORK
687 default 17
688 depends on PRINTK
689 help
690 Select the minimal kernel log buffer size as a power of 2.
691 The final size is affected by LOG_CPU_MAX_BUF_SHIFT config
692 parameter, see below. Any higher size also might be forced
693 by "log_buf_len" boot parameter.
694

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

1687 implementing dynamic MAC and Audit Policies.
1688
1689 If you are unsure how to answer this question, answer N.
1690
1691config BPF_SYSCALL
1692 bool "Enable bpf() system call"
1693 select BPF
1694 select IRQ_WORK
1695 select TASKS_TRACE_RCU
1694 default n
1695 help
1696 Enable the bpf() system call that allows to manipulate eBPF
1697 programs and maps via file descriptors.
1698
1699config ARCH_WANT_DEFAULT_BPF_JIT
1700 bool
1701
1702config BPF_JIT_ALWAYS_ON
1703 bool "Permanently enable BPF JIT and remove BPF interpreter"
1704 depends on BPF_SYSCALL && HAVE_EBPF_JIT && BPF_JIT
1705 help
1706 Enables BPF JIT and removes BPF interpreter to avoid
1707 speculative execution of BPF instructions by the interpreter
1708
1709config BPF_JIT_DEFAULT_ON
1710 def_bool ARCH_WANT_DEFAULT_BPF_JIT || BPF_JIT_ALWAYS_ON
1711 depends on HAVE_EBPF_JIT && BPF_JIT
1712
1696 default n
1697 help
1698 Enable the bpf() system call that allows to manipulate eBPF
1699 programs and maps via file descriptors.
1700
1701config ARCH_WANT_DEFAULT_BPF_JIT
1702 bool
1703
1704config BPF_JIT_ALWAYS_ON
1705 bool "Permanently enable BPF JIT and remove BPF interpreter"
1706 depends on BPF_SYSCALL && HAVE_EBPF_JIT && BPF_JIT
1707 help
1708 Enables BPF JIT and removes BPF interpreter to avoid
1709 speculative execution of BPF instructions by the interpreter
1710
1711config BPF_JIT_DEFAULT_ON
1712 def_bool ARCH_WANT_DEFAULT_BPF_JIT || BPF_JIT_ALWAYS_ON
1713 depends on HAVE_EBPF_JIT && BPF_JIT
1714
1715source "kernel/bpf/preload/Kconfig"
1716
1713config USERFAULTFD
1714 bool "Enable userfaultfd() system call"
1715 depends on MMU
1716 help
1717 Enable the userfaultfd() system call that allows to intercept and
1718 handle page faults in userland.
1719
1720config ARCH_HAS_MEMBARRIER_CALLBACKS

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

1981 This is taken advantage of by uClibc's malloc(), and also by
1982 ELF-FDPIC binfmt's brk and stack allocator.
1983
1984 Because of the obvious security issues, this option should only be
1985 enabled on embedded devices where you control what is run in
1986 userspace. Since that isn't generally a problem on no-MMU systems,
1987 it is normally safe to say Y here.
1988
1717config USERFAULTFD
1718 bool "Enable userfaultfd() system call"
1719 depends on MMU
1720 help
1721 Enable the userfaultfd() system call that allows to intercept and
1722 handle page faults in userland.
1723
1724config ARCH_HAS_MEMBARRIER_CALLBACKS

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

1985 This is taken advantage of by uClibc's malloc(), and also by
1986 ELF-FDPIC binfmt's brk and stack allocator.
1987
1988 Because of the obvious security issues, this option should only be
1989 enabled on embedded devices where you control what is run in
1990 userspace. Since that isn't generally a problem on no-MMU systems,
1991 it is normally safe to say Y here.
1992
1989 See Documentation/mm/nommu-mmap.rst for more information.
1993 See Documentation/admin-guide/mm/nommu-mmap.rst for more information.
1990
1991config SYSTEM_DATA_VERIFICATION
1992 def_bool n
1993 select SYSTEM_TRUSTED_KEYRING
1994 select KEYS
1995 select CRYPTO
1996 select CRYPTO_RSA
1997 select ASYMMETRIC_KEY_TYPE

--- 347 unchanged lines hidden ---
1994
1995config SYSTEM_DATA_VERIFICATION
1996 def_bool n
1997 select SYSTEM_TRUSTED_KEYRING
1998 select KEYS
1999 select CRYPTO
2000 select CRYPTO_RSA
2001 select ASYMMETRIC_KEY_TYPE

--- 347 unchanged lines hidden ---