Lines Matching refs:ip_vfs_context

713 		p = vfs_context_proc(imgp->ip_vfs_context);  in exec_shell_imgact()
714 error = falloc_exec(p, imgp->ip_vfs_context, &fp, &fd); in exec_shell_imgact()
767 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_fat_imgact()
1202 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_mach_imgact()
1632 fdt_exec(p, vfs_context_ucred(imgp->ip_vfs_context), in exec_mach_imgact()
1901 error = falloc_exec(p, imgp->ip_vfs_context, &fp, &main_binary_fd); in exec_mach_imgact()
1916 error = VNOP_OPEN(imgp->ip_vp, FREAD, imgp->ip_vfs_context); in exec_mach_imgact()
2255 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_activate_image()
2281 UIO_SYSSPACE, CAST_USER_ADDR_T(excpath), imgp->ip_vfs_context); in exec_activate_image()
2326 vfs_context_ucred(imgp->ip_vfs_context), in exec_activate_image()
2327 &resid, vfs_context_proc(imgp->ip_vfs_context)); in exec_activate_image()
2390 UIO_SYSSPACE, CAST_USER_ADDR_T(excpath), imgp->ip_vfs_context); in exec_activate_image()
2412 kauth_authorize_fileop(vfs_context_ucred(imgp->ip_vfs_context), in exec_activate_image()
2602 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_handle_port_actions()
2833 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_handle_file_actions()
2834 kauth_cred_t p_cred = vfs_context_ucred(imgp->ip_vfs_context); in exec_handle_file_actions()
2881 imgp->ip_vfs_context); in exec_handle_file_actions()
2883 error = open1(imgp->ip_vfs_context, ndp, in exec_handle_file_actions()
3021 imgp->ip_vfs_context); in exec_handle_file_actions()
3023 error = chdir_internal(p, imgp->ip_vfs_context, nd, 0); in exec_handle_file_actions()
3031 error = fchdir(p, imgp->ip_vfs_context, in exec_handle_file_actions()
3654 imgp->ip_vfs_context = &context; in posix_spawn()
5258 imgp->ip_vfs_context = &context; in __mac_execve()
5684 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_copyout_strings()
6542 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_check_permissions()
6560 if ((error = vnode_getattr(vp, vap, imgp->ip_vfs_context)) != 0) { in exec_check_permissions()
6602 error = mac_vnode_check_exec(imgp->ip_vfs_context, vp, imgp); in exec_check_permissions()
6614 if ((error = vnode_authorize(vp, NULL, action, imgp->ip_vfs_context)) != 0) { in exec_check_permissions()
6665 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_handle_sugid()
6666 kauth_cred_t cred = vfs_context_ucred(imgp->ip_vfs_context); in exec_handle_sugid()
6685 imgp->ip_vfs_context, in exec_handle_sugid()
6781 imgp->ip_vfs_context, in exec_handle_sugid()
6874 if ((error = falloc_exec(p, imgp->ip_vfs_context, in exec_handle_sugid()
6884 imgp->ip_vfs_context); in exec_handle_sugid()