zephyr/subsys
Jakub Rzeszutko b0a0febe58 shell: fix unsafe API calls and add configurable autoflush behavior
Fixes an issue where the shell API could block indefinitely when called
from threads other than the shell's processing thread, especially when
the transport (e.g. USB CDC ACM) was unavailable or inactive.

Replaced `k_mutex_lock` calls with an indefinite timeout (`K_FOREVER`)
by using a fixed timeout (`K_MSEC(SHELL_TX_MTX_TIMEOUT_MS)`) in shell
API functions to prevent indefinite blocking.

Link: https://github.com/zephyrproject-rtos/zephyr/issues/84274

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@verkada.com>
2025-01-23 13:45:20 +01:00
..
bindesc bindesc: Add support for reading binary descriptors 2024-10-11 13:20:49 -04:00
bluetooth Bluetooth: Host: Remove prompt from BT_ECC 2025-01-23 10:14:46 +01:00
canbus lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
console
dap kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
debug drivers: coredump: Place API into iterable section 2024-12-03 02:36:38 +01:00
demand_paging demand_paging: use ram backend by default 2025-01-09 15:50:37 +01:00
dfu dfu: flash_img: add flash_img_get_upload_slot() 2025-01-17 09:07:45 +01:00
disk disk: disk_access: changed mutex for a spinlock 2024-08-26 17:26:36 -04:00
dsp
emul emul: Support UART device emulation 2024-07-30 18:28:17 +01:00
fb drivers: display: Place API into iterable section 2024-12-02 22:05:41 +00:00
fs fs: allow enabling filesystems with FILE_SYSTEM_LIB_LINK 2025-01-21 15:13:05 +01:00
input input: prevent the caller from sleeping in sysworkq 2024-11-29 14:49:43 +01:00
ipc ipc: ipc_service: Null terminate RPMsg endpoint names 2025-01-22 10:40:27 +01:00
jwt mbedtls: select ENTROPY_GENERATOR when a driver is available 2024-12-19 17:53:37 +01:00
llext device: add CONFIG_LLEXT_EXPORT_DEV_IDS_BY_HASH option 2025-01-22 15:49:10 +01:00
logging logging: Add a log flush operation 2025-01-15 09:33:28 +01:00
lorawan lorawan: replace booleans by atomic flags 2024-11-16 14:03:36 -05:00
mctp mctp: mark MCTP as experimental 2025-01-15 22:58:09 +01:00
mem_mgmt
mgmt mgmt: mcumgr: grp: img_mgmt: Fix unused label warning 2025-01-21 11:11:51 +01:00
modbus modbus: initialize return variable. 2025-01-21 19:28:52 +01:00
modem drivers: modem: initialize variables to avoid warn 2024-11-19 10:04:58 -05:00
net net: http_server: fix URL matching with '?' character in resource 2025-01-22 13:44:01 +01:00
pm shell: use shell_device_get_binding 2024-12-18 15:32:10 +01:00
portability Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
profiling Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
random mbedtls: select ENTROPY_GENERATOR when a driver is available 2024-12-19 17:53:37 +01:00
retention
rtio rtio: Split the rx and tx buffer unions 2024-08-17 08:55:01 -04:00
sd sd: resend CMD0 before each CMD8 2024-08-27 15:14:23 -04:00
secure_storage secure_storage: its: store: settings: improve debug logging 2024-12-17 11:34:42 +00:00
sensing sensing: Fix static assert in get_sensor_by_dev() 2025-01-18 12:40:03 +01:00
settings settings: introduce priority for commit 2024-10-24 22:04:07 +01:00
shell shell: fix unsafe API calls and add configurable autoflush behavior 2025-01-23 13:45:20 +01:00
sip_svc everywhere: replace double words 2024-06-22 05:40:22 -04:00
stats
storage stream_flash: Enforce size to be explicitly present on init 2025-01-07 15:56:49 +01:00
task_wdt task_wdt: Kconfig: Increase TASK_WDT_HW_FALLBACK_DELAY range 2025-01-07 20:34:41 +01:00
testsuite logging: Add a log flush operation 2025-01-15 09:33:28 +01:00
timing
tracing tracing: k_pipe: Add tracing support for reworked k_pipe API 2025-01-17 19:43:44 +01:00
usb usbd: device_next: cdc: add option to enable short packet terminate 2025-01-23 00:12:24 +01:00
zbus zbus: assert when inside an ISR and time out is not zero 2025-01-21 19:30:20 +01:00
CMakeLists.txt mctp: Add mctp subsystem with uart binding 2025-01-14 22:55:41 +01:00
Kconfig mctp: Add mctp subsystem with uart binding 2025-01-14 22:55:41 +01:00