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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux