Lines Matching refs:arg
662 char *arg, *attrib, *cp = *condition; in match_cfg_line() local
673 if ((arg = strdelim(&cp)) == NULL || *arg == '\0') { in match_cfg_line()
677 len = strlen(arg); in match_cfg_line()
683 if (match_pattern_list(user, arg, len, 0) != 1) in match_cfg_line()
687 "line %d", user, arg, line); in match_cfg_line()
689 switch (match_cfg_line_group(arg, line, user)) { in match_cfg_line()
700 if (match_hostname(host, arg, len) != 1) in match_cfg_line()
704 "%.100s' at line %d", host, arg, line); in match_cfg_line()
706 switch (addr_match_list(address, arg)) { in match_cfg_line()
709 "%.100s' at line %d", address, arg, line); in match_cfg_line()
736 char *cp, **charptr, *arg, *p; in process_server_config_line() local
743 arg = strdelim(&cp); in process_server_config_line()
745 if (*arg == '\0') in process_server_config_line()
746 arg = strdelim(&cp); in process_server_config_line()
747 if (!arg || !*arg || *arg == '#') in process_server_config_line()
751 opcode = parse_token(arg, filename, linenum, &flags); in process_server_config_line()
758 debug3("%s:%d setting %s %s", filename, linenum, arg, cp); in process_server_config_line()
762 "within a Match block", filename, linenum, arg); in process_server_config_line()
764 while (arg) in process_server_config_line()
765 arg = strdelim(&cp); in process_server_config_line()
792 arg = strdelim(&cp); in process_server_config_line()
793 if (!arg || *arg == '\0') in process_server_config_line()
796 options->ports[options->num_ports++] = a2port(arg); in process_server_config_line()
805 arg = strdelim(&cp); in process_server_config_line()
806 if (!arg || *arg == '\0') in process_server_config_line()
809 value = atoi(arg); in process_server_config_line()
817 arg = strdelim(&cp); in process_server_config_line()
818 if (!arg || *arg == '\0') in process_server_config_line()
821 if ((value = convtime(arg)) == -1) in process_server_config_line()
833 arg = strdelim(&cp); in process_server_config_line()
834 if (!arg || *arg == '\0' || strncmp(arg, "[]", 2) == 0) in process_server_config_line()
837 if (*arg == '[') { in process_server_config_line()
838 if ((p = strchr(arg, ']')) == NULL) in process_server_config_line()
841 arg++; in process_server_config_line()
843 } else if (((p = strchr(arg, ':')) == NULL) || in process_server_config_line()
845 add_listen_addr(options, arg, 0); in process_server_config_line()
860 add_listen_addr(options, arg, port); in process_server_config_line()
863 add_listen_addr(options, arg, 0); in process_server_config_line()
876 arg = strdelim(&cp); in process_server_config_line()
877 if (!arg || *arg == '\0') in process_server_config_line()
881 *charptr = tilde_expand_filename(arg, getuid()); in process_server_config_line()
894 arg = strdelim(&cp); in process_server_config_line()
895 if (!arg || *arg == '\0') in process_server_config_line()
900 if (strcmp(arg, "without-password") == 0) in process_server_config_line()
902 else if (strcmp(arg, "forced-commands-only") == 0) in process_server_config_line()
904 else if (strcmp(arg, "yes") == 0) in process_server_config_line()
906 else if (strcmp(arg, "no") == 0) in process_server_config_line()
911 "argument: %s", filename, linenum, arg); in process_server_config_line()
919 arg = strdelim(&cp); in process_server_config_line()
920 if (!arg || *arg == '\0') in process_server_config_line()
924 if (strcmp(arg, "yes") == 0) in process_server_config_line()
926 else if (strcmp(arg, "no") == 0) in process_server_config_line()
930 filename, linenum, arg); in process_server_config_line()
1060 while (arg) in process_server_config_line()
1061 arg = strdelim(&cp); in process_server_config_line()
1070 arg = strdelim(&cp); in process_server_config_line()
1071 if (!arg || *arg == '\0') in process_server_config_line()
1075 if (strcmp(arg, "clientspecified") == 0) in process_server_config_line()
1077 else if (strcmp(arg, "yes") == 0) in process_server_config_line()
1079 else if (strcmp(arg, "no") == 0) in process_server_config_line()
1083 "argument: %s", filename, linenum, arg); in process_server_config_line()
1094 arg = strdelim(&cp); in process_server_config_line()
1095 value = log_facility_number(arg); in process_server_config_line()
1098 filename, linenum, arg ? arg : "<NONE>"); in process_server_config_line()
1105 arg = strdelim(&cp); in process_server_config_line()
1106 value = log_level_number(arg); in process_server_config_line()
1109 filename, linenum, arg ? arg : "<NONE>"); in process_server_config_line()
1121 while (arg) in process_server_config_line()
1122 arg = strdelim(&cp); in process_server_config_line()
1126 while (((arg = strdelim(&cp)) != NULL) && *arg != '\0') { in process_server_config_line()
1131 xstrdup(arg); in process_server_config_line()
1136 while (((arg = strdelim(&cp)) != NULL) && *arg != '\0') { in process_server_config_line()
1141 xstrdup(arg); in process_server_config_line()
1146 while (((arg = strdelim(&cp)) != NULL) && *arg != '\0') { in process_server_config_line()
1151 xstrdup(arg); in process_server_config_line()
1156 while (((arg = strdelim(&cp)) != NULL) && *arg != '\0') { in process_server_config_line()
1160 options->deny_groups[options->num_deny_groups++] = xstrdup(arg); in process_server_config_line()
1165 arg = strdelim(&cp); in process_server_config_line()
1166 if (!arg || *arg == '\0') in process_server_config_line()
1168 if (!ciphers_valid(arg)) in process_server_config_line()
1170 filename, linenum, arg ? arg : "<NONE>"); in process_server_config_line()
1172 options->ciphers = xstrdup(arg); in process_server_config_line()
1176 arg = strdelim(&cp); in process_server_config_line()
1177 if (!arg || *arg == '\0') in process_server_config_line()
1179 if (!mac_valid(arg)) in process_server_config_line()
1181 filename, linenum, arg ? arg : "<NONE>"); in process_server_config_line()
1183 options->macs = xstrdup(arg); in process_server_config_line()
1188 arg = strdelim(&cp); in process_server_config_line()
1189 if (!arg || *arg == '\0') in process_server_config_line()
1191 value = proto_spec(arg); in process_server_config_line()
1194 filename, linenum, arg ? arg : "<NONE>"); in process_server_config_line()
1204 arg = strdelim(&cp); in process_server_config_line()
1205 if (!arg || *arg == '\0') in process_server_config_line()
1209 arg = strdelim(&cp); in process_server_config_line()
1213 if (strcmp(arg, options->subsystem_name[i]) == 0) in process_server_config_line()
1215 filename, linenum, arg); in process_server_config_line()
1216 options->subsystem_name[options->num_subsystems] = xstrdup(arg); in process_server_config_line()
1217 arg = strdelim(&cp); in process_server_config_line()
1218 if (!arg || *arg == '\0') in process_server_config_line()
1221 options->subsystem_command[options->num_subsystems] = xstrdup(arg); in process_server_config_line()
1228 p = xstrdup(arg); in process_server_config_line()
1230 while ((arg = strdelim(&cp)) != NULL && *arg != '\0') { in process_server_config_line()
1231 len += 1 + strlen(arg); in process_server_config_line()
1234 strlcat(p, arg, len); in process_server_config_line()
1241 arg = strdelim(&cp); in process_server_config_line()
1242 if (!arg || *arg == '\0') in process_server_config_line()
1245 if ((n = sscanf(arg, "%d:%d:%d", in process_server_config_line()
1305 arg = strdelim(&cp); in process_server_config_line()
1306 if (arg == NULL || *arg == '\0') in process_server_config_line()
1310 *charptr = xstrdup(arg); in process_server_config_line()
1330 filename, linenum, arg); in process_server_config_line()
1331 while (arg) in process_server_config_line()
1332 arg = strdelim(&cp); in process_server_config_line()
1336 arg = strdelim(&cp); in process_server_config_line()
1337 if (!arg || *arg == '\0') in process_server_config_line()
1344 options->pam_service_prefix = xstrdup(arg); in process_server_config_line()
1348 arg = strdelim(&cp); in process_server_config_line()
1349 if (!arg || *arg == '\0') in process_server_config_line()
1356 options->pam_service_name = xstrdup(arg); in process_server_config_line()
1361 filename, linenum, arg, opcode); in process_server_config_line()
1363 if ((arg = strdelim(&cp)) != NULL && *arg != '\0') in process_server_config_line()
1365 filename, linenum, arg); in process_server_config_line()