memdup 295 src/journal/sd-journal.c m->data = memdup(data, size); memdup 1610 src/libsystemd-network/sd-dhcp-client.c client->req_opts = memdup(default_req_opts, client->req_opts_size); memdup 562 src/libsystemd-network/sd-dhcp-server.c data = memdup(option, len); memdup 784 src/libsystemd-network/sd-dhcp-server.c lease->client_id.data = memdup(req->client_id.data, memdup 84 src/libsystemd-network/sd-dhcp6-lease.c lease->serverid = memdup(id, len); memdup 463 src/libsystemd/sd-bus/bus-control.c c->cmdline = memdup(item->data, c->cmdline_size); memdup 499 src/libsystemd/sd-bus/bus-control.c c->capability = memdup(item->caps.caps, c->capability_size); memdup 864 src/libsystemd/sd-bus/bus-creds.c n->cmdline = memdup(c->cmdline, c->cmdline_size); memdup 885 src/libsystemd/sd-bus/bus-creds.c n->capability = memdup(c->capability, c->capability_size); memdup 912 src/libsystemd/sd-bus/bus-socket.c b = memdup((const uint8_t*) bus->rbuffer + size, memdup 817 src/libsystemd/sd-resolve/sd-resolve.c ai->ai_addr = memdup((const uint8_t*) *p + sizeof(AddrInfoSerialization), s.ai_addrlen); memdup 825 src/libsystemd/sd-resolve/sd-resolve.c ai->ai_canonname = memdup((const uint8_t*) *p + sizeof(AddrInfoSerialization) + s.ai_addrlen, s.canonname_len); memdup 948 src/libsystemd/sd-resolve/sd-resolve.c q->answer = memdup((const char *)resp + sizeof(ResResponse), res_resp->ret); memdup 1262 src/libsystemd/sd-rtnl/rtnl-message.c m->hdr = memdup(new_msg, new_msg->nlmsg_len); memdup 383 src/machine/machinectl.c i->netif = memdup(v, l); memdup 261 src/machine/machined-dbus.c m->netif = memdup(netif, sizeof(int32_t) * n_netif); memdup 1014 src/resolve/resolved-dns-packet.c d2 = memdup(d, length); memdup 1324 src/resolve/resolved-dns-packet.c rr->generic.data = memdup(d, rdlength); memdup 75 src/shared/fstab-util.c strv = memdup(stor, sizeof(char*) * (strv_length(stor) + 1)); memdup 3449 src/shared/util.c return memdup(s, old_length + 1); memdup 629 src/shared/util.h void* memdup(const void *p, size_t l) _alloc_(2); memdup 707 src/shared/util.h return memdup(p, a * b);