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()
212 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
216 opts += strlen(cp); in auth_parse_options()
217 s = xmalloc(strlen(opts) + 1); in auth_parse_options()
219 while (*opts) { in auth_parse_options()
220 if (*opts == '"') in auth_parse_options()
222 if (*opts == '\\' && opts[1] == '"') { in auth_parse_options()
223 opts += 2; in auth_parse_options()
227 s[i++] = *opts++; in auth_parse_options()
229 if (!*opts) { in auth_parse_options()
238 opts++; in auth_parse_options()
254 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
258 char *patterns = xmalloc(strlen(opts) + 1); in auth_parse_options()
260 opts += strlen(cp); in auth_parse_options()
262 while (*opts) { in auth_parse_options()
263 if (*opts == '"') in auth_parse_options()
265 if (*opts == '\\' && opts[1] == '"') { in auth_parse_options()
266 opts += 2; in auth_parse_options()
270 patterns[i++] = *opts++; in auth_parse_options()
272 if (!*opts) { in auth_parse_options()
281 opts++; in auth_parse_options()
309 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
312 char *patterns = xmalloc(strlen(opts) + 1); in auth_parse_options()
314 opts += strlen(cp); in auth_parse_options()
316 while (*opts) { in auth_parse_options()
317 if (*opts == '"') in auth_parse_options()
319 if (*opts == '\\' && opts[1] == '"') { in auth_parse_options()
320 opts += 2; in auth_parse_options()
324 patterns[i++] = *opts++; in auth_parse_options()
326 if (!*opts) { in auth_parse_options()
335 opts++; in auth_parse_options()
364 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
366 opts += strlen(cp); in auth_parse_options()
367 tun = xmalloc(strlen(opts) + 1); in auth_parse_options()
369 while (*opts) { in auth_parse_options()
370 if (*opts == '"') in auth_parse_options()
372 tun[i++] = *opts++; in auth_parse_options()
374 if (!*opts) { in auth_parse_options()
395 opts++; in auth_parse_options()
403 if (!*opts) in auth_parse_options()
405 if (*opts == ' ' || *opts == '\t') in auth_parse_options()
407 if (*opts != ',') in auth_parse_options()
409 opts++; in auth_parse_options()
418 file, linenum, opts); in auth_parse_options()
420 file, linenum, opts); in auth_parse_options()