Fix sgx platform issues (#916)
Fix ocall_poll incorrectly defined issue in which poll_fds should be defined as [in, out] Fix is_xip_file incorrectly check issue
This commit is contained in:
@ -70,7 +70,7 @@ enclave {
|
||||
[out, size=buf_len]char *buf,
|
||||
unsigned int buf_len);
|
||||
int ocall_posix_fallocate(int fd, off_t offset, off_t len);
|
||||
int ocall_poll([out, size=fds_len]void *fds, unsigned nfds,
|
||||
int ocall_poll([in, out, size=fds_len]void *fds, unsigned nfds,
|
||||
int timeout, unsigned int fds_len);
|
||||
|
||||
int ocall_getopt(int argc,
|
||||
|
||||
Reference in New Issue
Block a user