| Age | Commit message (Collapse) | Author | Files | Lines |
|
Tag the source files with SPDX-License-Identifier matching their
existing headers: GPL-2.0-only OR GPL-3.0-only for the daemon sources
("either version 2 or version 3") and LGPL-2.1-or-later for
src/utils.c and src/utils.h.
|
|
Publish device visibility and the attached notification under
device_list_mutex, then acquire client_list_mutex in the same order as device
removal.
Do not notify clients if preflight completes after the device has disappeared.
Assisted-by: OpenAI Codex
|
|
|
|
|
|
|
|
Using device_get_count() and device_get_list() separately can return different
device counts in case there are devices added to the list inbetween these two
function calls. To prevent this, device_get_list() will allocate the buffer by
itself.
|
|
idevice_event_subscribe() calls usbmuxd_subscribe() which will
start a thread waiting for device add/remove events. But this
implementation is not able to handle more than one "subscription".
However the preflight worker will start a thread for _each_ device
resulting in a really messed up situation if more than one device
is attached at the same time. This fix will use usbmuxd's internal
device_remove function calling a preflight callback to make this
implementation thread safe.
|
|
|
|
|
|
libusbmuxd has been split off and is now managed in a separate repository.
By the time of this commit, the repository is:
git clone http://git.sukimashita.com/libusbmuxd.git
|