Searched refs:PR_CAP_AMBIENT (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/test/ |
D | test-capability.c | 111 r = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_CLEAR_ALL, 0, 0, 0); in setup_tests() 207 assert_se(prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_CHOWN, 0, 0) == 0); in test_apply_ambient_caps() 219 assert_se(prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_CHOWN, 0, 0) == 1); in test_apply_ambient_caps() 228 assert_se(prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_CHOWN, 0, 0) == 0); in test_apply_ambient_caps()
|
D | test-execute.c | 1012 r = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_CLEAR_ALL, 0, 0, 0); in test_exec_ambientcapabilities()
|
/systemd-251/src/basic/ |
D | missing_prctl.h | 7 #ifndef PR_CAP_AMBIENT 8 #define PR_CAP_AMBIENT 47 macro
|
D | capability-util.c | 145 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, i, 0, 0) < 0) in capability_ambient_set_apply() 150 r = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, i, 0, 0); in capability_ambient_set_apply() 155 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_LOWER, i, 0, 0) < 0) in capability_ambient_set_apply() 394 cache = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_KILL, 0, 0) >= 0 || in ambient_capabilities_supported()
|