Lines Matching refs:opts

67 auth_parse_options(struct passwd *pw, char *opts, char *file, u_long linenum)  in auth_parse_options()  argument
75 if (!opts) in auth_parse_options()
78 while (*opts && *opts != ' ' && *opts != '\t') { in auth_parse_options()
80 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
83 opts += strlen(cp); in auth_parse_options()
87 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
90 opts += strlen(cp); in auth_parse_options()
94 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
97 opts += strlen(cp); in auth_parse_options()
101 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
104 opts += strlen(cp); in auth_parse_options()
108 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
109 opts += strlen(cp); in auth_parse_options()
110 forced_command = xmalloc(strlen(opts) + 1); in auth_parse_options()
112 while (*opts) { in auth_parse_options()
113 if (*opts == '"') in auth_parse_options()
115 if (*opts == '\\' && opts[1] == '"') { in auth_parse_options()
116 opts += 2; in auth_parse_options()
120 forced_command[i++] = *opts++; in auth_parse_options()
122 if (!*opts) { in auth_parse_options()
133 opts++; in auth_parse_options()
138 strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
142 opts += strlen(cp); in auth_parse_options()
143 s = xmalloc(strlen(opts) + 1); in auth_parse_options()
145 while (*opts) { in auth_parse_options()
146 if (*opts == '"') in auth_parse_options()
148 if (*opts == '\\' && opts[1] == '"') { in auth_parse_options()
149 opts += 2; in auth_parse_options()
153 s[i++] = *opts++; in auth_parse_options()
155 if (!*opts) { in auth_parse_options()
166 opts++; in auth_parse_options()
174 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
178 char *patterns = xmalloc(strlen(opts) + 1); in auth_parse_options()
180 opts += strlen(cp); in auth_parse_options()
182 while (*opts) { in auth_parse_options()
183 if (*opts == '"') in auth_parse_options()
185 if (*opts == '\\' && opts[1] == '"') { in auth_parse_options()
186 opts += 2; in auth_parse_options()
190 patterns[i++] = *opts++; in auth_parse_options()
192 if (!*opts) { in auth_parse_options()
201 opts++; in auth_parse_options()
220 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
223 char *patterns = xmalloc(strlen(opts) + 1); in auth_parse_options()
225 opts += strlen(cp); in auth_parse_options()
227 while (*opts) { in auth_parse_options()
228 if (*opts == '"') in auth_parse_options()
230 if (*opts == '\\' && opts[1] == '"') { in auth_parse_options()
231 opts += 2; in auth_parse_options()
235 patterns[i++] = *opts++; in auth_parse_options()
237 if (!*opts) { in auth_parse_options()
246 opts++; in auth_parse_options()
274 if (!*opts) in auth_parse_options()
276 if (*opts == ' ' || *opts == '\t') in auth_parse_options()
278 if (*opts != ',') in auth_parse_options()
280 opts++; in auth_parse_options()
291 file, linenum, opts); in auth_parse_options()
293 file, linenum, opts); in auth_parse_options()