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

@ -257,6 +257,22 @@
*/
void os_default_conf(char* dst, size_t dst_size, const char* argv0);
/**
* Initialize signal handling.
*/
void os_signal_init();
/**
* Restore signal handlers after fork in child process.
* This resets signals to default handling.
*/
void os_signal_restore_after_fork(void);
/**
* Global variable to identify if Ctrl+C is pressed.
*/
int os_global_interrupt(void);
/**
* Get the os_tick counter value.
*
@ -290,11 +306,6 @@ void os_abort(void) __noreturn;
*/
void os_clear(void);
/**
* Global variable to identify if Ctrl+C is pressed.
*/
extern volatile int global_interrupt;
/****************************************************************************/
/* app */