Skip to content

Add CLONE_CLEAR_SIGHAND and CLONE_INTO_CGROUP for Android #4502

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

Merged
merged 1 commit into from
Jun 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions libc-test/semver/android.txt
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,11 @@ CLOCK_TAI
CLOCK_THREAD_CPUTIME_ID
CLONE_CHILD_CLEARTID
CLONE_CHILD_SETTID
CLONE_CLEAR_SIGHAND
CLONE_DETACHED
CLONE_FILES
CLONE_FS
CLONE_INTO_CGROUP
CLONE_IO
CLONE_NEWCGROUP
CLONE_NEWIPC
Expand Down
2 changes: 2 additions & 0 deletions src/unix/linux_like/android/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2863,6 +2863,8 @@ pub const SCHED_DEADLINE: c_int = 6;
pub const SCHED_RESET_ON_FORK: c_int = 0x40000000;

pub const CLONE_PIDFD: c_int = 0x1000;
pub const CLONE_CLEAR_SIGHAND: c_ulonglong = 0x100000000;
pub const CLONE_INTO_CGROUP: c_ulonglong = 0x200000000;

// linux/membarrier.h
pub const MEMBARRIER_CMD_QUERY: c_int = 0;
Expand Down
Loading