Closed varsha-2508 closed 2 years ago
Indeed system()
standard function and the related syscall is not implemented in optee_os and even to not considered in optee architecture. Also these is not wget
trusted application your TA could rely on. What you could do is maybe to have non-secure world (i.e. Linux OS) performing the wget operation and pass the fetched binary to your TA, but such a process would rely on non-secure world network stack which may or may not be an issue, depending on your expectations. Having a full secure network stack is something currently not supported in OP-TEE.
(edited)
Thank you for your reply. I understand that opening a socket connection from within the secure world is possible. What I want to do is I want to open a connection to the cloud and pass some readings to it. Can I do this inside the TEE? Thanks for the help in advance!
This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.
I figured that the hello world example increments a number. Instead of incrementing a number, I wanted my TA to do a wget to some website. So I added a system("wget website") to my code along with the necessary header file, stdlib.h. But when I run make, it always shows implicit declaration of system function. Could you please help?