Lines Matching refs:opts
95 auth_parse_options(struct passwd *pw, char *opts, char *file, u_long linenum) in auth_parse_options() argument
103 if (!opts) in auth_parse_options()
106 while (*opts && *opts != ' ' && *opts != '\t') { in auth_parse_options()
108 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
110 opts += strlen(cp); in auth_parse_options()
114 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
117 opts += strlen(cp); in auth_parse_options()
121 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
124 opts += strlen(cp); in auth_parse_options()
128 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
131 opts += strlen(cp); in auth_parse_options()
135 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
138 opts += strlen(cp); in auth_parse_options()
142 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
145 opts += strlen(cp); in auth_parse_options()
149 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
150 opts += strlen(cp); in auth_parse_options()
153 forced_command = xmalloc(strlen(opts) + 1); in auth_parse_options()
155 while (*opts) { in auth_parse_options()
156 if (*opts == '"') in auth_parse_options()
158 if (*opts == '\\' && opts[1] == '"') { in auth_parse_options()
159 opts += 2; in auth_parse_options()
163 forced_command[i++] = *opts++; in auth_parse_options()
165 if (!*opts) { in auth_parse_options()
176 opts++; in auth_parse_options()
180 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
181 opts += strlen(cp); in auth_parse_options()
184 authorized_principals = xmalloc(strlen(opts) + 1); in auth_parse_options()
186 while (*opts) { in auth_parse_options()
187 if (*opts == '"') in auth_parse_options()
189 if (*opts == '\\' && opts[1] == '"') { in auth_parse_options()
190 opts += 2; in auth_parse_options()
194 authorized_principals[i++] = *opts++; in auth_parse_options()
196 if (!*opts) { in auth_parse_options()
208 opts++; in auth_parse_options()
213 strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
217 opts += strlen(cp); in auth_parse_options()
218 s = xmalloc(strlen(opts) + 1); in auth_parse_options()
220 while (*opts) { in auth_parse_options()
221 if (*opts == '"') in auth_parse_options()
223 if (*opts == '\\' && opts[1] == '"') { in auth_parse_options()
224 opts += 2; in auth_parse_options()
228 s[i++] = *opts++; in auth_parse_options()
230 if (!*opts) { in auth_parse_options()
241 opts++; in auth_parse_options()
249 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
253 char *patterns = xmalloc(strlen(opts) + 1); in auth_parse_options()
255 opts += strlen(cp); in auth_parse_options()
257 while (*opts) { in auth_parse_options()
258 if (*opts == '"') in auth_parse_options()
260 if (*opts == '\\' && opts[1] == '"') { in auth_parse_options()
261 opts += 2; in auth_parse_options()
265 patterns[i++] = *opts++; in auth_parse_options()
267 if (!*opts) { in auth_parse_options()
276 opts++; in auth_parse_options()
304 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
307 char *patterns = xmalloc(strlen(opts) + 1); in auth_parse_options()
309 opts += strlen(cp); in auth_parse_options()
311 while (*opts) { in auth_parse_options()
312 if (*opts == '"') in auth_parse_options()
314 if (*opts == '\\' && opts[1] == '"') { in auth_parse_options()
315 opts += 2; in auth_parse_options()
319 patterns[i++] = *opts++; in auth_parse_options()
321 if (!*opts) { in auth_parse_options()
330 opts++; in auth_parse_options()
358 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
360 opts += strlen(cp); in auth_parse_options()
361 tun = xmalloc(strlen(opts) + 1); in auth_parse_options()
363 while (*opts) { in auth_parse_options()
364 if (*opts == '"') in auth_parse_options()
366 tun[i++] = *opts++; in auth_parse_options()
368 if (!*opts) { in auth_parse_options()
389 opts++; in auth_parse_options()
397 if (!*opts) in auth_parse_options()
399 if (*opts == ' ' || *opts == '\t') in auth_parse_options()
401 if (*opts != ',') in auth_parse_options()
403 opts++; in auth_parse_options()
412 file, linenum, opts); in auth_parse_options()
414 file, linenum, opts); in auth_parse_options()