mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 14:25:32 +00:00
clean up a bit
This commit is contained in:
parent
42b122d639
commit
d13e4aa71f
@ -25,7 +25,6 @@ use libc::{
|
|||||||
in_addr_t,
|
in_addr_t,
|
||||||
in_port_t,
|
in_port_t,
|
||||||
ioctl,
|
ioctl,
|
||||||
kill,
|
|
||||||
lchown,
|
lchown,
|
||||||
link,
|
link,
|
||||||
// iovec,
|
// iovec,
|
||||||
@ -249,10 +248,10 @@ pub fn ___syscall41(ctx: &mut Ctx, _which: c_int, mut varargs: VarArgs) -> c_int
|
|||||||
unsafe { dup(fd) }
|
unsafe { dup(fd) }
|
||||||
}
|
}
|
||||||
|
|
||||||
// tkill? REVIEW: double check this, truncate on OSX?
|
/// getgid
|
||||||
pub fn ___syscall200(_ctx: &mut Ctx, pid: pid_t, sig: c_int) -> i32 {
|
pub fn ___syscall200(_ctx: &mut Ctx, _one: i32, _two: i32) -> i32 {
|
||||||
debug!("emscripten::___syscall200 (tkill)");
|
debug!("emscripten::___syscall200 (getgid)");
|
||||||
unsafe { kill(pid, sig) }
|
unsafe { getgid() as i32 }
|
||||||
}
|
}
|
||||||
|
|
||||||
// getgid
|
// getgid
|
||||||
|
Loading…
Reference in New Issue
Block a user