summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorVijayaKumar T M <vtmuni@codeaurora.org>2017-02-08 14:16:58 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-03-01 02:54:44 -0800
commit5e8e6aa40e42ee168f13ec524df17a2cbf616cf5 (patch)
treeb3a0bfa42b8eeb7d148f1e196a4e22c56dfeed32 /security/selinux/hooks.c
parenteee829e625416a38a8066524a0f6cac3b0c9d55b (diff)
msm: camera: add check to ensure user task wont hog CPU
If userspace provides a circular list to isp kenrel driver through an ioctl, then dirver loops forever. This way the task might hog the CPU in while loop. To fix this issue, added a preset count to break the loop after 100 iterations. CRs-Fixed: 1064608 Change-Id: Ie896fd3da326e5e972266d8004baecf8681aea6d Signed-off-by: VijayaKumar T M <vtmuni@codeaurora.org> Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions