Android 7.0.0 Release 0.11
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: Sunil Khatri <sunilkh@codeaurora.org>
1 file changed