Searched refs:test_flags (Results 1 - 1 of 1) sorted by relevance
/systemd/src/test/ |
H A D | test-capability.c | 37 static uint64_t test_flags = 1ULL << CAP_DAC_OVERRIDE; variable 104 assert_se(drop_privileges(test_uid, test_gid, test_flags | (1ULL << CAP_NET_RAW)) >= 0); 121 assert_se(drop_privileges(test_uid, test_gid, test_flags) >= 0); 131 assert_se(drop_privileges(test_uid, test_gid, test_flags) >= 0); 135 assert_se(drop_privileges(test_uid, test_gid, test_flags) < 0); 136 assert_se(drop_privileges(0, 0, test_flags) < 0); 149 assert_se(drop_privileges(test_uid, test_gid, test_flags | (1ULL << CAP_KILL)) >= 0);
|
Completed in 255 milliseconds