commit | 633b6d258fdad07b686f035f0217684ba91efc51 | [log] [tgz] |
---|---|---|
author | Sunil Khatri <sunilkh@codeaurora.org> | Wed Jun 22 14:45:31 2016 +0530 |
committer | Mekala Natarajan <mnatarajan@google.com> | Mon Aug 08 16:09:03 2016 -0700 |
tree | fefe0ae3886d952bb234141e213c533d95b009b6 | |
parent | cabe5bdee788cc3bc89076278bd0cac670871008 [diff] |
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. Bug: 30652312 Change-Id: I74e50cd244f68cb13009cf2355e528485f4de34b Signed-off-by: Sunil Khatri <sunilkh@codeaurora.org>