summaryrefslogtreecommitdiffstats
path: root/man/journal-iterate-wait.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-07-25basic/log: do not treat all negative errnos as syntheticMike Yuan2-8/+11
Currently, IS_SYNTHETIC_ERRNO() evaluates to true for all negative errnos, because of the two's-complement negative value representation. Subsequently, ERRNO= is not logged for most of our own code. Let's fix this, by formatting all synthetic errnos as positive. Then, treat all negative values as non-synthetic. While at it, mark the evaluation order explicitly, and remove unneeded comment. Fixes #33800
2024-07-24analyze: capability: add support for decoding capability masksIvan Shapovalov5-13/+109
This adds support in `systemd-analyze capability` for decoding capability masks (sets), e.g.: ```console $ systemd-analyze capability --mask 0000000000003c00 NAME NUMBER cap_net_bind_service 10 cap_net_broadcast 11 cap_net_admin 12 cap_net_raw 13 ``` This is intended as a convenience tool for pretty-printing capability values as found in e.g. `/proc/$PID/status`.
2024-07-24mkosi: update debian commit referenceLuca Boccassi1-1/+1
* c7138e0b87 Configure default DNS servers for upstream CI builds * bc5d1afe1e Drop out-of-tree localed patch and use D-Bus policy instead * b5f8ababde autopkgtest: set Release= in mkosi.local.conf to distinguish testing vs unstable * 323afafd80 autopkgtest: add allow-stderr to timedated test * 0291f361e3 Install valrinkctl zsh completion file * f40b9eba02 d/t/control: add Depends: lib{systemd,udev}-dev for upstream * 3def595de3 d/t/upstream: ensure correct ubuntu codename is used * 531bb6817e d/t/boot-and-services: fix a couple python sytax warnings * 963ac13b7d d/t/boot-and-services: skip test_tmp_cleanup if tmp.mount is overridden
2024-07-24hwdb: add axis range corrections for the Lenovo Thinkpad E16MkKvcs1-0/+7
2024-07-24add udev rules for trezor hw wallet devicesvdovhanych4-0/+30
2024-07-24resolved: report svc params as a json objectRonan Pigott2-16/+13
This representation is significantly more useful. The previous array format omitted the svc param key, which is not very useful.
2024-07-23core-varlink: switch to PidRef + manager_get_unit_by_pidref()Mike Yuan1-4/+6
2024-07-23core-varlink: do not log about ENOENT if oomd isn't availableMike Yuan1-6/+7
This is simply too noisy, since every invocation of manager_varlink_send_managed_oom_update() would try to connect to oomd if not already.
2024-07-23core-varlink: add missing runtime_scope check for manager_varlink_init_user()Mike Yuan1-0/+3
2024-07-23core: reliably check if varlink socket has been deserializedMike Yuan3-23/+31
Follow-up for 6906c028e83b77b35eaaf87b27d0fe5c6e1984b7 The mentioned commit uses access() to check if varlink socket already exists in the filesystem, but that isn't sufficient. > Varlink sockets are not serialized until v252, so upgrading from > v251 or older means we will not listen anymore on the varlink sockets. > > See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074789 > for more details as this was found when updating from Debian Bullseye to a new version. After this commit, the set up of varlink_server is effectively split into two steps. manager_varlink_init_system(), which is called after deserialization, would no longer skip listening even if Manager.varlink_server is in place, but actually check if we're listening on desired sockets. Then, manager_deserialize() can be switched back to using manager_setup_varlink_server(). Alternative to #33817 Co-authored-by: Luca Boccassi <bluca@debian.org>
2024-07-23mount-util: reorder params for mount_in_userspace, clean up loggingMike Yuan2-33/+66
2024-07-23mount-util: do not unnecessarily acquire mountns fd twiceMike Yuan1-7/+3
This also enables us to use pidref_namespace_open().
2024-07-23mount-util: clean up mount_exchange_graceful a bit, don't duplicate ↵Mike Yuan1-16/+8
move_mount when fallback
2024-07-23machine-dbus: use pidref_namespace_open() where appropriateMike Yuan1-18/+18
2024-07-23namespace-util: introduce pidref_namespace_open()Mike Yuan2-8/+38
2024-07-23namespace-util: explicitly specify namespace_info[]'s sizeMike Yuan1-1/+1
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-23path-util: simplify final path for find_executable()Mike Yuan1-0/+2
Currently, systemd-run ./test.sh would set Description= to $PWD/./test.sh. This is quite ugly.
2024-07-23path-util: trivial cleanup for find_executable_full()Mike Yuan2-28/+33
2024-07-23core: clean up Set/LoadCredential= parsersMike Yuan6-158/+145
Make logging consistent, plus introduce helper function for adding creds to ExecContext.set_credential too.
2024-07-23mkosi: Bump device timeout even moreDaan De Meyer1-1/+1
I still manage to hit it in some cases so let's bump again.
2024-07-23resolved: tests for dns_synthesize_family() and dns_synthesize_protocol()James Coglan1-0/+20
2024-07-23resolved: tests for dns_synthesize_answer()James Coglan2-0/+296
2024-07-23sd-dhcp-server: persist hardware addresses in leasesMary Strodl1-1/+27
2024-07-23resolved: tests for dns_query_string()James Coglan1-0/+71
2024-07-23resolved: tests for dns_query_go(); multiple search domains for ↵James Coglan1-14/+16
dns_query_candidate_notify()
2024-07-23resolved: refactor environment management in dns_query_go() testsJames Coglan1-47/+79
2024-07-23resolved: tests for dns_query_go() when configured with search domainsJames Coglan1-2/+21
2024-07-23resolved: tests for dns_query_go() when no scopes are availableJames Coglan1-10/+28
2024-07-23resolved: tests for dns_query_go() using a bypass queryJames Coglan1-8/+30
2024-07-23resolved: tests for dns_query_go() -- with and without network linkJames Coglan1-0/+102
2024-07-23resolved: tests for dns_query_process_cname_one(); no match, DNAME, utf-8 ↵James Coglan1-0/+183
handling
2024-07-23resolved: tests for dns_query_process_cname_many()James Coglan1-6/+97
2024-07-23resolved: tests for common usage of dns_query_process_cname_one()James Coglan1-0/+139
2024-07-23resolved: tests for dns_query_make_auxiliary()James Coglan1-0/+35
2024-07-23resolved: tests for dns_query_new()James Coglan2-0/+180
2024-07-23resolved: tests for dns_cache_lookup() clamping the TTLJames Coglan1-0/+37
2024-07-23resolved: tests for dns_cache_put() for NXDOMAIN with no SOAJames Coglan1-0/+12
2024-07-23resolved: test that pseudo classes and types are not cachedJames Coglan1-0/+88
2024-07-23resolves: tests for dns_cache_prune()James Coglan1-0/+38
2024-07-23resolved: tests for dns_cache_check_conflicts()James Coglan1-0/+55
2024-07-23resolved: tests for dns_cache_export_shared_to_packet()James Coglan1-0/+136
2024-07-23resolved: tests for dns_cache_lookup(); mDNS and multiple matching entriesJames Coglan1-0/+204
2024-07-23resolved: tests for dns_cache_lookup() returning the most recent inputJames Coglan1-0/+95
2024-07-23resolved: tests for dns_cache_dump()James Coglan1-0/+90
2024-07-23resolved: test cache missesJames Coglan1-0/+53
2024-07-23resolved: tests for dns_cache_lookup() for NXDOMAINJames Coglan1-3/+51
2024-07-23resolved: first test for dns_cache_lookup()James Coglan1-0/+41
2024-07-23resolved: tests for dns_cache_dump_to_json()James Coglan1-0/+60
2024-07-23resolved: check that adding an expired response removes cache entryJames Coglan1-0/+21
2024-07-23resolved: tests for dns_cache_put(); CNAME success and name errorJames Coglan1-0/+45