| 990 | } |
| 991 | |
| 992 | static void |
| 993 | lomac_cred_create_init(struct ucred *cred) |
| 994 | { |
| 995 | struct mac_lomac *dest; |
| 996 | |
| 997 | dest = SLOT(cred->cr_label); |
| 998 | |
| 999 | lomac_set_single(dest, MAC_LOMAC_TYPE_HIGH, 0); |
| 1000 | lomac_set_range(dest, MAC_LOMAC_TYPE_LOW, 0, MAC_LOMAC_TYPE_HIGH, 0); |
| 1001 | } |
| 1002 | |
| 1003 | static void |
| 1004 | lomac_cred_create_swapper(struct ucred *cred) |
nothing calls this directly
no test coverage detected