1common:
2  tags: kernel security
3  min_ram: 32
4  integration_platforms:
5    - qemu_x86
6    - qemu_x86/atom/nommu
7    - qemu_x86_64
8    - qemu_cortex_a53
9    - qemu_cortex_a53/qemu_cortex_a53/smp
10    - qemu_cortex_m3
11    - qemu_riscv32
12    - qemu_riscv32e
13    - qemu_riscv64
14    - qemu_riscv64/qemu_virt_riscv64/smp
15
16# Permutations of (pool | alloc | user)
17tests:
18  kernel.threads.dynamic_thread.stack.no_pool.no_alloc.no_user:
19    extra_configs:
20      # 000
21      - CONFIG_DYNAMIC_THREAD_POOL_SIZE=0
22      - CONFIG_DYNAMIC_THREAD_ALLOC=n
23      - CONFIG_USERSPACE=n
24  kernel.threads.dynamic_thread.stack.no_pool.no_alloc.user:
25    tags: userspace
26    extra_configs:
27      # 001
28      - CONFIG_DYNAMIC_THREAD_POOL_SIZE=0
29      - CONFIG_DYNAMIC_THREAD_ALLOC=n
30      - CONFIG_USERSPACE=y
31  kernel.threads.dynamic_thread.stack.no_pool.alloc.no_user:
32    extra_configs:
33      # 010
34      - CONFIG_DYNAMIC_THREAD_POOL_SIZE=0
35      - CONFIG_DYNAMIC_THREAD_ALLOC=y
36      - CONFIG_DYNAMIC_THREAD_PREFER_ALLOC=y
37      - CONFIG_USERSPACE=n
38  kernel.threads.dynamic_thread.stack.no_pool.alloc.user:
39    tags: userspace
40    extra_configs:
41      # 011
42      - CONFIG_DYNAMIC_THREAD_POOL_SIZE=0
43      - CONFIG_DYNAMIC_THREAD_ALLOC=y
44      - CONFIG_DYNAMIC_THREAD_PREFER_ALLOC=y
45      - CONFIG_USERSPACE=y
46  kernel.threads.dynamic_thread.stack.pool.no_alloc.no_user:
47    extra_configs:
48      # 100
49      - CONFIG_DYNAMIC_THREAD_POOL_SIZE=2
50      - CONFIG_DYNAMIC_THREAD_ALLOC=n
51      - CONFIG_USERSPACE=n
52  kernel.threads.dynamic_thread.stack.pool.no_alloc.user:
53    tags: userspace
54    extra_configs:
55      # 101
56      - CONFIG_DYNAMIC_THREAD_POOL_SIZE=2
57      - CONFIG_DYNAMIC_THREAD_ALLOC=n
58      - CONFIG_USERSPACE=y
59  kernel.threads.dynamic_thread.stack.pool.alloc.no_user:
60    extra_configs:
61      # 110
62      - CONFIG_DYNAMIC_THREAD_PREFER_ALLOC=y
63      - CONFIG_DYNAMIC_THREAD_POOL_SIZE=2
64      - CONFIG_DYNAMIC_THREAD_ALLOC=y
65      - CONFIG_USERSPACE=n
66  kernel.threads.dynamic_thread.stack.pool.alloc.user:
67    tags: userspace
68    extra_configs:
69      # 111
70      - CONFIG_DYNAMIC_THREAD_PREFER_ALLOC=y
71      - CONFIG_DYNAMIC_THREAD_POOL_SIZE=2
72      - CONFIG_DYNAMIC_THREAD_ALLOC=y
73      - CONFIG_USERSPACE=y
74