]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/basic/missing_prctl.h
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
4 #include <linux/prctl.h>
8 /* 58319057b7847667f0c9585b9de0e8932b0fdb08 (4.3) */
10 #define PR_CAP_AMBIENT 47
12 #define PR_CAP_AMBIENT_IS_SET 1
13 #define PR_CAP_AMBIENT_RAISE 2
14 #define PR_CAP_AMBIENT_LOWER 3
15 #define PR_CAP_AMBIENT_CLEAR_ALL 4
18 /* b507808ebce23561d4ff8c2aa1fb949fe402bc61 (6.3) */
20 # define PR_SET_MDWE 65
22 assert_cc(PR_SET_MDWE
== 65);
25 #ifndef PR_MDWE_REFUSE_EXEC_GAIN
26 # define PR_MDWE_REFUSE_EXEC_GAIN 1
28 assert_cc(PR_MDWE_REFUSE_EXEC_GAIN
== 1);
31 #ifndef PR_SET_MEMORY_MERGE
32 # define PR_SET_MEMORY_MERGE 67
34 assert_cc(PR_SET_MEMORY_MERGE
== 67);