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

/systemd/src/basic/
H A Dcapability-util.h33 int have_effective_cap(int value);
H A Dcapability-util.c36 int have_effective_cap(int value) { function
/systemd/src/test/
H A Dtest-capability.c146 assert_se(have_effective_cap(CAP_KILL));
147 assert_se(have_effective_cap(CAP_CHOWN));
153 assert_se(have_effective_cap(CAP_KILL));
154 assert_se(!have_effective_cap(CAP_CHOWN));
/systemd/src/core/
H A Dkmod-setup.c79 if (have_effective_cap(CAP_SYS_MODULE) == 0)
/systemd/src/tmpfiles/
H A Dtmpfiles.c1391 if (have_effective_cap(CAP_MKNOD) == 0) {

Completed in 207 milliseconds