Files
systemd/src
Daan De Meyer ba4c69a0c6 core: Pass NULL error in dump_impl()
If mac_selinux_access_check() or bus_verify_bypass_dump_ratelimit_async()
fail, we goto "ratelimited" where we set a custom D-BUS error. In
"ratelimited", we call sd_bus_error_setf() which eventually hits an
assert_return(!bus_error_is_dirty()). Avoid hitting this assertion by
passing NULL as the error to mac_selinux_access_check() and
bus_verify_bypass_dump_ratelimit_async() since we will override the error
immediately anyway if either fails.

We modify both functions as well to allow passing a NULL error and fix
the argument name as well while we're at it.
2024-04-29 14:14:40 +02:00
..
2024-04-27 10:58:35 +02:00
2024-04-29 14:14:40 +02:00
2024-04-18 17:39:34 +02:00
2024-04-29 12:17:18 +02:00
2024-04-29 12:17:18 +02:00
2024-04-25 17:06:43 +02:00
2024-04-25 17:06:43 +02:00
2024-04-26 17:20:04 +01:00
2024-04-18 17:39:34 +02:00
2024-04-18 17:39:34 +02:00