Lines Matching refs:cap_s
106 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()
191 cap_free(cap_s); in set_capabilities()
192 cap_s = NULL; in set_capabilities()