summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorHarsh Sahu <hsahu@codeaurora.org>2017-04-13 15:38:46 -0700
committerHarsh Sahu <hsahu@codeaurora.org>2017-04-14 11:28:14 -0700
commit64e4e29356928bea60ae4be5b387eb7d8d7a7f45 (patch)
tree80d5723fa94f60c40ee9aaa5fd8a773b8e6b3117 /security/selinux/hooks.c
parent406ab7d2d4f3a72f3ef1dd10f894e6c88ee3ac01 (diff)
msm: mdss: fix race condition during mdp debugfs release
Fix race condition in the release of the mdp debugfs functions panel_debug_base_release and mdss_debug_base_release by adding the lock for unpreempted freeing of the buffer so that multiple concurrent processes cannot affect the release which can possibly lead to use-after-free operation on the buffer. Change-Id: I9586081b65ae2eb0e7f6e30c606ee748ae9ef7e8 Signed-off-by: Harsh Sahu <hsahu@codeaurora.org>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions