Skip to content
Snippets Groups Projects
Commit 4bb39d61 authored by Ajay Dudani's avatar Ajay Dudani
Browse files

ashmem: Validate ashmem memory with fops pointer


Validate the ashmem memory entry against f_op pointer
rather then comparing its name with path of the dentry.

This is to avoid any invalid access to ashmem area in cases
where some one deliberately set the dentry name to /ashmem.

Change-Id: I549c7743e63a416d2422236ca28834e64546fc93
Signed-off-by: default avatarSunil Khatri <sunilkh@codeaurora.org>
parent 111908a6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment