File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -2178,6 +2178,27 @@ config ARCH_PKEY_BITS
2178
2178
2179
2179
endmenu # "ARMv8.9 architectural features"
2180
2180
2181
+ menu "v9.4 architectural features"
2182
+
2183
+ config ARM64_GCS
2184
+ bool "Enable support for Guarded Control Stack (GCS)"
2185
+ default y
2186
+ select ARCH_HAS_USER_SHADOW_STACK
2187
+ select ARCH_USES_HIGH_VMA_FLAGS
2188
+ depends on !UPROBES
2189
+ help
2190
+ Guarded Control Stack (GCS) provides support for a separate
2191
+ stack with restricted access which contains only return
2192
+ addresses. This can be used to harden against some attacks
2193
+ by comparing return address used by the program with what is
2194
+ stored in the GCS, and may also be used to efficiently obtain
2195
+ the call stack for applications such as profiling.
2196
+
2197
+ The feature is detected at runtime, and will remain disabled
2198
+ if the system does not implement the feature.
2199
+
2200
+ endmenu # "v9.4 architectural features"
2201
+
2181
2202
config ARM64_SVE
2182
2203
bool "ARM Scalable Vector Extension support"
2183
2204
default y
You can’t perform that action at this time.
0 commit comments