mssun commented on issue #58: URL: https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/58#issuecomment-1017194433
> I know that TA can execute a third-party lib(crate), and the third-party lib must be a static link lib, right? I believe OP-TEE supports TA dynamic linking. But if you are using Rust, all crates are statically linked. > So if there are some codes in crate that have to invoke system calls (such as read()/open()/write() in Linux), can Rust TA executes this code in secure world? OP-TEE OS is not like Linux. Its syscalls are different. Here is a list: https://github.com/apache/incubator-teaclave-trustzone-sdk/blob/master/optee-utee/optee-utee-sys/src/utee_syscalls.rs. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
