提交 8afd2a1d 编写于 作者: S Szabolcs Nagy 提交者: Rich Felker

add new PR_CAP_AMBIENT and related defines to sys/prctl.h

ambient capability mask is new in linux v4.3, commit
58319057b7847667f0c9585b9de0e8932b0fdb08
上级 3934f49c
...@@ -124,6 +124,12 @@ struct prctl_mm_map { ...@@ -124,6 +124,12 @@ struct prctl_mm_map {
#define PR_FP_MODE_FR (1 << 0) #define PR_FP_MODE_FR (1 << 0)
#define PR_FP_MODE_FRE (1 << 1) #define PR_FP_MODE_FRE (1 << 1)
#define PR_CAP_AMBIENT 47
#define PR_CAP_AMBIENT_IS_SET 1
#define PR_CAP_AMBIENT_RAISE 2
#define PR_CAP_AMBIENT_LOWER 3
#define PR_CAP_AMBIENT_CLEAR_ALL 4
int prctl (int, ...); int prctl (int, ...);
#ifdef __cplusplus #ifdef __cplusplus
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册