You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2022/07/26 23:30:53 UTC

[GitHub] [incubator-teaclave-sgx-sdk] qinkunbao commented on issue #401: v2.0.0-preview: crate 'cpufeatures' failed detect 'target_env = "sgx"'

qinkunbao commented on issue #401:
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/401#issuecomment-1196095477

   > In your example, assigning the value of `env` to `sgx` dose work, but in some crates that depend on `libc`, it may cause the detection `target_env` to fail. For the processing of the CPUID instruction, you can refer to the example code [httpreq](https://github.com/apache/incubator-teaclave-sgx-sdk/tree/v2.0.0-preview/samplecode/httpreq).
   
   Retrieving "CPUID" information through ocalls without sanitizing checking could be dangerous, especially for crypto libraries.
   https://github.com/gramineproject/graphene/issues/966


-- 
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: notifications-unsubscribe@teaclave.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org