Re: [PATCH v6 2/2] tee: add private login method for kernel clients

From: Jerome Forissier
Date: Mon Apr 20 2020 - 10:02:13 EST


On 3/27/20 6:29 AM, Sumit Garg wrote:
> There are use-cases where user-space shouldn't be allowed to communicate
> directly with a TEE device which is dedicated to provide a specific
> service for a kernel client. So add a private login method for kernel
> clients and disallow user-space to open-session using GP implementation
> defined login method range: (0x80000000 - 0xBFFFFFFF).
>
> Signed-off-by: Sumit Garg <sumit.garg@xxxxxxxxxx>
> ---
> drivers/tee/tee_core.c | 7 +++++++
> include/uapi/linux/tee.h | 9 +++++++++
> 2 files changed, 16 insertions(+)

Reviewed-by: Jerome Forissier <jerome@xxxxxxxxxxxxx>

Thanks,
--
Jerome