Re: [PATCH v3 0/7] dma-buf: heaps: Add secure heap

From: Pekka Paalanen
Date: Wed Dec 13 2023 - 04:05:33 EST


On Tue, 12 Dec 2023 16:36:35 +0000
Simon Ser <contact@xxxxxxxxxxx> wrote:

> Is there a chance to pick a better name than "secure" here?
>
> "Secure" is super overloaded, it's not clear at all what it means from
> just the name. Something like "restricted" would be an improvement.
>

My thoughts exactly. Every time I see "secure" used for something that
either gives you garbage, refuses to work, or crashes your whole machine
*intentionally* when you try to do normal usual things to it in
userspace (like use it for GL texturing, or try to use KMS writeback), I
get an unscratchable itch.

There is nothing "secure" from security perspective there for end users
and developers. It's just inaccessible buffers.

I've been biting my lip until now, thinking it's too late.


Thanks,
pq

Attachment: pgpCTX6QGniWW.pgp
Description: OpenPGP digital signature