| 999 | } |
| 1000 | |
| 1001 | static void |
| 1002 | box_init(void) |
| 1003 | { |
| 1004 | if (box_id < 0 || box_id >= cf_num_boxes) |
| 1005 | die("Sandbox ID out of range (allowed: 0-%d)", cf_num_boxes-1); |
| 1006 | box_uid = cf_first_uid + box_id; |
| 1007 | box_gid = cf_first_gid + box_id; |
| 1008 | |
| 1009 | snprintf(box_dir, sizeof(box_dir), "%s/%d", cf_box_root, box_id); |
| 1010 | } |
| 1011 | |
| 1012 | /*** Commands ***/ |
| 1013 |
no outgoing calls
no test coverage detected
searching dependent graphs…