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

Commit 79b63e66 authored by Sudarshan Rajagopalan's avatar Sudarshan Rajagopalan
Browse files

ashmem: add mutex to set size ioctl



The ioctl of ashmem is an unlocked method, hence each of its command
functions must have its own locking. Since asma->size is used at different
critical sections, it must remain unchanged until the end of the critical
section that is being executed.

Change-Id: I804604667a25976334c174ba33601bed35df3755
Signed-off-by: default avatarSudarshan Rajagopalan <sudaraja@codeaurora.org>
parent e29926e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment