| 2862 | } |
| 2863 | |
| 2864 | static void |
| 2865 | lomac_vnode_relabel(struct ucred *cred, struct vnode *vp, |
| 2866 | struct label *vplabel, struct label *newlabel) |
| 2867 | { |
| 2868 | struct mac_lomac *source, *dest; |
| 2869 | |
| 2870 | source = SLOT(newlabel); |
| 2871 | dest = SLOT(vplabel); |
| 2872 | |
| 2873 | try_relabel(source, dest); |
| 2874 | } |
| 2875 | |
| 2876 | static int |
| 2877 | lomac_vnode_setlabel_extattr(struct ucred *cred, struct vnode *vp, |
nothing calls this directly
no test coverage detected