Searched refs:test_uid (Results 1 - 1 of 1) sorted by relevance

/systemd/src/test/
H A Dtest-capability.c33 static uid_t test_uid = -1; variable
79 test_uid = nobody->pw_uid;
104 assert_se(drop_privileges(test_uid, test_gid, test_flags | (1ULL << CAP_NET_RAW)) >= 0);
105 assert_se(getuid() == test_uid);
121 assert_se(drop_privileges(test_uid, test_gid, test_flags) >= 0);
122 assert_se(getuid() == test_uid);
131 assert_se(drop_privileges(test_uid, test_gid, test_flags) >= 0);
132 assert_se(getuid() == test_uid);
135 assert_se(drop_privileges(test_uid, test_gid, test_flags) < 0);
149 assert_se(drop_privileges(test_uid, test_gi
[all...]

Completed in 2119 milliseconds