Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e4e00a7d authored by Sunil Khatri's avatar Sunil Khatri Committed by Brandon McAnsh
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: I74e50cd244f68cb13009cf2355e528485f4de34b
Signed-off-by: default avatarSunil Khatri <sunilkh@codeaurora.org>
parent 8321e944
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment