Skip to content

Commit afa9763

Browse files
Lilit0xJohnTitor
authored andcommitted
fix: removed vfork
1 parent d106c9f commit afa9763

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

libc-test/semver/android.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3814,7 +3814,6 @@ utimes
38143814
utmp
38153815
utmpname
38163816
utsname
3817-
vfork
38183817
vmsplice
38193818
wait
38203819
wait4

libc-test/semver/linux.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3963,7 +3963,6 @@ unshare
39633963
useconds_t
39643964
uselocale
39653965
utimensat
3966-
vfork
39673966
vhangup
39683967
vmsplice
39693968
wait4

src/unix/linux_like/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1739,11 +1739,6 @@ extern "C" {
17391739
pub fn acct(filename: *const ::c_char) -> ::c_int;
17401740
pub fn brk(addr: *mut ::c_void) -> ::c_int;
17411741
pub fn sbrk(increment: ::intptr_t) -> *mut ::c_void;
1742-
#[deprecated(
1743-
since = "0.2.66",
1744-
note = "causes memory corruption, see rust-lang/libc#1596"
1745-
)]
1746-
pub fn vfork() -> ::pid_t;
17471742
pub fn setresgid(rgid: ::gid_t, egid: ::gid_t, sgid: ::gid_t) -> ::c_int;
17481743
pub fn setresuid(ruid: ::uid_t, euid: ::uid_t, suid: ::uid_t) -> ::c_int;
17491744
pub fn wait4(

0 commit comments

Comments
 (0)