Skip to content

Commit a648a8e

Browse files
YohDeadfalltgross35
authored andcommitted
Android: Added PR_GET_NAME and PR_SET_NAME (rust-lang#3941)
(backport <rust-lang#3941>) (cherry picked from commit 2191c87)
1 parent e7ef0da commit a648a8e

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
@@ -1904,9 +1904,11 @@ POSIX_FADV_NORMAL
19041904
POSIX_FADV_RANDOM
19051905
POSIX_FADV_SEQUENTIAL
19061906
POSIX_FADV_WILLNEED
1907+
PR_GET_NAME
19071908
PR_GET_NO_NEW_PRIVS
19081909
PR_GET_SECCOMP
19091910
PR_GET_TIMING
1911+
PR_SET_NAME
19101912
PR_SET_NO_NEW_PRIVS
19111913
PR_SET_SECCOMP
19121914
PR_TIMING_STATISTICAL

src/unix/linux_like/android/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3153,6 +3153,8 @@ pub const PR_GET_TIMING: ::c_int = 13;
31533153
pub const PR_SET_TIMING: ::c_int = 14;
31543154
pub const PR_TIMING_STATISTICAL: ::c_int = 0;
31553155
pub const PR_TIMING_TIMESTAMP: ::c_int = 1;
3156+
pub const PR_SET_NAME: ::c_int = 15;
3157+
pub const PR_GET_NAME: ::c_int = 16;
31563158

31573159
// linux/if_addr.h
31583160
pub const IFA_UNSPEC: ::c_ushort = 0;

0 commit comments

Comments
 (0)