Searched refs:dup (Results 1 - 4 of 4) sorted by relevance

/systemd/src/login/
H A Dtest-inhibit.c50 return dup(fd);
/systemd/src/test/
H A Dtest-util.c727 int *dup; local
729 dup = (int*)memdup_multiply(org, sizeof(int), 3);
731 assert_se(dup);
732 assert_se(dup[0] == 1);
733 assert_se(dup[1] == 2);
734 assert_se(dup[2] == 3);
735 free(dup);
1446 assert_se((a = dup(p[0])) >= 0);
1448 assert_se((c = dup(a)) >= 0);
/systemd/src/tmpfiles/
H A Dtmpfiles.c754 _cleanup_(acl_freep) acl_t dup = NULL;
761 r = acls_for_file(path, type, acl, &dup);
765 r = calc_acl_mask_if_needed(&dup);
769 dup = acl_dup(acl);
770 if (!dup)
776 r = add_base_acls_if_needed(&dup, path);
780 t = acl_to_any_text(dup, NULL, ',', TEXT_ABBREVIATE);
785 r = acl_set_file(path, type, dup);
/systemd/src/libsystemd/sd-bus/
H A Dbus-message.c2701 copy_fd = dup(memfd);
2776 copy_fd = dup(memfd);

Completed in 2720 milliseconds