* Initialize MAC label for the first userland process, from which other * userland processes and threads are spawned. */
| 145 | * userland processes and threads are spawned. |
| 146 | */ |
| 147 | void |
| 148 | mac_cred_create_init(struct ucred *cred) |
| 149 | { |
| 150 | |
| 151 | MAC_POLICY_PERFORM_NOSLEEP(cred_create_init, cred); |
| 152 | } |
| 153 | |
| 154 | int |
| 155 | mac_cred_externalize_label(struct label *label, char *elements, |