Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memfd_create on android api level 30 and above #3598

Closed
madushan1000 opened this issue Feb 25, 2024 · 0 comments · Fixed by #3604
Closed

memfd_create on android api level 30 and above #3598

madushan1000 opened this issue Feb 25, 2024 · 0 comments · Fixed by #3604
Labels
C-API-request Category: API request

Comments

@madushan1000
Copy link

Looks like this function is now available in android libc for api level 30 and above. check the bionic libc status docs. There are few other functions listed there too but this is the only one I tested by building a rust program against the latest ndk(r26c).
prototype is

pub fn memfd_create(name: *const ::c_char, flags: ::c_uint) -> ::c_int;
@madushan1000 madushan1000 added the C-API-request Category: API request label Feb 25, 2024
devnexen added a commit to devnexen/libc that referenced this issue Feb 29, 2024
devnexen added a commit to devnexen/libc that referenced this issue Feb 29, 2024
Andy-Python-Programmer pushed a commit to Andy-Python-Programmer/libc that referenced this issue Mar 24, 2024
tgross35 pushed a commit to tgross35/rust-libc that referenced this issue Nov 18, 2024
close rust-lang#3598.

(backport <rust-lang#3604>)
(cherry picked from commit 7de9061)
tgross35 pushed a commit to tgross35/rust-libc that referenced this issue Nov 18, 2024
close rust-lang#3598.

(backport <rust-lang#3604>)
(cherry picked from commit 7de9061)
tgross35 pushed a commit to tgross35/rust-libc that referenced this issue Nov 18, 2024
close rust-lang#3598.

(backport <rust-lang#3604>)
(cherry picked from commit 7de9061)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-API-request Category: API request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant