Auto merge of #2840 - devnexen:linux_prctl_update3, r=JohnTitor
Some checks failed
CI / Docker Linux Tier1 (i686-unknown-linux-gnu) (push) Has been cancelled
Upload documentation / Upload documentation (push) Has been cancelled
CI / Docker Linux Tier1 (x86_64-unknown-linux-gnu) (push) Has been cancelled
CI / macOS (x86_64-apple-darwin) (push) Has been cancelled
CI / Windows (i686-pc-windows-msvc) (push) Has been cancelled
CI / Windows (map[ARCH:x86_64 ARCH_BITS:64], x86_64-pc-windows-gnu) (push) Has been cancelled
CI / Windows (x86_64-pc-windows-msvc) (push) Has been cancelled
CI / Style check (push) Has been cancelled

prctl process timing control options for android.
This commit is contained in:
bors 2022-07-07 23:36:01 +00:00
commit b01a39a237
2 changed files with 10 additions and 3 deletions

View file

@ -1712,12 +1712,15 @@ POSIX_FADV_NORMAL
POSIX_FADV_RANDOM
POSIX_FADV_SEQUENTIAL
POSIX_FADV_WILLNEED
PR_SET_VMA
PR_SET_VMA_ANON_NAME
PR_SET_NO_NEW_PRIVS
PR_GET_NO_NEW_PRIVS
PR_GET_SECCOMP
PR_GET_TIMING
PR_SET_NO_NEW_PRIVS
PR_SET_SECCOMP
PR_TIMING_STATISTICAL
PR_TIMING_TIMESTAMP
PR_SET_VMA
PR_SET_VMA_ANON_NAME
PRIO_MAX
PRIO_MIN
PRIO_PGRP

View file

@ -2502,6 +2502,10 @@ pub const PR_SET_NO_NEW_PRIVS: ::c_int = 38;
pub const PR_GET_NO_NEW_PRIVS: ::c_int = 39;
pub const PR_GET_SECCOMP: ::c_int = 21;
pub const PR_SET_SECCOMP: ::c_int = 22;
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;
// linux/if_addr.h
pub const IFA_UNSPEC: ::c_ushort = 0;