[Bug 759358] Add GST_CAPS_FEATURE_MEMORY_DMABUF "memory:DMABuf"

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jun 23 09:46:23 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=759358

--- Comment #14 from Julien Isorce <julien.isorce at gmail.com> ---
(In reply to Benjamin Gaignard from comment #13)
> mmap will return a valid pointer but when reading the data you will only see
> 0 and if you write into it the data won't change in memory.

Thx for the clarification, out of curiosity, why not returning MAP_FAILED and
setting EACCES "Permission denied" ? So one would have to call
"smaf_get_secure" to know if this data does not mean anything ?

Is it possible for a kernel driver to call the kernel side implementation of
"smaf_set_secure" when calling the user space side calls drmIoctl(fd,
DRM_IOCTL_PRIME_HANDLE_TO_FD, &args); ? My underlying question is whether it is
"always" the responsibility for the user side to make it secure by calling
"smaf_set_secure" manually, or can the user get directly a secured fd ?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list