Skip to content
Snippets Groups Projects
Commit a59ccee2 authored by Alex Crichton's avatar Alex Crichton
Browse files

Merge pull request #137 from mrjana/setns

Add setns api to linux targets
parents 9aa6600b 3bb17681
No related branches found
No related tags found
No related merge requests found
......@@ -510,6 +510,7 @@ extern {
pub fn dup3(oldfd: ::c_int, newfd: ::c_int, flags: ::c_int) -> ::c_int;
pub fn unshare(flags: ::c_int) -> ::c_int;
pub fn sethostname(name: *const ::c_char, len: ::size_t) -> ::c_int;
pub fn setns(fd: ::c_int, nstype: ::c_int) -> ::c_int;
}
cfg_if! {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment