Skip to content

Commit 9a5fd46

Browse files
committed
Android: Added PR_GET_NAME and PR_SET_NAME
1 parent c73a50d commit 9a5fd46

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
@@ -1928,9 +1928,11 @@ POSIX_FADV_NORMAL
19281928
POSIX_FADV_RANDOM
19291929
POSIX_FADV_SEQUENTIAL
19301930
POSIX_FADV_WILLNEED
1931+
PR_GET_NAME
19311932
PR_GET_NO_NEW_PRIVS
19321933
PR_GET_SECCOMP
19331934
PR_GET_TIMING
1935+
PR_SET_NAME
19341936
PR_SET_NO_NEW_PRIVS
19351937
PR_SET_SECCOMP
19361938
PR_TIMING_STATISTICAL

src/unix/linux_like/android/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3157,6 +3157,8 @@ pub const PR_GET_TIMING: ::c_int = 13;
31573157
pub const PR_SET_TIMING: ::c_int = 14;
31583158
pub const PR_TIMING_STATISTICAL: ::c_int = 0;
31593159
pub const PR_TIMING_TIMESTAMP: ::c_int = 1;
3160+
pub const PR_SET_NAME: ::c_int = 15;
3161+
pub const PR_GET_NAME: ::c_int = 16;
31603162

31613163
// linux/if_addr.h
31623164
pub const IFA_UNSPEC: ::c_ushort = 0;

0 commit comments

Comments
 (0)