File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
src/unix/linux_like/android Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -2072,6 +2072,18 @@ fn test_android(target: &str) {
20722072 // Added in API level 28, but some tests use level 24.
20732073 "fread_unlocked" | "fwrite_unlocked" | "fgets_unlocked" | "fflush_unlocked" => true ,
20742074
2075+ // Added in API level 28, but some tests use level 24.
2076+ "aligned_alloc" => true ,
2077+
2078+ // Added in API level 26, but some tests use level 24.
2079+ "getgrent" => true ,
2080+
2081+ // Added in API level 26, but some tests use level 24.
2082+ "setgrent" => true ,
2083+
2084+ // Added in API level 26, but some tests use level 24.
2085+ "endgrent" => true ,
2086+
20752087 // FIXME: bad function pointers:
20762088 "isalnum" | "isalpha" | "iscntrl" | "isdigit" | "isgraph" | "islower" | "isprint"
20772089 | "ispunct" | "isspace" | "isupper" | "isxdigit" | "isblank" | "tolower"
Original file line number Diff line number Diff line change @@ -3186,6 +3186,7 @@ dlsym
31863186dup
31873187dup2
31883188duplocale
3189+ endgrent
31893190endservent
31903191epoll_create
31913192epoll_create1
@@ -3290,6 +3291,7 @@ getegid
32903291getenv
32913292geteuid
32923293getgid
3294+ getgrent
32933295getgrgid
32943296getgrgid_r
32953297getgrnam
@@ -3684,6 +3686,7 @@ seteuid
36843686setfsgid
36853687setfsuid
36863688setgid
3689+ setgrent
36873690setgroups
36883691sethostname
36893692setlocale
Original file line number Diff line number Diff line change @@ -3675,6 +3675,9 @@ safe_f! {
36753675}
36763676
36773677extern "C" {
3678+ pub fn setgrent ( ) ;
3679+ pub fn endgrent ( ) ;
3680+ pub fn getgrent ( ) -> * mut :: group ;
36783681 pub fn getrlimit64 ( resource : :: c_int , rlim : * mut rlimit64 ) -> :: c_int ;
36793682 pub fn setrlimit64 ( resource : :: c_int , rlim : * const rlimit64 ) -> :: c_int ;
36803683 pub fn getrlimit ( resource : :: c_int , rlim : * mut :: rlimit ) -> :: c_int ;
You can’t perform that action at this time.
0 commit comments