Searched refs:tmp_cap (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/basic/ |
D | capability-util.c | 368 _cleanup_cap_free_ cap_t tmp_cap = NULL; in drop_capability() local 370 tmp_cap = cap_get_proc(); in drop_capability() 371 if (!tmp_cap) in drop_capability() 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() 379 if (cap_set_proc(tmp_cap) < 0) in drop_capability()
|