Secure external tools execution

This commit is contained in:
Andrea Mazzoleni 2026-05-09 17:44:08 +02:00
parent 084ced8699
commit a33e048a4b
9 changed files with 571 additions and 80 deletions

View file

@ -328,7 +328,7 @@ void state_thermal_cooldown(struct snapraid_state* state)
sleep_time -= 30;
}
if (!global_interrupt) { /* don't wake-up if we are interrupting */
if (!os_global_interrupt()) { /* don't wake-up if we are interrupting */
log_tag("thermal:spinup\n");
/* spinup */