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

Skip to content
Commit 7d6b0435 authored by Rohan Sethi's avatar Rohan Sethi Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Use copy_struct_from_user() helper



Timeline semaphore ioctls use local implementation
kgsl_copy_struct_from_user() to validate and copy structs from
user to kernel memory. This can cause problem when user size is
greater than reserved kernel struct size.
Replace this with new kernel implementation of copy_struct_from_user()
helper to ensure correct alignment and access permissions before
proceeding forward.

Change-Id: I5891f355fe515e271c7470543822792572a42f3f
Signed-off-by: default avatarRohan Sethi <quic_rohsethi@quicinc.com>
parent 2290c7a6
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