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

Skip to content
Commit 305ea9ce authored by Iliya Varadzhakov's avatar Iliya Varadzhakov
Browse files

msm: cpp: Add compat handlers for SET_CLOCK and GET_HW_INFO ioctl calls



Every IOCTL call needs proper handling in case of 32bit userspace
connected to 64 kernel. GET_HW_INFO and SET_CLOCK ioctl calls
use parameters which have different size in the userspace and
kernel memory spaces. A translation from userspace to kernel
memory space and vice versa is needed.

Change-Id: I7035d49a7643a5894603c5bd09e64b1d5497b8e8
Signed-off-by: default avatarIliya Varadzhakov <ivarad@codeaurora.org>
parent 3043ed01
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