Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-12-04udebug: fix file descriptor initialization for __udebug_buf_mapFelix Fietkau
Pass the fd to __udebug_buf_map, set buf->fd only if mapping worked Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-12-04udebug: add mips specific quirkFelix Fietkau
On some MIPS systems, mmap addresses need to be aligned to multiple pages, in order to avoid issues with data cache aliases. Add an arch specific quirk to allocate memory in 32 KiB chunks and align addresses returned by mmap. Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-12-04udebug: add more checks for uninitialized buffersFelix Fietkau
Simplifies and fixes error handling Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-11-30udebug: wait for response after buffer add/removeFelix Fietkau
Fixes a race condition where freeing a buffer and immediately re-allocating and adding it would fail to pass the file descriptor to udebugd Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-11-29udebug: add functions for manipulating entry lengthFelix Fietkau
Can be used to reserve worst case length using udebug_entry_append, then setting the final length using udebug_entry_set_length Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-11-27udebug: add udebug library codeFelix Fietkau
Copied and adapted from udebug.git Signed-off-by: Felix Fietkau <nbd@nbd.name>