sslab-gatech / opensgx

OpenSGX
Other
294 stars 80 forks source link

sgx_read always returns 0 #14

Closed jonhoo closed 8 years ago

jonhoo commented 8 years ago

When I do sgx_read on a network socket, the return value seems to always be 0 on success, regardless of how many bytes were actually read?

inasmkim commented 8 years ago

After Ming-Wei's check-in related to libc patching, this issue seems to be solved. (Tested in the simple-client.c, check the return value of read() call.) If it still has problem, please let us know. Thanks!