utils: Move thread-safe strerror replacement to a separate file
For some utils _GNU_SOURCE might be needed but that conflicts with the signature of strerror_r(3).
This commit is contained in:
@@ -499,7 +499,7 @@ static bool register_hooks()
|
||||
char *whitelist[] = {
|
||||
/* backtraces, including own */
|
||||
"backtrace_create",
|
||||
"safe_strerror",
|
||||
"strerror_safe",
|
||||
/* pthread stuff */
|
||||
"pthread_create",
|
||||
"pthread_setspecific",
|
||||
|
||||
Reference in New Issue
Block a user