Searched refs:cv (Results 1 – 2 of 2) sorted by relevance
/systemd-251/src/basic/ |
D | capability-util.c | 367 int drop_capability(cap_value_t cv) { in drop_capability() argument 374 if ((cap_set_flag(tmp_cap, CAP_INHERITABLE, 1, &cv, CAP_CLEAR) < 0) || in drop_capability() 375 (cap_set_flag(tmp_cap, CAP_PERMITTED, 1, &cv, CAP_CLEAR) < 0) || in drop_capability() 376 (cap_set_flag(tmp_cap, CAP_EFFECTIVE, 1, &cv, CAP_CLEAR) < 0)) in drop_capability() 451 cap_value_t cv = (cap_value_t) i; in capability_quintet_enforce() local 457 if (cap_get_flag(c, cv, CAP_INHERITABLE, &old_value_inheritable) < 0) in capability_quintet_enforce() 459 if (cap_get_flag(c, cv, CAP_PERMITTED, &old_value_permitted) < 0) in capability_quintet_enforce() 465 if (cap_set_flag(c, CAP_INHERITABLE, 1, &cv, CAP_SET) < 0) in capability_quintet_enforce() 467 if (cap_set_flag(c, CAP_PERMITTED, 1, &cv, CAP_SET) < 0) in capability_quintet_enforce() 493 cap_value_t cv = (cap_value_t) i; in capability_quintet_enforce() local [all …]
|
D | capability-util.h | 26 int drop_capability(cap_value_t cv);
|