File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
src/unix/linux_like/linux/gnu Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1759,6 +1759,9 @@ fn test_android(target: &str) {
17591759 // Added in API level 30, but tests use level 28.
17601760 "mlock2" => true ,
17611761
1762+ // Added in glibc 2.25.
1763+ "getentropy" => true ,
1764+
17621765 _ => false ,
17631766 }
17641767 } ) ;
Original file line number Diff line number Diff line change @@ -584,6 +584,7 @@ explicit_bzero
584584fgetspent_r
585585futimes
586586getauxval
587+ getentropy
587588getgrent_r
588589getloadavg
589590getpt
Original file line number Diff line number Diff line change @@ -1185,6 +1185,7 @@ extern "C" {
11851185 mask : :: c_uint ,
11861186 statxbuf : * mut statx ,
11871187 ) -> :: c_int ;
1188+ pub fn getentropy ( buf : * mut :: c_void , buflen : :: size_t ) -> :: c_int ;
11881189 pub fn getrandom ( buf : * mut :: c_void , buflen : :: size_t , flags : :: c_uint ) -> :: ssize_t ;
11891190 pub fn getauxval ( type_ : :: c_ulong ) -> :: c_ulong ;
11901191
You can’t perform that action at this time.
0 commit comments