aboutsummaryrefslogtreecommitdiff
path: root/include/math-emu/op-1.h
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2014-11-11 15:25:44 +0000
committerDaniel Thompson <daniel.thompson@linaro.org>2015-06-19 14:17:29 +0100
commitd6324c42c235d3af065e2d15241fa7f05a8cf82f (patch)
treedf915007c6eced1c30020dcfd7563b7670dbd1bf /include/math-emu/op-1.h
parenteea4a8ed6da8af40de54999d608f263c5c82a462 (diff)
drm: prime: Honour O_RDWR during prime-handle-to-fd
Currently DRM_IOCTL_PRIME_HANDLE_TO_FD rejects all flags except (DRM|O)_CLOEXEC making it difficult (maybe impossible) for userspace to mmap() the resulting dma-buf even when this is supported by the DRM driver. It is trivial to relax the restriction and permit read/write access. This is safe because the flags are seldom touched by drm; mostly they are passed verbatim to dma_buf calls. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Diffstat (limited to 'include/math-emu/op-1.h')
0 files changed, 0 insertions, 0 deletions