[PATCH v3 1/6] drm: add DRM_SET_NAME ioctl
Dmitry Osipenko
dmitry.osipenko at collabora.com
Mon Sep 23 18:18:34 UTC 2024
On 9/23/24 21:09, Dmitry Osipenko wrote:
>> Sure, I can do that if others prefer this way too.
> Note that in the other email I suggested to use strndup_user(), that
> will remove the name-length limitation, but then the name var will
> remain to be a string pointer. To me best option would be to replicate
> how dma_buf_set_name works.
My bad, strndup_user() is also size-limited. Then the point about static
string remains.
--
Best regards,
Dmitry
More information about the amd-gfx
mailing list