Skip to content

Commit

Permalink
Android: Added PR_GET_NAME and PR_SET_NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
YohDeadfall committed Sep 30, 2024
1 parent c73a50d commit 9a5fd46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libc-test/semver/android.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1928,9 +1928,11 @@ POSIX_FADV_NORMAL
POSIX_FADV_RANDOM
POSIX_FADV_SEQUENTIAL
POSIX_FADV_WILLNEED
PR_GET_NAME
PR_GET_NO_NEW_PRIVS
PR_GET_SECCOMP
PR_GET_TIMING
PR_SET_NAME
PR_SET_NO_NEW_PRIVS
PR_SET_SECCOMP
PR_TIMING_STATISTICAL
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 @@ -3157,6 +3157,8 @@ pub const PR_GET_TIMING: ::c_int = 13;
pub const PR_SET_TIMING: ::c_int = 14;
pub const PR_TIMING_STATISTICAL: ::c_int = 0;
pub const PR_TIMING_TIMESTAMP: ::c_int = 1;
pub const PR_SET_NAME: ::c_int = 15;
pub const PR_GET_NAME: ::c_int = 16;

// linux/if_addr.h
pub const IFA_UNSPEC: ::c_ushort = 0;
Expand Down

0 comments on commit 9a5fd46

Please sign in to comment.