/systemd-251/src/libsystemd/sd-bus/ ! |
D | bus-track.c | 330 const char *sender; in sd_bus_track_add_sender() local 338 sender = sd_bus_message_get_sender(m); in sd_bus_track_add_sender() 339 if (!sender) in sd_bus_track_add_sender() 342 return sd_bus_track_add_name(track, sender); in sd_bus_track_add_sender() 346 const char *sender; in sd_bus_track_remove_sender() local 356 sender = sd_bus_message_get_sender(m); in sd_bus_track_remove_sender() 357 if (!sender) in sd_bus_track_remove_sender() 360 return sd_bus_track_remove_name(track, sender); in sd_bus_track_remove_sender() 466 const char *sender; in sd_bus_track_count_sender() local 476 sender = sd_bus_message_get_sender(m); in sd_bus_track_count_sender() [all …]
|
D | bus-convenience.c | 639 if (call->sender) in sd_bus_query_sender_creds() 641 return sd_bus_get_name_creds(call->bus, call->sender, mask, ret); in sd_bus_query_sender_creds() 729 #define make_expression(sender, path, interface, member) \ argument 732 sender ? ",sender='" : "", \ 733 sender ?: "", \ 734 sender ? "'" : "", \ 749 const char *sender, in sd_bus_match_signal() argument 761 assert_return(!sender || service_name_is_valid(sender), -EINVAL); in sd_bus_match_signal() 766 expression = make_expression(sender, path, interface, member); in sd_bus_match_signal() 774 const char *sender, in sd_bus_match_signal_async() argument [all …]
|
D | bus-message.c | 198 m->sender = adjust_pointer(m->sender, op, old_size, m->header); in message_extend_fields() 732 if (call->sender) { in message_new_reply() 733 …field_string(t, BUS_MESSAGE_HEADER_DESTINATION, SD_BUS_TYPE_STRING, call->sender, &t->destination); in message_new_reply() 846 m->sender = m->creds.unique_name = (char*) "org.freedesktop.DBus.Local"; in bus_message_set_sender_local() 855 m->sender = m->creds.unique_name = (char*) "org.freedesktop.DBus"; in bus_message_set_sender_driver() 1064 return m->sender; in sd_bus_message_get_sender() 5371 if (m->sender) in bus_message_parse_fields() 5377 … r = message_peek_field_string(m, service_name_is_valid, &ri, item_size, &m->sender); in bus_message_parse_fields() 5379 if (r >= 0 && m->sender[0] == ':' && m->bus->bus_client) { in bus_message_parse_fields() 5380 m->creds.unique_name = (char*) m->sender; in bus_message_parse_fields() [all …]
|
D | bus-dump.c | 92 if (m->sender) in sd_bus_message_dump() 93 fprintf(f, " Sender=%s%s%s", ansi_highlight(), m->sender, ansi_normal()); in sd_bus_message_dump() 103 if (m->sender || m->destination || m->path || m->interface || m->member) in sd_bus_message_dump()
|
D | bus-message.h | 70 const char *sender; member
|
D | sd-bus.c | 1922 if (!m->sender && b->patch_sender) { in bus_seal_message() 2426 incoming->sender && in sd_bus_call() 2427 streq(bus->unique_name, incoming->sender)) { in sd_bus_call() 4299 _public_ int sd_bus_set_sender(sd_bus *bus, const char *sender) { in sd_bus_set_sender() argument 4303 assert_return(!sender || service_name_is_valid(sender), -EINVAL); in sd_bus_set_sender() 4305 return free_and_strdup(&bus->patch_sender, sender); in sd_bus_set_sender()
|
/systemd-251/src/shared/ ! |
D | bus-polkit.c | 91 const char *sender; in bus_test_polkit() local 93 sender = sd_bus_message_get_sender(call); in bus_test_polkit() 94 if (!sender) in bus_test_polkit() 110 "system-bus-name", 1, "name", "s", sender, in bus_test_polkit() 261 const char *sender; in bus_verify_polkit_async() local 324 sender = sd_bus_message_get_sender(call); in bus_verify_polkit_async() 325 if (!sender) in bus_verify_polkit_async() 354 "system-bus-name", 1, "name", "s", sender, in bus_verify_polkit_async()
|
D | bus-util.c | 457 char *sender, *external; in bus_path_decode_unique() local 478 sender = bus_label_unescape_n(p, q - p); in bus_path_decode_unique() 480 if (!sender || !external) { in bus_path_decode_unique() 481 free(sender); in bus_path_decode_unique() 486 *ret_sender = sender; in bus_path_decode_unique()
|
/systemd-251/test/fuzz/fuzz-bus-match/ ! |
D | test.input | 1 arg2='wal\'do',sender='foo',type='signal',interface='bar.x', 2 arg2='wal\'do2',sender='foo',type='signal',interface='bar.x', 3 arg3='test',sender='foo',type='signal',interface='bar.x', 4 arg3='test',sender='foo',type='method_call',interface='bar.x',
|
D | bugzilla1935084.input | 1 type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop…
|
/systemd-251/src/udev/ ! |
D | udevadm-monitor.c | 62 static int setup_monitor(MonitorNetlinkGroup sender, sd_event *event, sd_device_monitor **ret) { in setup_monitor() argument 67 r = device_monitor_new_full(&monitor, sender, -1); in setup_monitor() 90 r = sd_device_monitor_start(monitor, device_monitor_handler, INT_TO_PTR(sender)); in setup_monitor() 95 … sender == MONITOR_GROUP_UDEV ? "device-monitor-udev" : "device-monitor-kernel"); in setup_monitor()
|
/systemd-251/src/libsystemd/sd-netlink/ ! |
D | netlink-socket.c | 222 union sockaddr_union sender; in socket_recv_message() local 227 .msg_name = &sender, in socket_recv_message() 228 .msg_namelen = sizeof(sender), in socket_recv_message() 246 if (sender.nl.nl_pid != 0) { in socket_recv_message() 248 log_debug("sd-netlink: ignoring message from PID %"PRIu32, sender.nl.nl_pid); in socket_recv_message()
|
/systemd-251/src/resolve/ ! |
D | resolved-dns-stub.c | 98 siphash24_compress(&p->sender, sizeof(p->sender), state); in stub_packet_hash_func() 117 r = memcmp(&x->sender, &y->sender, sizeof(x->sender)); in stub_packet_compare_func() 533 fd = find_socket_fd(m, l, p->family, &p->sender, SOCK_DGRAM); in dns_stub_send() 543 p->family, &p->sender, p->sender_port, &p->destination, in dns_stub_send() 886 (in_addr_is_localhost(p->family, &p->sender) <= 0 || in dns_stub_process_query()
|
D | resolved-mdns.c | 231 r = in_addr_prefix_covers(a->family, &a->in_addr, a->prefixlen, &p->sender); in sender_on_local_subnet() 342 reply->destination = p->sender; in mdns_scope_process_query() 421 …ACKET_RCODE(p), p->answer, NULL, false, _DNSSEC_RESULT_INVALID, UINT32_MAX, p->family, &p->sender); in on_mdns_packet()
|
D | resolved-manager.c | 797 p->sender.in = sa.in.sin_addr; in manager_recv() 800 p->sender.in6 = sa.in6.sin6_addr; in manager_recv() 876 (void) in_addr_to_string(p->family, &p->sender, &sender_address); in manager_recv() 1252 return !!manager_find_link_address(m, p->family, &p->sender); in manager_packet_from_local_address()
|
D | resolved-dns-stream.c | 396 s->read_packet->sender.in = s->peer.in.sin_addr; in on_stream_io() 402 s->read_packet->sender.in6 = s->peer.in6.sin6_addr; in on_stream_io()
|
D | resolved-dns-scope.c | 1026 dns_answer_order_by_scope(answer, in_addr_is_link_local(p->family, &p->sender) > 0); in dns_scope_process_query() 1070 … r = manager_send(s->manager, fd, p->ifindex, p->family, &p->sender, p->sender_port, NULL, reply); in dns_scope_process_query() 1299 r = dns_cache_check_conflicts(&scope->cache, rr, p->family, &p->sender); in dns_scope_check_conflicts()
|
D | resolved-dns-transaction.c | 347 (void) in_addr_to_string(p->family, &p->sender, &pretty); in dns_transaction_tentative() 359 if (memcmp(&p->sender, &p->destination, FAMILY_ADDRESS_SIZE(p->family)) >= 0) { in dns_transaction_tentative() 722 …fd = dns_scope_socket_tcp(t->scope, t->received->family, &t->received->sender, NULL, t->received->… in dns_transaction_emit_tcp() 817 in_addr_is_localhost(t->received->family, &t->received->sender) != 0) in dns_transaction_cache_answer() 833 &t->received->sender); in dns_transaction_cache_answer()
|
/systemd-251/src/login/ ! |
D | logind-session.h | 168 bool session_is_controller(Session *s, const char *sender); 169 int session_set_controller(Session *s, const char *sender, bool force, bool prepare);
|
D | logind-session.c | 1315 bool session_is_controller(Session *s, const char *sender) { in session_is_controller() argument 1318 return streq_ptr(s->controller, sender); in session_is_controller() 1353 int session_set_controller(Session *s, const char *sender, bool force, bool prepare) { in session_set_controller() argument 1358 assert(sender); in session_set_controller() 1360 if (session_is_controller(s, sender)) in session_set_controller() 1365 name = strdup(sender); in session_set_controller()
|
/systemd-251/src/home/ ! |
D | homed-manager.c | 1043 struct ucred *sender = NULL; in read_datagram() local 1086 assert(!sender); in read_datagram() 1087 sender = (struct ucred*) CMSG_DATA(cmsg); in read_datagram() 1103 if (sender) in read_datagram() 1104 *ret_sender = *sender; in read_datagram() 1121 struct ucred sender = UCRED_INVALID; in on_notify_socket() local 1129 n = read_datagram(fd, &sender, &datagram, &passed_fd); in on_notify_socket() 1136 if (sender.pid <= 0) { in on_notify_socket() 1141 h = hashmap_get(m->homes_by_worker_pid, PID_TO_PTR(sender.pid)); in on_notify_socket()
|
/systemd-251/shell-completion/zsh/ ! |
D | _busctl | 58 …'sender[Match messages sent by a particular sender]:sender:{compadd $(_busctl_get_service_names)}'\
|
/systemd-251/src/libsystemd/sd-device/ ! |
D | device-monitor-private.h | 18 int device_monitor_allow_unicast_sender(sd_device_monitor *m, sd_device_monitor *sender);
|
D | device-monitor.c | 90 int device_monitor_allow_unicast_sender(sd_device_monitor *m, sd_device_monitor *sender) { in device_monitor_allow_unicast_sender() argument 92 assert(sender); in device_monitor_allow_unicast_sender() 94 m->snl_trusted_sender.nl.nl_pid = sender->snl.nl.nl_pid; in device_monitor_allow_unicast_sender()
|
/systemd-251/src/systemd/ ! |
D | sd-bus.h | 177 int sd_bus_set_sender(sd_bus *bus, const char *sender); 310 int sd_bus_message_set_sender(sd_bus_message *m, const char *sender); 394 int sd_bus_match_signal(sd_bus *bus, sd_bus_slot **ret, const char *sender, const char *path, const… 395 int sd_bus_match_signal_async(sd_bus *bus, sd_bus_slot **ret, const char *sender, const char *path,…
|