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

Define SCHED_RESET_ON_FORK on Android #2400

Merged
merged 1 commit into from Sep 14, 2021
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions libc-test/semver/android.txt
Expand Up @@ -1776,6 +1776,7 @@ SCHED_DEADLINE
SCHED_FIFO
SCHED_IDLE
SCHED_NORMAL
SCHED_RESET_ON_FORK
SCHED_RR
SCM_CREDENTIALS
SCM_RIGHTS
Expand Down
2 changes: 2 additions & 0 deletions src/unix/linux_like/android/mod.rs
Expand Up @@ -2424,6 +2424,8 @@ pub const SCHED_BATCH: ::c_int = 3;
pub const SCHED_IDLE: ::c_int = 5;
pub const SCHED_DEADLINE: ::c_int = 6;

pub const SCHED_RESET_ON_FORK: ::c_int = 0x40000000;

// bits/seek_constants.h
pub const SEEK_DATA: ::c_int = 3;
pub const SEEK_HOLE: ::c_int = 4;
Expand Down