Home
last modified time | relevance | path

Searched refs:cap_s (Results 1 – 1 of 1) sorted by relevance

/external/libcap/pam_cap/
Dpam_cap.c106 cap_t cap_s; in set_capabilities() local
113 cap_s = cap_get_proc(); in set_capabilities()
114 if (cap_s == NULL) { in set_capabilities()
129 proc_epcaps = cap_to_text(cap_s, &length); in set_capabilities()
160 cap_free(cap_s); in set_capabilities()
161 cap_s = cap_from_text(combined_caps); in set_capabilities()
167 char *temp = cap_to_text(cap_s, NULL); in set_capabilities()
173 if (cap_s == NULL) { in set_capabilities()
175 } else if (cap_set_proc(cap_s) == 0) { in set_capabilities()
190 if (cap_s) { in set_capabilities()
[all …]