| 1001 | } |
| 1002 | |
| 1003 | static void |
| 1004 | lomac_cred_create_swapper(struct ucred *cred) |
| 1005 | { |
| 1006 | struct mac_lomac *dest; |
| 1007 | |
| 1008 | dest = SLOT(cred->cr_label); |
| 1009 | |
| 1010 | lomac_set_single(dest, MAC_LOMAC_TYPE_EQUAL, 0); |
| 1011 | lomac_set_range(dest, MAC_LOMAC_TYPE_LOW, 0, MAC_LOMAC_TYPE_HIGH, 0); |
| 1012 | } |
| 1013 | |
| 1014 | static void |
| 1015 | lomac_cred_relabel(struct ucred *cred, struct label *newlabel) |
nothing calls this directly
no test coverage detected