| /xnu-8020.140.41/bsd/net/ |
| H A D | if_ports_used.c | 761 npi.npi_owner_pid = so->last_pid; in if_ports_used_add_inpcb() 763 if (so->last_pid != 0) { in if_ports_used_add_inpcb() 764 proc_name(so->last_pid, npi.npi_owner_pname, in if_ports_used_add_inpcb() 778 npi.npi_effective_pid = so->last_pid; in if_ports_used_add_inpcb() 779 if (so->last_pid != 0) { in if_ports_used_add_inpcb()
|
| H A D | content_filter.c | 612 #define SOCKET_PID(so) ((so->so_flags & SOF_DELEGATED) ? so->e_pid : so->last_pid) 2233 sock_info->cfs_pid = sock->last_pid; in cfil_ctl_getopt() 2240 sock_info->cfs_e_pid = sock->last_pid; in cfil_ctl_getopt() 3019 data.pid = so->last_pid; in cfil_dispatch_data_event_sign() 3025 data.effective_pid = so->last_pid; in cfil_dispatch_data_event_sign() 3074 data.pid = so->last_pid; in cfil_dispatch_closed_event_sign() 3080 data.effective_pid = so->last_pid; in cfil_dispatch_closed_event_sign() 3186 msg_attached.cfs_pid = so->last_pid; in cfil_dispatch_attach_event() 3192 msg_attached.cfs_e_pid = so->last_pid; in cfil_dispatch_attach_event() 5562 stat.cfs_pid = so->last_pid; in sysctl_cfil_sock_list() [all …]
|
| H A D | ntstat.c | 146 (so && (nstat_debug_pid == (so->so_flags & SOF_DELEGATED ? so->e_pid : so->last_pid))) 153 …T <pid %d>: " fmt "\n", (so->so_flags & SOF_DELEGATED ? so->e_pid : so->last_pid), ##__VA_ARGS__);… 1177 proc_name(inp->inp_socket->last_pid, cookie->pname, in nstat_tucookie_alloc_internal() 1262 so->so_flags & SOF_DELEGATED ? so->e_pid : so->last_pid, in nstat_inp_domain_info() 1743 desc->pid = so->last_pid; in nstat_tcp_copy_descriptor() 1832 (filter->npf_pid == so->last_pid)) { in nstat_tcpudp_reporting_allowed() 1835 (filter->npf_pid == (so->so_flags & SOF_DELEGATED)? so->e_upid : so->last_pid)) { in nstat_tcpudp_reporting_allowed() 2122 desc->pid = so->last_pid; in nstat_udp_copy_descriptor()
|
| /xnu-8020.140.41/bsd/netinet/ |
| H A D | in_pcb.c | 1391 apnfallbk_data.epid = so->last_pid; in apn_fallback_trigger() 1935 so->last_pid, in in_pcbdetach() 3484 soprocinfo->spi_pid = so->last_pid; in inp_get_soprocinfo() 3487 if (so->last_pid != 0) { in inp_get_soprocinfo() 3499 soprocinfo->spi_epid = so->last_pid; in inp_get_soprocinfo() 3561 epid = so->last_pid; in inp_update_cellular_policy() 3606 epid = so->last_pid; in inp_update_necp_want_app_policy() 3657 if (so->last_pid == 0 && !(so->so_flags & SOF_DELEGATED)) { in inp_update_policy()
|
| H A D | mptcp_subr.c | 1651 p = proc_find(mp_so->last_pid); in mptcp_subflow_socreate() 1654 __func__, (unsigned long)VM_KERNEL_ADDRPERM(mpte), mp_so->last_pid); in mptcp_subflow_socreate() 1740 error = necp_client_register_socket_flow(mp_so->last_pid, in mptcp_subflow_socreate() 1801 (*so)->last_pid = mp_so->last_pid; in mptcp_subflow_socreate() 1996 p = proc_find(mp_so->last_pid); in mptcp_subflow_soconnectx() 1999 __func__, (unsigned long)VM_KERNEL_ADDRPERM(mpte), mp_so->last_pid); in mptcp_subflow_soconnectx() 2496 if (mp_so->last_pid != proc_pid(p)) { in mptcp_subflow_sosend() 2497 p = proc_find(mp_so->last_pid); in mptcp_subflow_sosend() 6233 if (so->last_pid != mp_so->last_pid || in mptcp_update_last_owner() 6236 so->last_pid = mp_so->last_pid; in mptcp_update_last_owner() [all …]
|
| H A D | in_pcblist.c | 139 xso->so_last_pid = so->last_pid; in sotoxsocket_n() 718 "[%d,%d] %s\n", so->last_pid, in inpcb_count_opportunistic()
|
| H A D | tcp_usrreq.c | 305 necp_client_assign_from_socket(so->last_pid, inp->necp_client_uuid, inp); in tcp_usr_bind() 451 necp_client_assign_from_socket(so->last_pid, inp->necp_client_uuid, inp); in tcp_connect_complete() 1042 so->last_pid, in mpkl_tcp_send() 2064 *out_pid = finp->inp_socket->last_pid; in tcp_lookup_peer_pid_locked()
|
| H A D | in_tclass.c | 945 "[%d,%d] opportunistic %s\n", so->last_pid, in so_set_traffic_class() 1229 "%s recv\n", so->last_pid, in set_tcp_stream_priority()
|
| H A D | udp_usrreq.c | 1962 m->m_pkthdr.tx_udp_pid = so->last_pid; in udp_output() 2243 necp_client_assign_from_socket(so->last_pid, inp->necp_client_uuid, inp); in udp_bind() 2288 necp_client_assign_from_socket(so->last_pid, inp->necp_client_uuid, inp); in udp_connect()
|
| H A D | tcp_log.c | 162 inp->inp_last_proc_name, so->last_pid
|
| H A D | flow_divert.c | 1068 proc_t real_proc = proc_find(so->last_pid); in flow_divert_add_all_proc_info() 1075 FDLOG(LOG_ERR, fd_cb, "failed to find the real proc record for %d", so->last_pid); in flow_divert_add_all_proc_info() 2038 last_proc = proc_find(so->last_pid); in flow_divert_disable() 2473 necp_client_assign_from_socket(so->last_pid, inp->necp_client_uuid, inp); in flow_divert_handle_connect_result()
|
| H A D | raw_ip.c | 626 m->m_pkthdr.tx_rawip_pid = so->last_pid; in rip_output()
|
| H A D | mptcp_usrreq.c | 1646 error = necp_client_register_multipath_cb(mp_so->last_pid, in mptcp_setopt()
|
| /xnu-8020.140.41/bsd/netinet6/ |
| H A D | udp6_usrreq.c | 917 necp_client_assign_from_socket(so->last_pid, inp->necp_client_uuid, inp); in udp6_connect() 962 necp_client_assign_from_socket(so->last_pid, inp->necp_client_uuid, inp); in udp6_connect()
|
| H A D | udp6_output.c | 540 m->m_pkthdr.tx_udp_pid = so->last_pid; in udp6_output()
|
| H A D | raw_ip6.c | 788 m->m_pkthdr.tx_rawip_pid = so->last_pid; in rip6_output()
|
| /xnu-8020.140.41/bsd/kern/ |
| H A D | uipc_socket2.c | 381 so->last_pid = head->last_pid; in sonewconn_internal() 2663 ev_ifdenied.ev_data.epid = so->last_pid; in soevent_ifdenied() 2679 __func__, so->last_pid, in soevent_ifdenied() 2692 so->last_pid, (uint64_t)VM_KERNEL_ADDRPERM(so), in soevent_ifdenied()
|
| H A D | socket_flows.c | 131 #define SOFLOW_SOCKET_PID(so) ((so->so_flags & SOF_DELEGATED) ? so->e_pid : so->last_pid) 983 desc->epid = so->last_pid; in soflow_nstat_provider_request_vals() 1092 so->so_flags & SOF_DELEGATED ? so->e_pid : so->last_pid, in soflow_nstat_provider_request_extensions()
|
| H A D | kpi_socket.c | 1045 (*new_so)->last_pid = 0; in sock_socket_common() 1414 return so && so->last_pid == 0; in sock_iskernel()
|
| H A D | uipc_socket.c | 503 if (so->last_pid != 0) { in so_update_last_owner_locked() 513 so->last_pid != proc_pid(self)) { in so_update_last_owner_locked() 515 so->last_pid = proc_pid(self); in so_update_last_owner_locked() 706 so->last_pid = proc_pid(p); in socreate_internal() 723 if (rpid < 0 && p->p_responsible_pid != so->last_pid) { in socreate_internal() 7967 if (so->last_pid == 0 && p != kernproc) { in so_set_effective_pid() 7978 if (check_cred && (epid != so->last_pid || epid != proc_pid(p))) { in so_set_effective_pid() 8084 if (so->last_pid == 0 && p != kernproc) { in so_set_effective_uuid() 8132 so->e_pid = so->last_pid; in so_set_effective_uuid()
|
| H A D | uipc_usrreq.c | 805 peerpid = peerso->last_pid; in uipc_ctloutput() 841 peerpid = peerso->last_pid; in uipc_ctloutput()
|
| H A D | vsock_domain.c | 784 xpcb.xvp_last_pid = pcb->so->last_pid;
|
| H A D | uipc_syscalls.c | 1889 proc_name(so->last_pid, pname, sizeof(MAXCOMLEN)); in copyout_control() 1901 pname, so->last_pid, error); in copyout_control()
|
| /xnu-8020.140.41/bsd/vfs/ |
| H A D | vfs_fsevents.c | 338 static pid_t last_pid = -1; variable 441 && (last_pid == proc_getpid(p)) in add_fsevent() 461 last_pid = proc_getpid(p); in add_fsevent()
|
| /xnu-8020.140.41/bsd/sys/ |
| H A D | socketvar.h | 220 pid_t last_pid; /* pid of most recent accessor */ member
|