Skip to content

Commit cbcd344

Browse files
committed
Add CLONE_CLEAR_SIGHAND and CLONE_INTO_CGROUP for Android
1 parent 9d520fb commit cbcd344

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

libc-test/semver/android.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,11 @@ CLOCK_TAI
238238
CLOCK_THREAD_CPUTIME_ID
239239
CLONE_CHILD_CLEARTID
240240
CLONE_CHILD_SETTID
241+
CLONE_CLEAR_SIGHAND
241242
CLONE_DETACHED
242243
CLONE_FILES
243244
CLONE_FS
245+
CLONE_INTO_CGROUP
244246
CLONE_IO
245247
CLONE_NEWCGROUP
246248
CLONE_NEWIPC

src/unix/linux_like/android/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2863,6 +2863,8 @@ pub const SCHED_DEADLINE: c_int = 6;
28632863
pub const SCHED_RESET_ON_FORK: c_int = 0x40000000;
28642864

28652865
pub const CLONE_PIDFD: c_int = 0x1000;
2866+
pub const CLONE_CLEAR_SIGHAND: c_ulonglong = 0x100000000;
2867+
pub const CLONE_INTO_CGROUP: c_ulonglong = 0x200000000;
28662868

28672869
// linux/membarrier.h
28682870
pub const MEMBARRIER_CMD_QUERY: c_int = 0;

0 commit comments

Comments
 (0)