mirror of
https://github.com/systemd/systemd.git
synced 2026-08-04 23:20:32 +00:00
log: introduce a knob to make assert_return() critical
These can be used to check if we trigger assert_return() unexpectedly. Co-authored-by: Frantisek Sumsal <frantisek@sumsal.cz>
This commit is contained in:
@@ -331,6 +331,9 @@ void log_set_open_when_needed(bool b);
|
||||
* stderr, the console or kmsg */
|
||||
void log_set_prohibit_ipc(bool b);
|
||||
|
||||
void log_set_assert_return_is_critical(bool b);
|
||||
bool log_get_assert_return_is_critical(void) _pure_;
|
||||
|
||||
int log_dup_console(void);
|
||||
|
||||
int log_syntax_internal(
|
||||
|
||||
Reference in New Issue
Block a user