On 9/17/19 5:05 PM, Rohan Garg wrote:
Hi
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.
Hmm, yes in some drivers. In others not. But if we have a drm_driver
hook for this, I guess drivers that care can do proper checking.
/Thomas
Cheers
Rohan Garg
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel