Skip to content

Commit

Permalink
Add struct ucred definition in sgx_libc
Browse files Browse the repository at this point in the history
  • Loading branch information
volcano0dr committed Jan 15, 2020
1 parent 5929e2f commit 484a392
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sgx_libc/src/linux/x86_64/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,12 @@ s! {
pub pw_dir: *mut c_char,
pub pw_shell: *mut c_char,
}

pub struct ucred {
pub pid: pid_t,
pub uid: uid_t,
pub gid: gid_t,
}
}

pub const AT_FDCWD: c_int = -100;
Expand Down

0 comments on commit 484a392

Please sign in to comment.