prepareTaggedChunk uses Tag 0 for header.
Android already PR_MTE_TAG_MASK to 0xfffe,
but with the patch we will not need to deppend
on the system configuration.
Differential D103134
[scudo] Always exclude Tag 0 vitalybuka on May 25 2021, 6:41 PM. Authored by
Details
prepareTaggedChunk uses Tag 0 for header. Android already PR_MTE_TAG_MASK to 0xfffe,
Diff Detail
Event TimelineComment Actions There are probably going to be more callers of selectRandomTag and I don't think we want to have to deal with tag 0 in any of them. Could we just or 1 into the mask in selectRandomTag? |