common:
  ignore_faults: true
  tags:
    - kernel
    - security
    - userspace
  arch_exclude:
    - posix
tests:
  kernel.memory_protection.userspace:
    filter: CONFIG_ARCH_HAS_USERSPACE
    extra_configs:
      - CONFIG_TEST_HW_STACK_PROTECTION=n
      - CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=0
    platform_exclude:
      - ucans32k1sic
  kernel.memory_protection.userspace.gap_filling.arc:
    filter: CONFIG_ARCH_HAS_USERSPACE and CONFIG_MPU_REQUIRES_NON_OVERLAPPING_REGIONS
    arch_allow: arc
    extra_args: CONFIG_MPU_GAP_FILLING=y
  kernel.memory_protection.userspace.gap_filling.arm:
    filter: CONFIG_ARCH_HAS_USERSPACE and CONFIG_MPU_REQUIRES_NON_OVERLAPPING_REGIONS
    arch_allow: arm
    platform_allow:
      - efr32_radio/efr32mg21a020f1024im32
      - mps3/an547
      - nrf9160dk/nrf9160
    integration_platforms:
      - mps3/an547
    extra_args: CONFIG_MPU_GAP_FILLING=y
