Lines Matching refs:ip_vp
702 fp_set_data(fp, imgp->ip_vp); in exec_shell_imgact()
708 vnode_ref(imgp->ip_vp); in exec_shell_imgact()
827 error = vn_rdwr(UIO_READ, imgp->ip_vp, imgp->ip_vdata, in exec_fat_imgact()
965 assert(imgp->ip_vp != NULL); in get_teamid_for_shared_region()
967 const char *ret = csvnode_get_teamid(imgp->ip_vp, imgp->ip_arch_offset); in get_teamid_for_shared_region()
972 struct cs_blob *blob = csvnode_get_blob(imgp->ip_vp, imgp->ip_arch_offset); in get_teamid_for_shared_region()
1255 …os_log_error(OS_LOG_DEFAULT, "Unsupported 32-bit executable: \"%s\"", (error) ? imgp->ip_vp->v_nam… in exec_mach_imgact()
1509 } else if ((base = IOVnodeGetEntitlement(imgp->ip_vp, in exec_mach_imgact()
1551 if (vnode_is_rsr(imgp->ip_vp)) { in exec_mach_imgact()
1798 error = VNOP_OPEN(imgp->ip_vp, FREAD, imgp->ip_vfs_context); in exec_mach_imgact()
1815 fp_set_data(fp, imgp->ip_vp); in exec_mach_imgact()
1822 vnode_ref(imgp->ip_vp); in exec_mach_imgact()
2019 (userspace_coredump_name = IOVnodeGetEntitlement(imgp->ip_vp, in exec_mach_imgact()
2168 imgp->ip_vp = ndp->ni_vp; /* if set, need to vnode_put() at some point */ in exec_activate_image()
2200 error = vn_rdwr(UIO_READ, imgp->ip_vp, imgp->ip_vdata, PAGE_SIZE, 0, in exec_activate_image()
2243 mac_vnode_label_copy(mac_vnode_label(imgp->ip_vp), in exec_activate_image()
2253 if (vnode_getwithref(imgp->ip_vp) == 0) { in exec_activate_image()
2254 imgp->ip_scriptvp = imgp->ip_vp; in exec_activate_image()
2260 vnode_put(imgp->ip_vp); in exec_activate_image()
2261 imgp->ip_vp = NULL; /* already put */ in exec_activate_image()
4483 if (imgp->ip_vp) { in posix_spawn()
4484 vnode_put(imgp->ip_vp); in posix_spawn()
5056 if (imgp->ip_vp != NULLVP) { in __mac_execve()
5057 vnode_put(imgp->ip_vp); in __mac_execve()
6026 int cdhash_errror = ubc_cs_getcdhash(imgp->ip_vp, imgp->ip_arch_offset, cdhash); in exec_add_apple_strings()
6213 struct vnode *vp = imgp->ip_vp; in exec_check_permissions()
6360 imgp->ip_vp, in exec_handle_sugid()
6454 imgp->ip_vp, in exec_handle_sugid()
6481 …mac_reset_ipc = mac_proc_check_inherit_ipc_ports(p, p->p_textvp, p->p_textoff, imgp->ip_vp, imgp->… in exec_handle_sugid()
7219 vp = imgp->ip_vp; in exec_resettextvp()
7402 no_sandbox_entitled = IOVnodeHasEntitlement(imgp->ip_vp, in process_signature()