[PATCH v2 17/20] drm/ttm: prevent mmap access to unauthorized users

2013-07-07 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. All TTM drivers already use the new VMA offset manager access management so we can enable TTM mmap access management n

[PATCH v2 17/20] drm/ttm: prevent mmap access to unauthorized users

2013-07-07 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. All TTM drivers already use the new VMA offset manager access management so we can enable TTM mmap access management n