Skip to content

Commit e794d17

Browse files
committed
Auto merge of #3499 - Takashiidobe:ent-calls, r=JohnTitor
Add group calls to android Following #3014, this PR just implements the group side of the calls, since that doesn't require CI to be updated.
2 parents 9899913 + 533b8cc commit e794d17

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

libc-test/semver/android.txt

+3
Original file line numberDiff line numberDiff line change
@@ -3110,6 +3110,7 @@ dlsym
31103110
dup
31113111
dup2
31123112
duplocale
3113+
endgrent
31133114
endservent
31143115
epoll_create
31153116
epoll_create1
@@ -3212,6 +3213,7 @@ getegid
32123213
getenv
32133214
geteuid
32143215
getgid
3216+
getgrent
32153217
getgrgid
32163218
getgrgid_r
32173219
getgrnam
@@ -3609,6 +3611,7 @@ seteuid
36093611
setfsgid
36103612
setfsuid
36113613
setgid
3614+
setgrent
36123615
setgroups
36133616
sethostname
36143617
setlocale

src/unix/linux_like/android/mod.rs

+3
Original file line numberDiff line numberDiff line change
@@ -3570,6 +3570,9 @@ safe_f! {
35703570
}
35713571

35723572
extern "C" {
3573+
pub fn setgrent();
3574+
pub fn endgrent();
3575+
pub fn getgrent() -> *mut ::group;
35733576
pub fn getrlimit64(resource: ::c_int, rlim: *mut rlimit64) -> ::c_int;
35743577
pub fn setrlimit64(resource: ::c_int, rlim: *const rlimit64) -> ::c_int;
35753578
pub fn getrlimit(resource: ::c_int, rlim: *mut ::rlimit) -> ::c_int;

0 commit comments

Comments
 (0)