[PATCH 09/16] drm/ttm: prevent mmap access to unauthorized users

2013-08-13 Thread David Herrmann
If a user does not have access to a given buffer, we must not allow them to mmap it. Otherwise, users could "guess" the buffer offsets of other users and get access to the buffer. Similar to mmap(), we also fix ttm_bo_io() which is the backend for read() and write() syscalls. It's currently unused,

[PATCH 09/16] drm/ttm: prevent mmap access to unauthorized users

2013-08-13 Thread David Herrmann
If a user does not have access to a given buffer, we must not allow them to mmap it. Otherwise, users could "guess" the buffer offsets of other users and get access to the buffer. Similar to mmap(), we also fix ttm_bo_io() which is the backend for read() and write() syscalls. It's currently unused,