Lines Matching refs:opts

91 auth_parse_options(struct passwd *pw, char *opts, char *file, u_long linenum)
99 if (!opts)
102 while (*opts && *opts != ' ' && *opts != '\t') {
104 if (strncasecmp(opts, cp, strlen(cp)) == 0) {
106 opts += strlen(cp);
110 if (strncasecmp(opts, cp, strlen(cp)) == 0) {
113 opts += strlen(cp);
117 if (strncasecmp(opts, cp, strlen(cp)) == 0) {
120 opts += strlen(cp);
124 if (strncasecmp(opts, cp, strlen(cp)) == 0) {
127 opts += strlen(cp);
131 if (strncasecmp(opts, cp, strlen(cp)) == 0) {
134 opts += strlen(cp);
138 if (strncasecmp(opts, cp, strlen(cp)) == 0) {
141 opts += strlen(cp);
145 if (strncasecmp(opts, cp, strlen(cp)) == 0) {
146 opts += strlen(cp);
149 forced_command = xmalloc(strlen(opts) + 1);
151 while (*opts) {
152 if (*opts == '"')
154 if (*opts == '\\' && opts[1] == '"') {
155 opts += 2;
159 forced_command[i++] = *opts++;
161 if (!*opts) {
172 opts++;
176 if (strncasecmp(opts, cp, strlen(cp)) == 0) {
177 opts += strlen(cp);
180 authorized_principals = xmalloc(strlen(opts) + 1);
182 while (*opts) {
183 if (*opts == '"')
185 if (*opts == '\\' && opts[1] == '"') {
186 opts += 2;
190 authorized_principals[i++] = *opts++;
192 if (!*opts) {
204 opts++;
209 strncasecmp(opts, cp, strlen(cp)) == 0) {
213 opts += strlen(cp);
214 s = xmalloc(strlen(opts) + 1);
216 while (*opts) {
217 if (*opts == '"')
219 if (*opts == '\\' && opts[1] == '"') {
220 opts += 2;
224 s[i++] = *opts++;
226 if (!*opts) {
237 opts++;
245 if (strncasecmp(opts, cp, strlen(cp)) == 0) {
249 char *patterns = xmalloc(strlen(opts) + 1);
251 opts += strlen(cp);
253 while (*opts) {
254 if (*opts == '"')
256 if (*opts == '\\' && opts[1] == '"') {
257 opts += 2;
261 patterns[i++] = *opts++;
263 if (!*opts) {
272 opts++;
300 if (strncasecmp(opts, cp, strlen(cp)) == 0) {
303 char *patterns = xmalloc(strlen(opts) + 1);
305 opts += strlen(cp);
307 while (*opts) {
308 if (*opts == '"')
310 if (*opts == '\\' && opts[1] == '"') {
311 opts += 2;
315 patterns[i++] = *opts++;
317 if (!*opts) {
326 opts++;
354 if (strncasecmp(opts, cp, strlen(cp)) == 0) {
356 opts += strlen(cp);
357 tun = xmalloc(strlen(opts) + 1);
359 while (*opts) {
360 if (*opts == '"')
362 tun[i++] = *opts++;
364 if (!*opts) {
385 opts++;
393 if (!*opts)
395 if (*opts == ' ' || *opts == '\t')
397 if (*opts != ',')
399 opts++;
408 file, linenum, opts);
410 file, linenum, opts);