| /xnu-10063.141.1/bsd/netinet/ |
| H A D | in_pcblist.c | 141 xso->so_last_pid = so->last_pid; in sotoxsocket_n() 602 proc_name(so->last_pid, pname, sizeof(pname)); in inpcb_get_if_ports_used() 620 ifp->if_xname, pname, so->last_pid); in inpcb_get_if_ports_used() 699 proc_name(so->last_pid, pname, sizeof(pname)); in inpcb_get_if_ports_used() 717 ifp->if_xname, pname, so->last_pid); in inpcb_get_if_ports_used() 800 "[%d,%d] %s\n", so->last_pid, in inpcb_count_opportunistic()
|
| H A D | mptcp_subr.c | 1462 p = proc_find(mp_so->last_pid); in mptcp_subflow_socreate() 1465 __func__, (unsigned long)VM_KERNEL_ADDRPERM(mpte), mp_so->last_pid); in mptcp_subflow_socreate() 1551 error = necp_client_register_socket_flow(mp_so->last_pid, in mptcp_subflow_socreate() 1612 (*so)->last_pid = mp_so->last_pid; in mptcp_subflow_socreate() 1862 p = proc_find(mp_so->last_pid); in mptcp_subflow_soconnectx() 1865 __func__, (unsigned long)VM_KERNEL_ADDRPERM(mpte), mp_so->last_pid); in mptcp_subflow_soconnectx() 1986 if (so->last_pid != mp_so->last_pid || in mptcp_update_last_owner() 1989 so->last_pid = mp_so->last_pid; in mptcp_update_last_owner() 2388 if (mp_so->last_pid != proc_pid(p)) { in mptcp_subflow_sosend() 2389 p = proc_find(mp_so->last_pid); in mptcp_subflow_sosend() [all …]
|
| H A D | udp_log.c | 136 inp->inp_last_proc_name, so->last_pid
|
| H A D | in_pcb.c | 1509 apnfallbk_data.epid = so->last_pid; in apn_fallback_trigger() 2063 so->last_pid, in in_pcbdetach() 3724 soprocinfo->spi_pid = so->last_pid; in inp_get_soprocinfo() 3727 if (so->last_pid != 0) { in inp_get_soprocinfo() 3739 soprocinfo->spi_epid = so->last_pid; in inp_get_soprocinfo() 3801 epid = so->last_pid; in inp_update_cellular_policy() 3846 epid = so->last_pid; in inp_update_necp_want_app_policy() 3897 if (so->last_pid == 0 && !(so->so_flags & SOF_DELEGATED)) { in inp_update_policy()
|
| H A D | tcp_log.c | 146 inp->inp_last_proc_name, so->last_pid 1156 inp->inp_last_proc_name, so->last_pid in tcp_log_state_change()
|
| H A D | flow_divert.c | 288 group_cursor->in_process_pid != fd_cb->so->last_pid)) { in flow_divert_group_lookup() 290 ctl_unit, group_cursor->in_process_pid, fd_cb->so ? fd_cb->so->last_pid : 0); in flow_divert_group_lookup() 1127 proc_t real_proc = proc_find(so->last_pid); in flow_divert_add_all_proc_info() 1134 FDLOG(LOG_ERR, fd_cb, "failed to find the real proc record for %d", so->last_pid); in flow_divert_add_all_proc_info() 2269 last_proc = proc_find(so->last_pid); in flow_divert_disable() 2696 necp_client_assign_from_socket(so->last_pid, inp->necp_client_uuid, inp); in flow_divert_handle_connect_result() 4178 …uint32_t group_unit = flow_divert_derive_kernel_control_unit(so->last_pid, &policy_control_unit, &… in flow_divert_pcb_init_internal()
|
| H A D | tcp_usrreq.c | 317 necp_client_assign_from_socket(so->last_pid, inp->necp_client_uuid, inp); in tcp_usr_bind() 482 necp_client_assign_from_socket(so->last_pid, inp->necp_client_uuid, inp); in tcp_connect_complete() 1113 so->last_pid, in mpkl_tcp_send() 2159 *out_pid = finp->inp_socket->last_pid; in tcp_lookup_peer_pid_locked()
|
| H A D | in_tclass.c | 963 "[%d,%d] opportunistic %s\n", so->last_pid, in so_set_traffic_class() 1247 "%s recv\n", so->last_pid, in set_tcp_stream_priority()
|
| H A D | udp_usrreq.c | 2010 m->m_pkthdr.tx_udp_pid = so->last_pid; in udp_output() 2298 necp_client_assign_from_socket(so->last_pid, inp->necp_client_uuid, inp); in udp_bind() 2348 necp_client_assign_from_socket(so->last_pid, inp->necp_client_uuid, inp); in udp_connect()
|
| H A D | raw_ip.c | 660 m->m_pkthdr.tx_rawip_pid = so->last_pid; in rip_output()
|
| /xnu-10063.141.1/bsd/net/ |
| H A D | if_ports_used.c | 783 npi.npi_owner_pid = so->last_pid; in if_ports_used_add_inpcb() 785 if (so->last_pid != 0) { in if_ports_used_add_inpcb() 786 proc_name(so->last_pid, npi.npi_owner_pname, in if_ports_used_add_inpcb() 800 npi.npi_effective_pid = so->last_pid; in if_ports_used_add_inpcb() 801 if (so->last_pid != 0) { in if_ports_used_add_inpcb()
|
| H A D | content_filter.c | 614 #define SOCKET_PID(so) ((so->so_flags & SOF_DELEGATED) ? so->e_pid : so->last_pid) 2272 sock_info->cfs_pid = sock->last_pid; in cfil_ctl_getopt() 2279 sock_info->cfs_e_pid = sock->last_pid; in cfil_ctl_getopt() 3221 data.pid = so->last_pid; in cfil_dispatch_data_event_sign() 3227 data.effective_pid = so->last_pid; in cfil_dispatch_data_event_sign() 3282 data.pid = so->last_pid; in cfil_dispatch_closed_event_sign() 3288 data.effective_pid = so->last_pid; in cfil_dispatch_closed_event_sign() 3438 msg_attached->cfs_pid = so->last_pid; in cfil_dispatch_attach_event() 3444 msg_attached->cfs_e_pid = so->last_pid; in cfil_dispatch_attach_event() 5852 stat.cfs_pid = so->last_pid; in sysctl_cfil_sock_list() [all …]
|
| H A D | ntstat.c | 149 (so && (nstat_debug_pid == (so->so_flags & SOF_DELEGATED ? so->e_pid : so->last_pid))) 156 …T <pid %d>: " fmt "\n", (so->so_flags & SOF_DELEGATED ? so->e_pid : so->last_pid), ##__VA_ARGS__);… 1244 proc_name(inp->inp_socket->last_pid, cookie->pname, in nstat_tucookie_alloc_internal() 1329 so->so_flags & SOF_DELEGATED ? so->e_pid : so->last_pid, in nstat_inp_domain_info() 1751 desc->pid = so->last_pid; in nstat_tcp_copy_descriptor() 1861 (filter->npf_pid == so->last_pid)) { in nstat_tcpudp_reporting_allowed() 1864 (filter->npf_pid == (so->so_flags & SOF_DELEGATED)? so->e_upid : so->last_pid)) { in nstat_tcpudp_reporting_allowed() 2152 desc->pid = so->last_pid; in nstat_udp_copy_descriptor()
|
| /xnu-10063.141.1/bsd/kern/ |
| H A D | uipc_socket2.c | 383 so->last_pid = head->last_pid; in sonewconn_internal() 2706 ev_ifdenied.ev_data.epid = so->last_pid; in soevent_ifdenied() 2722 __func__, so->last_pid, in soevent_ifdenied() 2735 so->last_pid, so->so_gencnt, in soevent_ifdenied()
|
| H A D | socket_flows.c | 136 #define SOFLOW_SOCKET_PID(so) ((so->so_flags & SOF_DELEGATED) ? so->e_pid : so->last_pid) 987 desc->epid = so->last_pid; in soflow_nstat_provider_request_vals() 1096 so->so_flags & SOF_DELEGATED ? so->e_pid : so->last_pid, in soflow_nstat_provider_request_extensions()
|
| H A D | kpi_socket.c | 1096 (*new_so)->last_pid = 0; in sock_socket_common() 1474 return so && so->last_pid == 0; in sock_iskernel()
|
| H A D | uipc_socket.c | 518 if (so->last_pid != 0) { in so_update_last_owner_locked() 528 so->last_pid != proc_pid(self)) { in so_update_last_owner_locked() 530 so->last_pid = proc_pid(self); in so_update_last_owner_locked() 721 so->last_pid = proc_pid(p); in socreate_internal() 740 if (rpid < 0 && p->p_responsible_pid != so->last_pid) { in socreate_internal() 7890 if (so->last_pid == 0 && p != kernproc) { in so_set_effective_pid() 7901 if (check_cred && (epid != so->last_pid || epid != proc_pid(p))) { in so_set_effective_pid() 8007 if (so->last_pid == 0 && p != kernproc) { in so_set_effective_uuid() 8055 so->e_pid = so->last_pid; in so_set_effective_uuid()
|
| H A D | uipc_usrreq.c | 848 peerpid = peerso->last_pid; in uipc_ctloutput() 884 peerpid = peerso->last_pid; in uipc_ctloutput()
|
| H A D | vsock_domain.c | 807 xpcb.xvp_last_pid = pcb->so->last_pid;
|
| H A D | uipc_syscalls.c | 2139 proc_name(so->last_pid, pname, sizeof(MAXCOMLEN)); in copyout_control() 2151 pname, so->last_pid, error); in copyout_control()
|
| /xnu-10063.141.1/bsd/netinet6/ |
| H A D | udp6_usrreq.c | 958 necp_client_assign_from_socket(so->last_pid, inp->necp_client_uuid, inp); in udp6_connect() 1003 necp_client_assign_from_socket(so->last_pid, inp->necp_client_uuid, inp); in udp6_connect()
|
| H A D | udp6_output.c | 542 m->m_pkthdr.tx_udp_pid = so->last_pid; in udp6_output()
|
| H A D | raw_ip6.c | 802 m->m_pkthdr.tx_rawip_pid = so->last_pid; in rip6_output()
|
| /xnu-10063.141.1/bsd/vfs/ |
| H A D | vfs_fsevents.c | 358 static pid_t last_pid = -1; variable 485 && (last_pid == proc_getpid(p)) in add_fsevent() 505 last_pid = proc_getpid(p); in add_fsevent()
|
| /xnu-10063.141.1/bsd/sys/ |
| H A D | socketvar.h | 229 pid_t last_pid; /* pid of most recent accessor */ member
|