On 27/05/15 04:15, Damian Hobson-Garcia wrote:
Hello,
On Wed, Nov 12, 2014 at 6:38 AM, Daniel Thompson
wrote:
Currently DRM_IOCTL_PRIME_HANDLE_TO_FD rejects all flags except
(DRM|O)_CLOEXEC making it hard for the userspace to generate a file
descriptor that can be used by mmap().
It is easy
Hello,
>On Wed, Nov 12, 2014 at 6:38 AM, Daniel Thompson
>wrote:
>> Currently DRM_IOCTL_PRIME_HANDLE_TO_FD rejects all flags except
>> (DRM|O)_CLOEXEC making it hard for the userspace to generate a file
>> descriptor that can be used by mmap().
>>
>> It is easy to relax the restriction and allow
On Wed, Nov 12, 2014 at 6:38 AM, Daniel Thompson
wrote:
> Currently DRM_IOCTL_PRIME_HANDLE_TO_FD rejects all flags except
> (DRM|O)_CLOEXEC making it hard for the userspace to generate a file
> descriptor that can be used by mmap().
>
> It is easy to relax the restriction and allow read/write perm
Currently DRM_IOCTL_PRIME_HANDLE_TO_FD rejects all flags except
(DRM|O)_CLOEXEC making it hard for the userspace to generate a file
descriptor that can be used by mmap().
It is easy to relax the restriction and allow read/write permissions.
This should be safe because the flags are seldom touched
4 matches
Mail list logo