[PATCH v1 4/4] arm64/mte: Add userspace interface for enabling asymmetric mode

Mark Brown broonie at kernel.org
Tue Mar 8 05:34:49 PST 2022


On Mon, Mar 07, 2022 at 12:55:31PM -0800, Peter Collingbourne wrote:

> I agree with Mark that there are going to be (to some extent
> hypothetical) compatibility problems no matter what we do. I think a
> good way to think about it is: if we need to do the same thing again
> in the future (in this case, adding another mode), which design would
> allow us to avoid the same potential compatibility problems? To me the
> PR_GET_TCF/PR_SET_TCF control seems like the best way of avoiding
> that.

Providing a decomposed version of the prctl does seem like the most
robust thing for future changes, I think it's mostly a question of
working out if it's worth the effort of deciding how to handle the
interaction with the current ABI.

I do question how sensible it is to have multiple enteties in userspace
managing MTE without coordinating with each other.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220308/af1a13dc/attachment.sig>


More information about the linux-arm-kernel mailing list