This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_X86_BOUNDS_CHECK_BYPASS_MITIGATION

(No prompt – not directly user assignable.)

Type: bool

Help

Hidden config to select arch-independent option to enable
Spectre V1 mitigations by default if the CPU is not known
to be immune to it.

Direct dependencies

USERSPACE && X86

(Includes any dependencies from ifs and menus.)

Default

Symbols selected by this symbol

Kconfig definition

At arch/x86/Kconfig:461

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12

Menu path: (Top) → X86 Architecture Options

config X86_BOUNDS_CHECK_BYPASS_MITIGATION
    bool
    default y if !X86_NO_SPECTRE_V1
    select BOUNDS_CHECK_BYPASS_MITIGATION
    depends on USERSPACE && X86
    help
      Hidden config to select arch-independent option to enable
      Spectre V1 mitigations by default if the CPU is not known
      to be immune to it.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)