Lines Matching refs:vnode_authorize
1060 if ((error = vnode_authorize(devvp, NULL, accessmode, ctx)) != 0) { in mount_common()
1119 (error = vnode_authorize(device_vnode, NULL, in mount_common()
1682 if ((error = vnode_authorize(vp, NULL, accessmode, ctx)) != 0) { in authorize_devpath_and_update_mntfromname()
3729 error = vnode_authorize(vp, NULL, KAUTH_VNODE_SEARCH, ctx); in common_fchdir()
4127 error = vnode_authorize(vp, NULL, KAUTH_VNODE_SEARCH, ctx); in change_dir()
4778 if ((error = vnode_authorize(dvp, NULL, KAUTH_VNODE_ADD_FILE, ctx)) != 0) { in mknod()
5120 if ((error = vnode_authorize(vp, NULL, KAUTH_VNODE_LINKTARGET, ctx)) != 0) { in linkat_internal()
5136 if ((error = vnode_authorize(dvp, NULL, KAUTH_VNODE_ADD_FILE, ctx)) != 0) { in linkat_internal()
5334 error = vnode_authorize(dvp, NULL, KAUTH_VNODE_ADD_FILE, ctx); in symlinkat_internal()
5938 error = vnode_authorize(vp, dvp, action | KAUTH_VNODE_ACCESS, ctx); in access1()
6776 error = vnode_authorize(vp, NULL, KAUTH_VNODE_READ_DATA, in readlinkat_internal()
6869 if (action && ((error = vnode_authorize(vp, NULL, action | KAUTH_VNODE_NOIMMUTABLE, ctx)) != 0)) { in chflags0()
7016 ((error = vnode_authorize(vp, NULL, action, ctx)) != 0)) { in chmod_vnode()
7343 if (action && ((error = vnode_authorize(vp, NULL, action, ctx)) != 0)) { in fchownat_internal()
7445 if (action && ((error = vnode_authorize(vp, NULL, action, ctx)) != 0)) { in fchown()
7537 if ((action != 0) && ((error = vnode_authorize(vp, NULL, action, ctx)) != 0)) { in setutimes()
7674 if ((action != 0) && ((error = vnode_authorize(vp, NULL, action, ctx)) != 0)) { in truncate()
7931 if ((error = vnode_authorize(fvp, NULL, KAUTH_VNODE_READ_DATA, ctx)) != 0) { in copyfile()
7935 if ((error = vnode_authorize(tvp, tdvp, KAUTH_VNODE_DELETE, ctx)) != 0) { in copyfile()
7939 if ((error = vnode_authorize(tdvp, NULL, KAUTH_VNODE_ADD_FILE, ctx)) != 0) { in copyfile()
8054 if ((error = vnode_authorize(tdvp, NULL, action, ctx))) { in clonefile_internal()
8062 if ((error = vnode_authorize(fvp, NULL, action, ctx))) { in clonefile_internal()
10071 if ((error = vnode_authorize(vp, NULL, action, ctx)) == 0) { in getdirentriesattr()
10218 …if (((error = vnode_authorize(fvp, NULL, KAUTH_VNODE_READ_DATA | KAUTH_VNODE_WRITE_DATA, ctx)) != … in exchangedata()
10219 …((error = vnode_authorize(svp, NULL, KAUTH_VNODE_READ_DATA | KAUTH_VNODE_WRITE_DATA, ctx)) != 0)) { in exchangedata()
13818 (vnode_authorize(devvp, NULL, KAUTH_VNODE_WRITE_DATA, ctx) != 0) && in fs_snapshot()