| 885 | } |
| 886 | |
| 887 | static void |
| 888 | lomac_bpfdesc_create(struct ucred *cred, struct bpf_d *d, |
| 889 | struct label *dlabel) |
| 890 | { |
| 891 | struct mac_lomac *source, *dest; |
| 892 | |
| 893 | source = SLOT(cred->cr_label); |
| 894 | dest = SLOT(dlabel); |
| 895 | |
| 896 | lomac_copy_single(source, dest); |
| 897 | } |
| 898 | |
| 899 | static void |
| 900 | lomac_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel, |
nothing calls this directly
no test coverage detected