Home
last modified time | relevance | path

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

/external/libcap/pam_cap/
Dpam_cap.c185 char *conf_caps; in set_capabilities() local
196 conf_caps = read_capabilities_for_user(cs->user, in set_capabilities()
199 if (conf_caps == NULL) { in set_capabilities()
204 ssize_t conf_caps_length = strlen(conf_caps); in set_capabilities()
205 if (!strcmp(conf_caps, "all")) { in set_capabilities()
214 if (!strcmp(conf_caps, "none")) { in set_capabilities()
224 iab = cap_iab_from_text(conf_caps); in set_capabilities()
226 D(("unable to parse the IAB [%s] value", conf_caps)); in set_capabilities()
231 D(("able to set the IAB [%s] value", conf_caps)); in set_capabilities()
237 memset(conf_caps, 0, conf_caps_length); in set_capabilities()
[all …]