| 872 | "struct vnode *", "struct timespec *", "struct timespec *"); |
| 873 | |
| 874 | int |
| 875 | mac_vnode_check_setutimes(struct ucred *cred, struct vnode *vp, |
| 876 | struct timespec atime, struct timespec mtime) |
| 877 | { |
| 878 | int error; |
| 879 | |
| 880 | ASSERT_VOP_LOCKED(vp, "mac_vnode_check_setutimes"); |
| 881 | |
| 882 | MAC_POLICY_CHECK(vnode_check_setutimes, cred, vp, vp->v_label, atime, |
| 883 | mtime); |
| 884 | MAC_CHECK_PROBE4(vnode_check_setutimes, error, cred, vp, &atime, |
| 885 | &mtime); |
| 886 | |
| 887 | return (error); |
| 888 | } |
| 889 | |
| 890 | MAC_CHECK_PROBE_DEFINE3(vnode_check_stat, "struct ucred *", "struct ucred *", |
| 891 | "struct vnode *"); |