linaro-swg / linux

Linux kernel source tree
Other
41 stars 79 forks source link

new ioctl in TEE driver to register shared memory from a file descriptor (SWG-186) #26

Closed etienne-lms closed 7 years ago

etienne-lms commented 7 years ago

This is a proposal for implementing the ability for a TA to safely handle memory buffer arguments related to secure buffers. See SWG-186.

This proposal defines a new ioctl in the TEE linux driver TEE_IOC_SHM_REGISTER_FD for userland get create a TEE shared memory object from a provided dmabuf file descriptor provided from userland.

This PR is related to changes in the OP-TEE client: https://github.com/OP-TEE/optee_client/pull/59.

jenswi-linaro commented 7 years ago

Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

etienne-lms commented 7 years ago

squashed, tag applied.