Add MISC_MEMTAG_MODE_MEMTAG_OFF.
This can be used as a killswitch to disable MTE from userspace. Change-Id: I28ab4357c9ac3e088776f92a0e1f7d390b4b0bdc
This commit is contained in:
parent
3dbcd4bfd7
commit
29ace0ba4c
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@ struct misc_memtag_message {
|
|||
#define MISC_MEMTAG_MODE_MEMTAG_ONCE 0x2
|
||||
#define MISC_MEMTAG_MODE_MEMTAG_KERNEL 0x4
|
||||
#define MISC_MEMTAG_MODE_MEMTAG_KERNEL_ONCE 0x8
|
||||
#define MISC_MEMTAG_MODE_MEMTAG_OFF 0x10
|
||||
|
||||
#if (__STDC_VERSION__ >= 201112L) || defined(__cplusplus)
|
||||
static_assert(sizeof(struct misc_virtual_ab_message) == 64,
|
||||
|
|
Loading…
Reference in a new issue