summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAngga Satya Putra <anggasp@hotmail.com>2020-05-09 18:19:32 +0700
committerMichael Bestas <mkbestas@lineageos.org>2020-06-03 18:42:33 +0300
commit4e9d850d6eee26fdd0aeac299350c7d95107b48c (patch)
treebaaa2095adc06d45963778e786a75c559e01ce0c /scripts
parent5d60efc89fa6e5a6616bd9dfa2b0702756b7404e (diff)
msm: camera: ois: Prevent direct access to userspace memories
Privileged Access Never prevent the kernel driver from accessing userspace addresses, which this particular procedure did. Fix this by using copy_to_user function for this procedure instead and while we're at it, directly use the settings pointer rather than going through set_info hoops Change-Id: Ia06e1fa93e5f659241548b11e43b57588a6bd8f4 Signed-off-by: Angga Satya Putra <anggasp@hotmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions