Lines Matching refs:optarg
142 if (!strcmp(optarg, "selinux")) {
144 } else if (!strcmp(optarg, "xen")) {
147 fprintf(stderr, "Unknown target: %s\n", optarg);
152 if (!strcasecmp(optarg, "true") || !strcasecmp(optarg, "1")) {
154 } else if (!strcasecmp(optarg, "false") || !strcasecmp(optarg, "0")) {
163 policyvers = strtol(optarg, &endptr, 10);
164 if (errno != 0 || endptr == optarg || *endptr != '\0') {
165 fprintf(stderr, "Bad policy version: %s\n", optarg);
176 if (!strcasecmp(optarg, "deny")) {
178 } else if (!strcasecmp(optarg, "allow")) {
180 } else if (!strcasecmp(optarg, "reject")) {
203 output = strdup(optarg);
207 filecontexts = strdup(optarg);
215 attrs_expand_size = strtol(optarg, &endptr, 10);
216 if (errno != 0 || endptr == optarg || *endptr != '\0') {
217 fprintf(stderr, "Bad attribute expand size: %s\n", optarg);
235 fprintf(stderr, "Unsupported option: %s\n", optarg);