Lines Matching refs:vnode_authorize

7215 		error = vnode_authorize(vp, dvp, KAUTH_VNODE_DELETE, ctx);  in vn_authorize_unlink()
7299 error = vnode_authorize(vp, NULL, action, ctx); in vn_authorize_open_existing()
7348 return vnode_authorize(dvp, NULL, KAUTH_VNODE_ADD_FILE, ctx); in vn_authorize_create()
7509 error = vnode_authorize(fvp, fdvp, KAUTH_VNODE_DELETE | f, ctx); in vn_authorize_renamex_with_paths()
7519 error = vnode_authorize(tvp, tdvp, KAUTH_VNODE_DELETE | t, ctx); in vn_authorize_renamex_with_paths()
7526 error = vnode_authorize(fdvp, NULL, f | t, ctx); in vn_authorize_renamex_with_paths()
7528 error = vnode_authorize(fdvp, NULL, t, ctx); in vn_authorize_renamex_with_paths()
7532 error = vnode_authorize(tdvp, NULL, f, ctx); in vn_authorize_renamex_with_paths()
7561 …if ((error = vnode_authorize(fvp, fdvp, KAUTH_VNODE_DELETE | KAUTH_VNODE_ADD_SUBDIRECTORY, ctx)) !… in vn_authorize_renamex_with_paths()
7565 if ((error = vnode_authorize(fvp, fdvp, KAUTH_VNODE_DELETE, ctx)) != 0) { in vn_authorize_renamex_with_paths()
7571 if ((error = vnode_authorize(((tvp != NULL) && vnode_isdir(tvp)) ? tvp : tdvp, in vn_authorize_renamex_with_paths()
7579 if ((error = vnode_authorize(fdvp, NULL, in vn_authorize_renamex_with_paths()
7586 ((error = vnode_authorize(tvp, tdvp, KAUTH_VNODE_DELETE, ctx)) != 0)) { in vn_authorize_renamex_with_paths()
7631 if ((error = vnode_authorize(dvp, NULL, KAUTH_VNODE_ADD_SUBDIRECTORY, ctx)) != 0) { in vn_authorize_mkdir()
7673 return vnode_authorize(vp, dvp, KAUTH_VNODE_DELETE, ctx); in vn_authorize_rmdir()
7804 vnode_authorize(vnode_t vp, vnode_t dvp, kauth_action_t action, vfs_context_t ctx) in vnode_authorize() function