Lines Matching refs:LOG_ERR
629 …NECPDATATRACELOG(LOG_ERR, "DATA-TRACE <%s>: %s - proto %d port <local %d/%d remote %d/%d> <drop-al…
635 …NECPDATATRACELOG(LOG_ERR, "DATA-TRACE <%s>: %s - proto %d port <local %d/%d remote %d/%d> <drop-al…
641 …NECPDATATRACELOG(LOG_ERR, "DATA-TRACE <%s>: %s - proto %d port <local %d/%d remote %d/%d > <drop-a…
647 …NECPDATATRACELOG(LOG_ERR, "DATA-TRACE <%s>: %s - proto %d port <local %d/%d remote %d/%d> <drop-al…
653 …NECPDATATRACELOG(LOG_ERR, "DATA-TRACE <%s>: %s - policy id=%d session_order=%d policy_order=%d res…
659 …NECPDATATRACELOG(LOG_ERR, "DATA-TRACE <%s>: ------ %smatching <%s> <value (%d / 0x%X) (%d / 0x%X) …
665 …NECPDATATRACELOG(LOG_ERR, "DATA-TRACE <%s>: ------ %smatching <%s> <value %s %s %s input %s %s %s>…
822 NECPLOG0(LOG_ERR, "Only platform-signed binaries can open NECP sessions"); in necp_session_open()
828 NECPLOG0(LOG_ERR, "Process does not hold necessary entitlement to open NECP session"); in necp_session_open()
910 NECPLOG(LOG_ERR, "necp_session_add_policy invalid input (%zu)", (size_t)uap->in_buffer_length); in necp_session_add_policy()
916 …NECPLOG(LOG_ERR, "necp_session_add_policy invalid output buffer (%zu)", (size_t)uap->out_buffer_le… in necp_session_add_policy()
928 NECPLOG(LOG_ERR, "necp_session_add_policy tlv copyin error (%d)", error); in necp_session_add_policy()
934 NECPLOG(LOG_ERR, "necp_session_add_policy failed to add policy (%d)", error); in necp_session_add_policy()
940 NECPLOG(LOG_ERR, "necp_session_add_policy policy_id copyout error (%d)", error); in necp_session_add_policy()
961 NECPLOG(LOG_ERR, "necp_session_get_policy invalid input (%zu)", (size_t)uap->in_buffer_length); in necp_session_get_policy()
969 NECPLOG(LOG_ERR, "necp_session_get_policy policy_id copyin error (%d)", error); in necp_session_get_policy()
975 NECPLOG(LOG_ERR, "Failed to find policy with id %d", policy_id); in necp_session_get_policy()
985 …NECPLOG(LOG_ERR, "necp_session_get_policy buffer not large enough (%zu < %u)", (size_t)uap->out_bu… in necp_session_get_policy()
991 NECPLOG(LOG_ERR, "necp_session_get_policy size too large to copy (%u)", response_size); in necp_session_get_policy()
1013 NECPLOG(LOG_ERR, "necp_session_get_policy TLV copyout error (%d)", error); in necp_session_get_policy()
1033 NECPLOG(LOG_ERR, "necp_session_delete_policy invalid input (%zu)", (size_t)uap->in_buffer_length); in necp_session_delete_policy()
1041 NECPLOG(LOG_ERR, "necp_session_delete_policy policy_id copyin error (%d)", error); in necp_session_delete_policy()
1047 NECPLOG(LOG_ERR, "necp_session_delete_policy failed to find policy with id %u", delete_policy_id); in necp_session_delete_policy()
1085 NECPLOG(LOG_ERR, "necp_session_list_all size too large to copy (%u policies)", num_policies); in necp_session_list_all()
1092 …NECPLOG(LOG_ERR, "necp_session_list_all buffer not large enough (%zu < %u)", (size_t)uap->out_buff… in necp_session_list_all()
1114 NECPLOG(LOG_ERR, "necp_session_list_all TLV copyout error (%d)", error); in necp_session_list_all()
1146 …NECPLOG(LOG_ERR, "necp_session_set_session_priority invalid input (%zu)", (size_t)uap->in_buffer_l… in necp_session_set_session_priority()
1154 NECPLOG(LOG_ERR, "necp_session_set_session_priority priority copyin error (%d)", error); in necp_session_set_session_priority()
1165 …NECPLOG(LOG_ERR, "Session does not hold necessary entitlement to claim priority level %d", request… in necp_session_set_session_priority()
1203 …NECPLOG(LOG_ERR, "necp_session_register_service invalid input (%zu)", (size_t)uap->in_buffer_lengt… in necp_session_register_service()
1211 NECPLOG(LOG_ERR, "necp_session_register_service uuid copyin error (%d)", error); in necp_session_register_service()
1238 …NECPLOG(LOG_ERR, "necp_session_unregister_service invalid input (%zu)", (size_t)uap->in_buffer_len… in necp_session_unregister_service()
1246 NECPLOG(LOG_ERR, "necp_session_unregister_service uuid copyin error (%d)", error); in necp_session_unregister_service()
1277 …NECPLOG(LOG_ERR, "necp_session_dump_all invalid output buffer (%zu)", (size_t)uap->out_buffer_leng… in necp_session_dump_all()
1299 NECPLOG(LOG_ERR, "necp_session_add_domain_filter invalid input (%zu)", (size_t)in_buffer_length); in necp_session_add_domain_filter()
1305 …NECPLOG(LOG_ERR, "necp_session_add_domain_filter buffer not large enough (%zu)", (size_t)out_buffe… in necp_session_add_domain_filter()
1312 NECPLOG(LOG_ERR, "necp_session_add_domain_filter allocate filter error (%zu)", in_buffer_length); in necp_session_add_domain_filter()
1319 NECPLOG(LOG_ERR, "necp_session_add_domain_filter filter copyin error (%d)", error); in necp_session_add_domain_filter()
1325 …NECPLOG(LOG_ERR, "necp_session_add_domain_filter size mismatch (%zu != %zu)", expected_filter_size… in necp_session_add_domain_filter()
1342 NECPLOG(LOG_ERR, "necp_session_add_domain_filter ID copyout error (%d)", error); in necp_session_add_domain_filter()
1364 …NECPLOG(LOG_ERR, "necp_session_remove_domain_filter invalid input (%zu)", (size_t)in_buffer_length… in necp_session_remove_domain_filter()
1372 NECPLOG(LOG_ERR, "necp_session_remove_domain_filter uuid copyin error (%d)", error); in necp_session_remove_domain_filter()
1420 NECPLOG(LOG_ERR, "necp_session_action find fd error (%d)", error); in necp_session_action()
1499 NECPLOG(LOG_ERR, "necp_session_action unknown action (%u)", action); in necp_session_action()
1686 NECPLOG0(LOG_ERR, "Cannot write TLV in buffer (invalid cursor)"); in necp_buffer_write_tlv_validate()
1692 NECPLOG(LOG_ERR, "Cannot write TLV in buffer (TLV length %u, buffer length %u)", in necp_buffer_write_tlv_validate()
1850 NECPLOG0(LOG_ERR, "necp_get_tlv_at_offset buffer is NULL"); in necp_get_tlv_at_offset()
1858 NECPLOG(LOG_ERR, "necp_get_tlv_at_offset buffer_length is too small for TLV (%u < %lu)", in necp_get_tlv_at_offset()
1866 …NECPLOG(LOG_ERR, "necp_get_tlv_at_offset buffer_length is too small for TLV of length %u (%u < %lu… in necp_get_tlv_at_offset()
1874 NECPLOG(LOG_ERR, "necp_get_tlv_at_offset out_buffer_length is too small for TLV value (%u < %u)", in necp_get_tlv_at_offset()
1882 NECPLOG0(LOG_ERR, "necp_get_tlv_at_offset tlv_value is NULL"); in necp_get_tlv_at_offset()
2476 NECPLOG(LOG_ERR, "Failed to get policy order: %d", error); in necp_handle_policy_add()
2484 NECPLOG(LOG_ERR, "Failed to find policy result TLV: %d", error); in necp_handle_policy_add()
2490 NECPLOG(LOG_ERR, "Failed to get policy result length: %d", error); in necp_handle_policy_add()
2495 NECPLOG(LOG_ERR, "Policy result length too large: %u", policy_result_size); in necp_handle_policy_add()
2501 NECPLOG(LOG_ERR, "Failed to allocate a policy result buffer (size %d)", policy_result_size); in necp_handle_policy_add()
2507 NECPLOG(LOG_ERR, "Failed to get policy result: %d", error); in necp_handle_policy_add()
2512 NECPLOG0(LOG_ERR, "Failed to validate policy result"); in necp_handle_policy_add()
2527 NECPLOG0(LOG_ERR, "Route rules size overflowed, too large"); in necp_handle_policy_add()
2534 NECPLOG0(LOG_ERR, "Failed to get policy route rules"); in necp_handle_policy_add()
2539 NECPLOG(LOG_ERR, "Route rules length too large: %u", route_rules_array_size); in necp_handle_policy_add()
2545 …NECPLOG(LOG_ERR, "Failed to allocate a policy route rules array (size %d)", route_rules_array_size… in necp_handle_policy_add()
2571 NECPLOG0(LOG_ERR, "Failed to validate policy route rule"); in necp_handle_policy_add()
2578 NECPLOG0(LOG_ERR, "Failed to validate route rule; contained multiple default route rules"); in necp_handle_policy_add()
2601 NECPLOG0(LOG_ERR, "Conditions size overflowed, too large"); in necp_handle_policy_add()
2609 NECPLOG0(LOG_ERR, "Failed to get policy conditions"); in necp_handle_policy_add()
2614 NECPLOG(LOG_ERR, "Conditions length too large: %u", conditions_array_size); in necp_handle_policy_add()
2620 NECPLOG(LOG_ERR, "Failed to allocate a policy conditions array (size %d)", conditions_array_size); in necp_handle_policy_add()
2645 NECPLOG0(LOG_ERR, "Failed to validate policy condition"); in necp_handle_policy_add()
2656 … NECPLOG0(LOG_ERR, "Failed to validate conditions; contained default and non-default conditions"); in necp_handle_policy_add()
2682 NECPLOG0(LOG_ERR, "Failed to validate conditions; did not contain application condition"); in necp_handle_policy_add()
2688 …NECPLOG0(LOG_ERR, "Failed to validate conditions; kernel pid (0) condition allows only Pass/Skip r… in necp_handle_policy_add()
2728 NECPLOG0(LOG_ERR, "Allocate policy id failed.\n"); in necp_policy_get_new_id()
2858 …NECPLOG0(LOG_ERR, "Session does not hold the necessary entitlement to get Network Extension Policy… in necp_handle_policy_dump_all()
4277 NECPLOG0(LOG_ERR, "Failed to find a free socket kernel policy ID.\n"); in necp_kernel_policy_get_new_id()
4292 NECPLOG0(LOG_ERR, "Failed to find a free IP kernel policy ID.\n"); in necp_kernel_policy_get_new_id()
4303 NECPLOG0(LOG_ERR, "Allocate kernel policy id failed.\n"); in necp_kernel_policy_get_new_id()
5100 NECPLOG0(LOG_ERR, "Failed to find a free app UUID.\n"); in necp_get_new_string_id()
5110 NECPLOG0(LOG_ERR, "Allocate string id failed.\n"); in necp_get_new_string_id()
5233 NECPLOG0(LOG_ERR, "Failed to find a free filter ID.\n"); in necp_get_new_domain_filter_id()
5243 NECPLOG0(LOG_ERR, "Allocate filter id failed.\n"); in necp_get_new_domain_filter_id()
5310 NECPLOG0(LOG_ERR, "Failed to find a free route rule id.\n"); in necp_get_new_route_rule_id()
5328 NECPLOG0(LOG_ERR, "Failed to find a free aggregate route rule id.\n"); in necp_get_new_route_rule_id()
5339 NECPLOG0(LOG_ERR, "Allocate route rule ID failed.\n"); in necp_get_new_route_rule_id()
5731 NECPLOG0(LOG_ERR, "Failed to find a free service UUID.\n"); in necp_get_new_uuid_id()
5746 NECPLOG0(LOG_ERR, "Failed to find a free app UUID.\n"); in necp_get_new_uuid_id()
5757 NECPLOG0(LOG_ERR, "Allocate uuid ID failed.\n"); in necp_get_new_uuid_id()
6838 …NECPLOG(LOG_ERR, "%s(%d) does not hold the necessary entitlement to delegate network traffic for o…
6983 NECPLOG(LOG_ERR, "Invalid TLV length (%u)", length); in necp_application_find_policy_match_internal()
9230 NECPLOG(LOG_ERR, "Marking socket in state %d as defunct", so->so_state); in necp_socket_find_policy_match()
11795 NECPLOG(LOG_ERR, "%s (process %s:%u) not permitted", __func__, proc_best_name(p), pid);
11799 …NECPLOG(LOG_ERR, "%s (process %s:%u) bad newlen %lu", __func__, proc_best_name(p), pid, req->newle…
11806 …NECPLOG(LOG_ERR, "%s (process %s:%u) sysctl_io_opaque() error %d", __func__, proc_best_name(p), pi…
11817 …NECPLOG(LOG_ERR, "%s (process %s:%u) bad entry_count %u", __func__, proc_best_name(p), pid, tmp_dr…
11827 …NECPLOG(LOG_ERR, "%s (process %s:%u) NECP_SESSION_PRIORITY_UNKNOWN bad entry_count %u", __func__, …
11843 …NECPLOG(LOG_ERR, "%s (process %s:%u) priority %u entry_count 0", __func__, proc_best_name(p), pid,…
11848 …NECPLOG(LOG_ERR, "%s (process %s:%u) bad level %u", __func__, proc_best_name(p), pid, tmp_drop_des…
11856 …NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET bad prefix %u", __func__, proc_best_name(p), pid, npc…
11860 …NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET bad sin_len %u", __func__, proc_best_name(p), pid, np…
11864 …NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET bad sin_port %u, not zero", __func__, proc_best_name(…
11871 …NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad prefix %u", __func__, proc_best_name(p), pid, np…
11875 …NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad sin6_len %u", __func__, proc_best_name(p), pid, …
11879 …NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad sin6_port %u, not zero", __func__, proc_best_nam…
11883 …NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad sin6_flowinfo %u, not zero", __func__, proc_best…
11887 …NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad sin6_scope_id %u, not zero", __func__, proc_best…