| 98 | } |
| 99 | |
| 100 | void |
| 101 | mac_proc_init(struct proc *p) |
| 102 | { |
| 103 | |
| 104 | if (mac_labeled & MPC_OBJECT_PROC) |
| 105 | p->p_label = mac_proc_label_alloc(); |
| 106 | else |
| 107 | p->p_label = NULL; |
| 108 | } |
| 109 | |
| 110 | static void |
| 111 | mac_proc_label_free(struct label *label) |
no test coverage detected