File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Documentation/filesystems Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -579,7 +579,7 @@ encoded manner. The codes are the following:
579
579
mt arm64 MTE allocation tags are enabled
580
580
um userfaultfd missing tracking
581
581
uw userfaultfd wr-protect tracking
582
- ss shadow stack page
582
+ ss shadow/guarded control stack page
583
583
sl sealed
584
584
== =======================================
585
585
Original file line number Diff line number Diff line change @@ -367,7 +367,17 @@ extern unsigned int kobjsize(const void *objp);
367
367
* for more details on the guard size.
368
368
*/
369
369
# define VM_SHADOW_STACK VM_HIGH_ARCH_5
370
- #else
370
+ #endif
371
+
372
+ #if defined(CONFIG_ARM64_GCS )
373
+ /*
374
+ * arm64's Guarded Control Stack implements similar functionality and
375
+ * has similar constraints to shadow stacks.
376
+ */
377
+ # define VM_SHADOW_STACK VM_HIGH_ARCH_6
378
+ #endif
379
+
380
+ #ifndef VM_SHADOW_STACK
371
381
# define VM_SHADOW_STACK VM_NONE
372
382
#endif
373
383
You can’t perform that action at this time.
0 commit comments