You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by rd...@apache.org on 2021/07/05 02:51:02 UTC

[incubator-teaclave-sgx-sdk] branch master updated: Correct the definition of sgx_libc::msghdr

This is an automated email from the ASF dual-hosted git repository.

rduan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-sgx-sdk.git


The following commit(s) were added to refs/heads/master by this push:
     new 7c07ce0  Correct the definition of sgx_libc::msghdr
7c07ce0 is described below

commit 7c07ce0bfbacd3f4f2af53a2cdef9539018be73c
Author: volcano <vo...@163.com>
AuthorDate: Mon Jul 5 10:50:01 2021 +0800

    Correct the definition of sgx_libc::msghdr
---
 sgx_libc/src/linux/x86_64/mod.rs | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/sgx_libc/src/linux/x86_64/mod.rs b/sgx_libc/src/linux/x86_64/mod.rs
index 4477875..bdd0dcb 100644
--- a/sgx_libc/src/linux/x86_64/mod.rs
+++ b/sgx_libc/src/linux/x86_64/mod.rs
@@ -416,11 +416,9 @@ s! {
         pub msg_name: *mut c_void,
         pub msg_namelen: socklen_t,
         pub msg_iov: *mut iovec,
-        pub msg_iovlen: c_int,
-        __pad1: c_int,
+        pub msg_iovlen: size_t,
         pub msg_control: *mut c_void,
-        pub msg_controllen: socklen_t,
-        __pad2: socklen_t,
+        pub msg_controllen: size_t,
         pub msg_flags: c_int,
     }
 

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