Skip to content

Commit

Permalink
Deprecate vfork
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed Nov 17, 2019
1 parent 13d4a5d commit 1f7352c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/unix/linux_like/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1458,6 +1458,10 @@ extern "C" {
pub fn acct(filename: *const ::c_char) -> ::c_int;
pub fn brk(addr: *mut ::c_void) -> ::c_int;
pub fn sbrk(increment: ::intptr_t) -> *mut ::c_void;
#[deprecated(
since = "0.2.66",
note = "causes memory corruption, see rust-lang/libc#1596"
)]
pub fn vfork() -> ::pid_t;
pub fn setresgid(rgid: ::gid_t, egid: ::gid_t, sgid: ::gid_t) -> ::c_int;
pub fn setresuid(ruid: ::uid_t, euid: ::uid_t, suid: ::uid_t) -> ::c_int;
Expand Down

0 comments on commit 1f7352c

Please sign in to comment.