|
|
@ -68,13 +68,11 @@ f2b_jail_apply_config(f2b_jail_t *jail, f2b_config_section_t *config) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void |
|
|
|
void |
|
|
|
f2b_jail_set_defaults(f2b_config_section_t *config) { |
|
|
|
f2b_jail_set_defaults(f2b_config_section_t *section) { |
|
|
|
assert(config != NULL); |
|
|
|
assert(section != NULL); |
|
|
|
assert(config->type == t_defaults); |
|
|
|
assert(section->type == t_defaults); |
|
|
|
|
|
|
|
|
|
|
|
config->type = t_jail; |
|
|
|
f2b_jail_apply_config(&defaults, section); |
|
|
|
f2b_jail_apply_config(&defaults, config); |
|
|
|
|
|
|
|
config->type = t_defaults; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|