diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-11-14 13:20:29 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-11-16 08:50:53 +0100 |
commit | 5c074eeabbd332b11559f7fc1e89d456f94801fb (patch) | |
tree | dcd9cb8d2ca28efa019a418594150aea703f6c20 /init/do_mounts_rd.c | |
parent | fcc86cb45d38ca2f24bcea9c29c7f4742041caed (diff) |
udmabuf: set read/write flag when exporting
Otherwise, mmap fails when done with PROT_WRITE.
Suggested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20181114122029.16766-1-kraxel@redhat.com
Diffstat (limited to 'init/do_mounts_rd.c')
0 files changed, 0 insertions, 0 deletions