mac_system_check_swapon
int mac_system_check_swapon(struct ucred *cred, struct vnode *vp);
error = mac_system_check_swapon(td->td_ucred, vp);