Skip to content

Commit

Permalink
fix: removed vfork
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilit0x committed Mar 17, 2024
1 parent a0f5b4b commit 00b4914
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion libc-test/semver/android.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3814,7 +3814,6 @@ utimes
utmp
utmpname
utsname
vfork
vmsplice
wait
wait4
Expand Down
1 change: 0 additions & 1 deletion libc-test/semver/linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3963,7 +3963,6 @@ unshare
useconds_t
uselocale
utimensat
vfork
vhangup
vmsplice
wait4
Expand Down
5 changes: 0 additions & 5 deletions src/unix/linux_like/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1739,11 +1739,6 @@ 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;
pub fn wait4(
Expand Down

0 comments on commit 00b4914

Please sign in to comment.