Systemd/src/libsystemd/sd-bus
Zbigniew Jędrzejewski-Szmek 42541a71a2 bus: make reference counting non-atomic
We had atomic counters, but all other operations were non-serialized. This
means that concurrent access to the bus object was only safe if _all_ threads
were doing read-only access. Even sending of messages from threads would not be
possible, because after sending of the message we usually want to remove it
from the send queue in the bus object, which would race. Let's just kill this.
2019-03-04 14:16:24 +01:00
..
bus-common-errors.c portabled: generate a more useful error when invalid image types are attempted to be attached 2018-10-08 18:49:45 +02:00
bus-common-errors.h portabled: generate a more useful error when invalid image types are attempted to be attached 2018-10-08 18:49:45 +02:00
bus-container.c sd-bus: port over to namespace_fork() 2018-11-13 10:49:18 +01:00
bus-container.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-control.c sd-bus: use memdup_suffix0() where appropriate 2018-11-30 12:02:15 +01:00
bus-control.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-convenience.c tree-wide: drop empty comments 2018-06-29 11:00:30 +09:00
bus-creds.c bus-creds: FOREACH_LINE excorcism 2018-10-18 16:23:45 +02:00
bus-creds.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-dump.c locale-util: prefix special glyph enum values with SPECIAL_GLYPH_ 2018-12-14 08:22:54 +01:00
bus-dump.h tree-wide: always declare bitflag enums the same way 2019-01-07 17:50:39 +01:00
bus-error.c sd-bus: use _variable_no_sanitize_address_ also for BUS_ERROR_MAP_ELF_REGISTER 2018-12-03 17:35:50 +01:00
bus-error.h sd-bus: use _variable_no_sanitize_address_ also for BUS_ERROR_MAP_ELF_REGISTER 2018-12-03 17:35:50 +01:00
bus-gvariant.c tree-wide: drop empty comments 2018-06-29 11:00:30 +09:00
bus-gvariant.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-internal.c Refuse dbus message paths longer than BUS_PATH_SIZE_MAX limit. 2019-02-18 20:07:45 +01:00
bus-internal.h bus: make reference counting non-atomic 2019-03-04 14:16:24 +01:00
bus-introspect.c sd-bus: add methods and signals parameter names. Fixes: #1564 2019-02-26 12:55:02 +01:00
bus-introspect.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-kernel.c tree-wide: drop empty comments 2018-06-29 11:00:30 +09:00
bus-kernel.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-match.c Remove 'inline' attributes from static functions in .c files (#11426) 2019-01-15 08:12:28 +01:00
bus-match.h tree-wide: remove various unused functions 2018-12-02 13:35:34 +09:00
bus-message.c bus-message: introduce two kinds of references to bus messages 2019-03-01 15:37:39 +01:00
bus-message.h bus-message: introduce two kinds of references to bus messages 2019-03-01 15:37:39 +01:00
bus-objects.c Merge pull request #11357 from GiacintoCifelli/dbus_labels 2019-02-26 17:22:04 +01:00
bus-objects.h sd-bus: add methods and signals parameter names. Fixes: #1564 2019-02-26 12:55:02 +01:00
bus-protocol.h tree-wide: always declare bitflag enums the same way 2019-01-07 17:50:39 +01:00
bus-signature.c bus-message: avoid an infinite loop on empty structures 2018-10-02 11:53:20 +02:00
bus-signature.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-slot.c sd-bus: add methods and signals parameter names. Fixes: #1564 2019-02-26 12:55:02 +01:00
bus-slot.h sd-bus: make bus_slot_disconnect() also unref the slot object 2018-07-18 20:54:19 +02:00
bus-socket.c sd-bus: use "queue" message references for managing r/w message queues in connection objects 2019-03-01 15:37:39 +01:00
bus-socket.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-track.c sd-bus: introduce track_item_hash_ops and use it 2018-12-02 12:18:49 +01:00
bus-track.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-type.c tree-wide: remove various unused functions 2018-12-02 13:35:34 +09:00
bus-type.h tree-wide: remove various unused functions 2018-12-02 13:35:34 +09:00
GVARIANT-SERIALIZATION sd-bus: drop kdbus-related docs (#5533) 2017-03-07 07:51:35 +01:00
sd-bus.c bus: make reference counting non-atomic 2019-03-04 14:16:24 +01:00
test-bus-address.c tests: use the test helpers in more places 2019-03-04 14:15:38 +01:00
test-bus-benchmark.c util: drop missing.h from socket-util.h 2018-12-06 13:31:16 +01:00
test-bus-chat.c tree-wide: add whitespace between type and variable name 2018-12-04 09:29:54 +01:00
test-bus-cleanup.c bus: make reference counting non-atomic 2019-03-04 14:16:24 +01:00
test-bus-creds.c tests: use a helper function to parse environment and open logging 2018-09-14 09:29:57 +02:00
test-bus-error.c sd-bus,static-destruct: clean up how we do our ELF section magic 2018-12-03 13:28:26 +01:00
test-bus-gvariant.c test-bus-gvariant: turn on debug output 2018-10-02 11:53:20 +02:00
test-bus-introspect.c tests: use the test helpers in more places 2019-03-04 14:15:38 +01:00
test-bus-marshal.c tree-wide: use new macro HAS_FEATURE_ADDRESS_SANITIZER everywhere 2018-12-03 17:38:50 +01:00
test-bus-match.c test: try system bus if user bus cannot be opened 2018-10-01 10:15:54 +02:00
test-bus-objects.c strv: wrap strv_new() in a macro so that NULL sentinel is implicit 2018-10-31 18:00:52 +01:00
test-bus-queue-ref-cycle.c tests: use the test helpers in more places 2019-03-04 14:15:38 +01:00
test-bus-server.c tree-wide: shorten error logging a bit 2018-08-07 10:14:33 +09:00
test-bus-signature.c bus-message: avoid an infinite loop on empty structures 2018-10-02 11:53:20 +02:00
test-bus-track.c test: try system bus if user bus cannot be opened 2018-10-01 10:15:54 +02:00
test-bus-vtable-cc.cc tests,meson: add test-bus-vtable, compiled as C and C++ 2017-05-13 15:50:44 -04:00
test-bus-vtable.c sd-bus: add methods and signals parameter names. Fixes: #1564 2019-02-26 12:55:02 +01:00
test-bus-watch-bind.c tests: use the test helpers in more places 2019-03-04 14:15:38 +01:00