Commit Graph
75265 Commits
Author SHA1 Message Date
Mike Yuan e633e8627f mount-util: reorder params for mount_in_userspace, clean up logging 2024-07-23 19:31:32 +02:00
Mike Yuan 974e34a018 mount-util: do not unnecessarily acquire mountns fd twice
This also enables us to use pidref_namespace_open().
2024-07-23 19:30:55 +02:00
Mike Yuan 706302897a mount-util: clean up mount_exchange_graceful a bit, don't duplicate move_mount when fallback 2024-07-23 19:30:55 +02:00
Mike Yuan ca13d3fc19 machine-dbus: use pidref_namespace_open() where appropriate 2024-07-23 19:30:55 +02:00
Mike Yuan 86a3c1fd95 namespace-util: introduce pidref_namespace_open() 2024-07-23 19:30:54 +02:00
Mike Yuan 30957ced45 namespace-util: explicitly specify namespace_info[]'s size
We do this already in all string lookup tables. This way
it's guaranteed that iterators which ends with _NAMESPACE_TYPE_MAX
wouldn't overrun the array.
2024-07-23 19:30:54 +02:00
Mike Yuan 7973f33e81 core: clean up Set/LoadCredential= parsers
Make logging consistent, plus introduce helper function
for adding creds to ExecContext.set_credential too.
2024-07-23 15:53:38 +01:00
Daan De Meyer fffbfb4ed1 mkosi: Bump device timeout even more
I still manage to hit it in some cases so let's bump again.
2024-07-23 15:49:37 +01:00
Luca Boccassi d111d76844 Merge pull request #33533 from neighbourhoodie/tests/dns-synthesize 2024-07-23 15:44:40 +01:00
James Coglan 5301548fbb resolved: tests for dns_synthesize_family() and dns_synthesize_protocol() 2024-07-23 15:44:07 +01:00
James Coglan 6fd7fc92cf resolved: tests for dns_synthesize_answer() 2024-07-23 15:44:07 +01:00
Mary Strodl c73883143a sd-dhcp-server: persist hardware addresses in leases 2024-07-23 14:55:48 +01:00
Luca Boccassi ae2bf016bc Merge pull request #33531 from neighbourhoodie/tests/dns-zone 2024-07-23 13:29:03 +01:00
James Coglan 4d3936ad2d resolved: tests for dns_zone_lookup() 2024-07-23 13:28:34 +01:00
James Coglan 330d5c8a36 resolved: tests for dns_zone_remove_rrs_by_key() 2024-07-23 13:28:34 +01:00
James Coglan 41c3cd70ae resolved: tests for dns_zone_remove_rr() 2024-07-23 13:28:34 +01:00
James Coglan c7e3e5507e resolved: tests for dns_zone_put() 2024-07-23 13:28:34 +01:00
Luca Boccassi c01267c4a9 Merge pull request #33530 from neighbourhoodie/tests/dns-search-domain 2024-07-23 13:23:44 +01:00
James Coglan 771b5a4091 resolved: tests for dns_search_domain_find() 2024-07-23 13:22:34 +01:00
James Coglan 76bd2dce23 resolved: tests for search domain marking and unlinking 2024-07-23 13:22:34 +01:00
James Coglan 61362d49f8 resolved: extract function for checking search domains 2024-07-23 13:22:34 +01:00
James Coglan 5fef5552a6 resolved: tests for dns_search_domain_unlink() 2024-07-23 13:22:34 +01:00
James Coglan b65d6ab5dc resolved: tests for dns_search_domain_new() 2024-07-23 13:22:33 +01:00
Luca Boccassi 0e31c65d13 Merge pull request #33529 from neighbourhoodie/tests/dns-link
Tests for DNS Link functions
2024-07-23 13:20:25 +01:00
Luca Boccassi 378071931a Merge pull request #33528 from neighbourhoodie/tests/dns-answer 2024-07-23 13:15:16 +01:00
James Coglan c9f0cbe2fe resolved: tests for dns_answer_order_by_scope() 2024-07-23 13:14:54 +01:00
James Coglan 8105438cd2 resolved: tests for dns_answer_has_dname_for_cname() 2024-07-23 13:14:54 +01:00
James Coglan 464d785f45 resolved: tests for dns_answer_dump() 2024-07-23 13:14:54 +01:00
James Coglan 20570ff61c resolved: tests for dns_answer_{copy,move}_by_key() 2024-07-23 13:14:54 +01:00
James Coglan 3904553446 resolved: tests for dns_answer_remove_by_answer_keys() 2024-07-23 13:14:54 +01:00
James Coglan e23406edca resolved: tests for dns_answer_remove_by_{key,rr}() 2024-07-23 13:14:54 +01:00
James Coglan c07b0c66ca resolved: tests for dns_answer_merge() and dns_answer_extend() 2024-07-23 13:14:54 +01:00
James Coglan 4ab02e4fdc resolved: tests for dns_answer_find_soa() 2024-07-23 13:14:54 +01:00
James Coglan f64bf0efc4 resolved: tests for dns_answer_add(), dns_answer_match_key() 2024-07-23 13:14:53 +01:00
Luca Boccassi 432fc43ac1 Merge pull request #33526 from neighbourhoodie/tests/dns-question 2024-07-23 13:10:01 +01:00
James Coglan 8f54c51b22 resolved: tests for dns_question_merge() 2024-07-23 13:09:46 +01:00
James Coglan bbeb49f4c9 resolved: tests for dns_question_first_name() 2024-07-23 13:09:46 +01:00
James Coglan ede4e8cbe5 resolved: tests for dns_question_dump() 2024-07-23 13:09:46 +01:00
James Coglan 1f24f5bbd4 resolved: tests for dns_question_cname_redirect() 2024-07-23 13:09:46 +01:00
James Coglan b45d3501a4 resolved: tests for dns_question_is_equal() 2024-07-23 13:09:46 +01:00
James Coglan c530740e20 resolved: tests for dns_question_is_valid_for_query() 2024-07-23 13:09:46 +01:00
James Coglan 482bb31ce3 resolved: tests for dns_question_matches_cname_or_dname() 2024-07-23 13:09:46 +01:00
James Coglan 26dab08011 resolved: tests for dns_question_matches_rr() 2024-07-23 13:09:46 +01:00
James Coglan acd20dc9b9 resolved: tests for dns_question_new_service() 2024-07-23 13:09:46 +01:00
James Coglan eaf339f990 resolved: tests for dns_question_new_reverse() 2024-07-23 13:09:45 +01:00
James Coglan 7ce89229c7 resolved: tests for dns_question_new_address() 2024-07-23 13:09:45 +01:00
James Coglan f5c7bc2684 resolved: tests for dns_question_add() 2024-07-23 13:09:45 +01:00
Luca Boccassi a16061dd9b Merge pull request #33525 from neighbourhoodie/tests/dns-rr 2024-07-23 13:03:59 +01:00
James Coglan 60da78a4dc resolved: tests for dns_resource_record_source(), dns_resource_record_is_synthetic(), dns_resource_record_signer(), dns_resource_record_is_signer() 2024-07-23 12:44:35 +01:00
James Coglan 77018b2f47 resolved: tests for dns_resource_record_to_wire_format()
Note this function does not produce compressed domain names in the RDATA
when serializing the RR.
2024-07-23 12:44:35 +01:00