| 136 | } |
| 137 | |
| 138 | void |
| 139 | mac_vnode_init(struct vnode *vp) |
| 140 | { |
| 141 | |
| 142 | if (mac_labeled & MPC_OBJECT_VNODE) |
| 143 | vp->v_label = mac_vnode_label_alloc(); |
| 144 | else |
| 145 | vp->v_label = NULL; |
| 146 | } |
| 147 | |
| 148 | static void |
| 149 | mac_devfs_label_free(struct label *label) |
no test coverage detected