Lines Matching refs:whitelist
183 ifp_attr_allowed(const char *whitelist[], const char *attr)
187 if (whitelist == NULL) {
191 for (i = 0; whitelist[i]; i++) {
192 if (strcasecmp(whitelist[i], attr) == 0) {
197 return (whitelist[i]) ? true : false;
213 const char **whitelist = ifp_ctx->user_whitelist;
225 for (i = 0; whitelist[i] != NULL; i++) {
226 /* Just count number of attributes in whitelist. */
236 for (i = 0; whitelist[i] != NULL; i++) {
239 if (strcmp(whitelist[i], std[j]) == 0) {
246 extra[extra_num] = talloc_strdup(extra, whitelist[i]);