[PATCH] drm/ioctl: Add a ioctl to label GEM objects

Rohan Garg rohan.garg at collabora.com
Tue Sep 17 15:05:27 UTC 2019


> We're not closing a device, are we?

Ah, yes, I'll fix this in v2.
> Do we have a mechanism in place to stop a malicious unprivileged app
> from allocating all kernel memory to gem labels?

I'm unsure why this is a concern since a malicious app could also potentially 
allocate lots of GEM buffers and cause the same situation.

Rohan Garg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190917/45f17027/attachment-0001.sig>

More information about the dri-devel mailing list