Lines Matching refs:conf_caps
185 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()
238 _pam_drop(conf_caps); in set_capabilities()
285 char *conf_caps; in pam_sm_authenticate() local
303 conf_caps = read_capabilities_for_user(pcs.user, in pam_sm_authenticate()
308 if (conf_caps) { in pam_sm_authenticate()
310 conf_caps)); in pam_sm_authenticate()
317 _pam_overwrite(conf_caps); in pam_sm_authenticate()
318 _pam_drop(conf_caps); in pam_sm_authenticate()