| 188 | } |
| 189 | |
| 190 | static void |
| 191 | cf_check(void) |
| 192 | { |
| 193 | if (!cf_box_root || |
| 194 | !cf_lock_root || |
| 195 | !cf_cg_root) |
| 196 | cf_err("Configuration is not complete"); |
| 197 | |
| 198 | if (verbose > 1) |
| 199 | { |
| 200 | printf("Config: box_root=%s lock_root=%s cg_root=%s\n", cf_box_root, cf_lock_root, cf_cg_root); |
| 201 | printf("Config: first_uids=%d first_gid=%d num_boxes=%d\n", cf_first_uid, cf_first_gid, cf_num_boxes); |
| 202 | printf("Config: restricted_init=%d syscall_flags=%d\n", cf_restricted_init, cf_syscall_flags); |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | void |
| 207 | cf_parse(void) |