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()
1206 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_mach_imgact()
1640 fdt_exec(p, vfs_context_ucred(imgp->ip_vfs_context), in exec_mach_imgact()
1909 error = falloc_exec(p, imgp->ip_vfs_context, &fp, &main_binary_fd); in exec_mach_imgact()
1924 error = VNOP_OPEN(imgp->ip_vp, FREAD, imgp->ip_vfs_context); in exec_mach_imgact()
2263 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_activate_image()
2289 UIO_SYSSPACE, CAST_USER_ADDR_T(excpath), imgp->ip_vfs_context); in exec_activate_image()
2334 vfs_context_ucred(imgp->ip_vfs_context), in exec_activate_image()
2335 &resid, vfs_context_proc(imgp->ip_vfs_context)); in exec_activate_image()
2398 UIO_SYSSPACE, CAST_USER_ADDR_T(excpath), imgp->ip_vfs_context); in exec_activate_image()
2420 kauth_authorize_fileop(vfs_context_ucred(imgp->ip_vfs_context), in exec_activate_image()
2610 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_handle_port_actions()
2841 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_handle_file_actions()
2842 kauth_cred_t p_cred = vfs_context_ucred(imgp->ip_vfs_context); in exec_handle_file_actions()
2889 imgp->ip_vfs_context); in exec_handle_file_actions()
2891 error = open1(imgp->ip_vfs_context, ndp, in exec_handle_file_actions()
3029 imgp->ip_vfs_context); in exec_handle_file_actions()
3031 error = chdir_internal(p, imgp->ip_vfs_context, nd, 0); in exec_handle_file_actions()
3039 error = fchdir(p, imgp->ip_vfs_context, in exec_handle_file_actions()
3662 imgp->ip_vfs_context = &context; in posix_spawn()
5268 imgp->ip_vfs_context = &context; in __mac_execve()
5694 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_copyout_strings()
6552 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_check_permissions()
6570 if ((error = vnode_getattr(vp, vap, imgp->ip_vfs_context)) != 0) { in exec_check_permissions()
6612 error = mac_vnode_check_exec(imgp->ip_vfs_context, vp, imgp); in exec_check_permissions()
6624 if ((error = vnode_authorize(vp, NULL, action, imgp->ip_vfs_context)) != 0) { in exec_check_permissions()
6675 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_handle_sugid()
6676 kauth_cred_t cred = vfs_context_ucred(imgp->ip_vfs_context); in exec_handle_sugid()
6695 imgp->ip_vfs_context, in exec_handle_sugid()
6791 imgp->ip_vfs_context, in exec_handle_sugid()
6884 if ((error = falloc_exec(p, imgp->ip_vfs_context, in exec_handle_sugid()
6894 imgp->ip_vfs_context); in exec_handle_sugid()