Lines Matching defs:rules_string
1212 parse_and_set_rules(struct prison *const pr, const char *rules_string,
1218 error = parse_rules(rules_string, &rules, parse_error);
1318 char *rules_string;
1338 error = vfs_getopt(opts, "mac.do.rules", (void**)&rules_string, &size);
1360 if (size == 0 || rules_string[size - 1] != '\0') {
1372 jsys = rules_string[0] == '\0' ? JAIL_SYS_DISABLE :
1382 if (rules_string[0] != '\0') {
1399 char *rules_string;
1413 rules_string = vfs_getopts(opts, "mac.do.rules", &error);
1416 MPASS(strlen(rules_string) < MAC_RULE_STRING_LEN);
1419 jsys = rules_string[0] == '\0' ? JAIL_SYS_DISABLE :
1425 rules_string[0] == '\0'));
1436 rules_string = "";
1446 error = parse_and_set_rules(pr, rules_string, &parse_error);