trusty: Update TIPC UAPI header
TRUSTY_SEND_SECURE operation was added to Trusty Linux driver by aosp/1930989. Bug: 224563842 Test: m libtrusty Change-Id: Ic922ec177a8d35dba351415ab429216a1931a64d
This commit is contained in:
parent
8b162ac936
commit
83b58f93a2
1 changed files with 14 additions and 9 deletions
|
|
@ -23,15 +23,19 @@
|
|||
|
||||
/**
|
||||
* enum transfer_kind - How to send an fd to Trusty
|
||||
* @TRUSTY_SHARE: Memory will be accessible by Linux and Trusty. On ARM it will
|
||||
* be mapped as nonsecure. Suitable for shared memory. The paired
|
||||
* fd must be a "memfd".
|
||||
* @TRUSTY_LEND: Memory will be accessible only to Trusty. On ARM it will be
|
||||
* transitioned to "Secure" memory if Trusty is in TrustZone.
|
||||
* This transfer kind is suitable for donating video buffers or
|
||||
* other similar resources. The paired fd may need to come from a
|
||||
* platform-specific allocator for memory that may be
|
||||
* transitioned to "Secure".
|
||||
* @TRUSTY_SHARE: Memory will be accessible by Linux and Trusty. On ARM it
|
||||
* will be mapped as nonsecure. Suitable for shared memory.
|
||||
* The paired fd must be a "dma_buf".
|
||||
* @TRUSTY_LEND: Memory will be accessible only to Trusty. On ARM it will
|
||||
* be transitioned to "Secure" memory if Trusty is in
|
||||
* TrustZone. This transfer kind is suitable for donating
|
||||
* video buffers or other similar resources. The paired fd
|
||||
* may need to come from a platform-specific allocator for
|
||||
* memory that may be transitioned to "Secure".
|
||||
* @TRUSTY_SEND_SECURE: Send memory that is already "Secure". Memory will be
|
||||
* accessible only to Trusty. The paired fd may need to
|
||||
* come from a platform-specific allocator that returns
|
||||
* "Secure" buffers.
|
||||
*
|
||||
* Describes how the user would like the resource in question to be sent to
|
||||
* Trusty. Options may be valid only for certain kinds of fds.
|
||||
|
|
@ -39,6 +43,7 @@
|
|||
enum transfer_kind {
|
||||
TRUSTY_SHARE = 0,
|
||||
TRUSTY_LEND = 1,
|
||||
TRUSTY_SEND_SECURE = 2,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue